1
0

mrtg.flux.cfg 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. # $Id: mrtg.flux.cfg 2488 2007-02-03 17:26:52Z b4rt $
  2. # set all lines after "CHANGEME" (get a list with : "grep -A 1 CHANGEME this")
  3. # ------------------------------------------------------------------------------
  4. # paths
  5. # ------------------------------------------------------------------------------
  6. # you _must_ set all 3 directory-paths. watch for permissions (!).
  7. # CHANGEME
  8. Logdir: /usr/local/torrentflux/.mrtg/
  9. # CHANGEME
  10. HtmlDir: /usr/local/torrentflux/.mrtg/
  11. # CHANGEME
  12. Imagedir: /usr/local/torrentflux/.mrtg/
  13. # ------------------------------------------------------------------------------
  14. # defaults
  15. # ------------------------------------------------------------------------------
  16. # generic "output-styling"
  17. Colours[_]: GREEN#00eb0c,BLUE#1000ff,DARK GREEN#006600,VIOLET#ff00ff
  18. Background[_]: #a0a0a0a
  19. # _dont_ change this when using inside tfb
  20. PageTop[_]: _CONTENT_BEGIN_
  21. PageFoot[_]: _CONTENT_END_
  22. Extension[_]: inc
  23. # ------------------------------------------------------------------------------
  24. # target : traffic
  25. # ------------------------------------------------------------------------------
  26. # invoke fluxpoller.pl to gather data for this target
  27. # CHANGEME
  28. Target[traffic]: `/usr/local/bin/fluxpoller.pl traffic /usr/local/torrentflux mrtg`
  29. # flux line speed
  30. # CHANGEME
  31. MaxBytes[traffic]: 1000000
  32. # 1024 bytes are 1 kilo
  33. kilo[traffic]: 1024
  34. # title
  35. Title[traffic]: traffic
  36. # title in the graph
  37. PNGTitle[traffic]: traffic
  38. # options. you _must_ use gauge when using with fluxpoller.pl !)
  39. Options[traffic]: gauge,growright,nobanner,nopercent,pngdate,transparent
  40. # peaks
  41. WithPeak[traffic]: ym
  42. # ------------------------------------------------------------------------------
  43. # target : connections
  44. # ------------------------------------------------------------------------------
  45. # invoke fluxpoller.pl to gather data for this target
  46. # CHANGEME
  47. Target[connections]: `/usr/local/bin/fluxpoller.pl connections mrtg`
  48. # flux max connections
  49. # CHANGEME
  50. MaxBytes[connections]: 500
  51. # 1000 cons are 1 kilo ;)
  52. kilo[connections]: 1000
  53. # title
  54. Title[connections]: connections
  55. # title in the graph
  56. PNGTitle[connections]: connections
  57. # options. you _must_ use "gauge" when using with fluxpoller.pl !
  58. # "noo" is required in connections-case with fluxpoller.pl
  59. # "integer" should be used
  60. Options[connections]: gauge,noo,integer,growright,nobanner,nopercent,pngdate,transparent
  61. # peaks
  62. WithPeak[connections]: ym
  63. # legend
  64. YLegend[connections]: Connections
  65. ShortLegend[connections]:  
  66. Legend1[connections]: Connections
  67. Legend2[connections]:  
  68. Legend3[connections]: Maximal 5 Minute Connections
  69. Legend4[connections]:  
  70. LegendI[connections]: cons:
  71. LegendO[connections]:  
  72. # ------------------------------------------------------------------------------
  73. # target : LoadAVG
  74. # ------------------------------------------------------------------------------
  75. # CHANGEME
  76. Target[loadavg]: `/usr/local/bin/fluxpoller.pl loadavg mrtg`
  77. #title
  78. Title[loadavg]: LoadAVG
  79. # title in the graph
  80. PNGTitle[loadavg]: loadAVG
  81. #options
  82. Options[loadavg]: gauge,integer,growright,nobanner,nopercent,pngdate,transparent
  83. #page title HTML
  84. PageTop[loadavg]: <h1>One and Five minute load averages</h1>
  85. # MaxBytes
  86. MaxBytes[loadavg]: 50000
  87. # 1 kilo def
  88. kilo[loadavg]: 1000
  89. # peaks
  90. WithPeak[loadavg]: ym
  91. # legends
  92. YLegend[loadavg]: LoadAVG
  93. ShortLegend[loadavg]: &nbsp;
  94. LegendI[loadavg]: &nbsp;1min load avg
  95. LegendO[loadavg]: &nbsp;5min load avg
  96. Legend1[loadavg]: 1min load avg
  97. Legend2[loadavg]: 5min load avg