mrtg.flux.examples.cfg 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. # $Id: mrtg.flux.examples.cfg 672 2006-09-10 12:29:05Z b4rt $
  2. # ------------------------------------------------------------------------------
  3. # target : loadavg
  4. # ------------------------------------------------------------------------------
  5. # gather data for this target
  6. # CHANGEME
  7. Target[loadavg]: `/usr/bin/mrtg-load -m 1000`
  8. # MaxBytes
  9. MaxBytes[loadavg]: 50000
  10. # 1 kilo def
  11. kilo[loadavg]: 1000
  12. # title
  13. Title[loadavg]: loadavg
  14. # title in the graph
  15. PNGTitle[loadavg]: loadavg
  16. # options.
  17. Options[loadavg]: gauge,integer,growright,nobanner,nopercent,pngdate,transparent
  18. # peaks
  19. WithPeak[loadavg]: ym
  20. # legend
  21. YLegend[loadavg]: loadavg
  22. ShortLegend[loadavg]:  
  23. # ....
  24. # ------------------------------------------------------------------------------
  25. # target : apachestats
  26. # ------------------------------------------------------------------------------
  27. # gather data for this target
  28. # CHANGEME
  29. Target[apachestats]: `/usr/bin/mrtg-apache -m 100 localhost`
  30. # MaxBytes
  31. MaxBytes[apachestats]: 20000
  32. # 1 kilo def
  33. kilo[apachestats]: 1000
  34. # title
  35. Title[apachestats]: apachestats
  36. # title in the graph
  37. PNGTitle[apachestats]: apachestats
  38. # options.
  39. Options[apachestats]: gauge,integer,growright,nobanner,nopercent,pngdate,transparent
  40. # peaks
  41. WithPeak[apachestats]: ym
  42. # legend
  43. YLegend[apachestats]: loadavg
  44. ShortLegend[apachestats]:  
  45. # ....
  46. # ------------------------------------------------------------------------------
  47. # target : sensors_temperature
  48. # ------------------------------------------------------------------------------
  49. # gather data for this target
  50. # CHANGEME
  51. Target[sensors_temperature]: `mrtg-sensors -m 800 dummy dummy w83781d-i2c-0-2d Temp`
  52. # MaxBytes
  53. MaxBytes[sensors_temperature]: 10000
  54. # 1 kilo def
  55. kilo[sensors_temperature]: 1000
  56. # title
  57. Title[sensors_temperature]: sensors_temperature
  58. # title in the graph
  59. PNGTitle[sensors_temperature]: temperature
  60. # options.
  61. Options[sensors_temperature]: gauge,integer,growright,nobanner,nopercent,pngdate,transparent,bits
  62. # peaks
  63. WithPeak[sensors_temperature]: ym
  64. # legend
  65. YLegend[sensors_temperature]: temperature
  66. ShortLegend[sensors_temperature]:  
  67. # ....
  68. # ------------------------------------------------------------------------------
  69. # target : sensors_fans
  70. # ------------------------------------------------------------------------------
  71. # gather data for this target
  72. # CHANGEME
  73. Target[sensors_fans]: `mrtg-sensors -m 400 w83781d-i2c-0-2d FanCPU1 w83781d-i2c-0-2d FanCPU2`
  74. # MaxBytes
  75. MaxBytes[sensors_fans]: 100000
  76. # 1 kilo def
  77. kilo[sensors_fans]: 1000
  78. # title
  79. Title[sensors_fans]: sensors_fans
  80. # title in the graph
  81. PNGTitle[sensors_fans]: fans
  82. # options.
  83. Options[sensors_fans]: gauge,integer,growright,nobanner,nopercent,pngdate,transparent,bits
  84. # peaks
  85. WithPeak[sensors_fans]: ym
  86. # legend
  87. YLegend[sensors_fans]: fans
  88. ShortLegend[sensors_fans]:  
  89. # ....
  90. # ------------------------------------------------------------------------------
  91. # target : disk_usage
  92. # ------------------------------------------------------------------------------
  93. # gather data for this target
  94. # CHANGEME
  95. Target[disk_usage]: `/usr/local/bin/foo.bar /usr/local/torrentflux`
  96. # flux torrent dir capacity
  97. MaxBytes[disk_usage]: 100000000000
  98. # 1024 bytes are 1 kilo
  99. kilo[disk_usage]: 1024
  100. # title
  101. Title[disk_usage]: disk_usage
  102. # title in the graph
  103. PNGTitle[disk_usage]: disk_usage
  104. # options.
  105. Options[disk_usage]: gauge,growright,nobanner,pngdate,transparent
  106. # peaks
  107. WithPeak[disk_usage]: ym
  108. # legend
  109. YLegend[disk_usage]: Disk-Usage
  110. ShortLegend[disk_usage]:  
  111. # ....