Advertisement
ajcorrea

mrtg.cfg

Aug 4th, 2013
206
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ###############################################################################
  2. # Multi Router Traffic Grapher -- Configuration File
  3. ###############################################################################
  4. WorkDir: /usr/local/apache/htdocs/mrtg
  5. RunAsDaemon:No
  6. Interval:5
  7. Options[_]: nopercent,growright,noinfo,gauge
  8. MaxBytes[_]: 20000000000
  9. ###############################################################################
  10. #
  11. # HTML formatting stuff
  12. #
  13. ###############################################################################
  14. PageTop[^]: <table cellspacing="0" cellpadding="10" border="0" width="100%" align="center"><tr><td width="185" valign="top" class="small"><table cellspacing="0" cellpadding="5" border="0" width="100%"><tr><td class="tableh">Network</td></tr><tr><td class="tablesh"><a href="index.html">- Traffic (eth0)</a><br><a href="ping_www.facebook.com.html">- Ping facebook.com</a><br><a href="ping_www.google.com.html">- Ping google.com</a><br><a href="ping_www-uol-com-br.html">- Ping uol.com.br</a></td></tr><tr><td>&nbsp;</td></tr></table></td><td>
  15.  
  16. PageFoot[^]: </td></tr></table>
  17.  
  18. AddHead[^]: <style><!-- body { text-align: center; background-color: #CCCCCC; font-size: 10pt; font-family: arial, verdana; } th, td { font-size: 10pt; font-family: arial, verdana; } h3 { font-size: 12pt; font-family: arial, verdana; font-weight: bold; } .small { font-size: 8pt; font-family: arial, verdana; } .tableh { font-size: 10pt; font-family: arial, verdana; color: white; background-color: black; font-weight: bold; } .tablesh { font-size: 10pt; font-family: arial, verdana; color: black; background-color: #999999; font-weight: normal; } a:visited, a:active, a:link { text-decoration: none; font-weight: normal; font-family: arial, verdana; color: black; } a:hover { font-weight: normal; font-family: arial, verdana; background-color: #999999; color: white; } --></style>
  19.  
  20. ###############################################################################
  21. #
  22. # Stats
  23. #
  24. ###############################################################################
  25. #----------------------------
  26. # Network
  27. #----------------------------
  28. Options[index]: nopercent,growright,noinfo,bits
  29. Target[index]: `/etc/mrtg/system network eth0`
  30. Title[index]: Traffic Analysis for eth0
  31. PageTop[index]: <h3>Traffic Analysis for eth0</h3>
  32.  
  33.  
  34. Target[ping_www.google.com]: `/etc/mrtg/ping.pl www.google.com`
  35. Title[ping_www.google.com]: Ping www.google.com
  36. PageTop[ping_www.google.com]: <h1>Ping www.google.com</h1>
  37. LegendO[ping_www.google.com]:
  38. Options[ping_www.google.com]:gauge,noinfo,growright
  39. XSize[ping_www.google.com]:500
  40. YSize[ping_www.google.com]:200
  41. WithPeak[ping_www.google.com]:dwmy
  42. YLegend[ping_www.google.com]:Ping Time
  43. ShortLegend[ping_www.google.com]: ms
  44.  
  45. Target[ping_www.facebook.com]: `perl /etc/mrtg/ping.pl www.facebook.com`
  46. Title[ping_www.facebook.com]: Ping www.facebook.com
  47. PageTop[ping_www.facebook.com]: <h1>Ping www.facebook.com</h1>
  48. LegendO[ping_www.facebook.com]:
  49. Options[ping_www.facebook.com]:gauge,noinfo,growright
  50. XSize[ping_www.facebook.com]:500
  51. YSize[ping_www.facebook.com]:200
  52. WithPeak[ping_www.facebook.com]:dwmy
  53. YLegend[ping_www.facebook.com]:Ping Time
  54. ShortLegend[ping_www.facebook.com]: ms
  55.  
  56. Target[ping_www-uol-com-br]: `perl /etc/mrtg/ping.pl www.uol.com.br`
  57. Title[ping_www-uol-com-br]: Ping www.uol.com.br
  58. PageTop[ping_www-uol-com-br]: <h1>Ping www.uol.com.br</h1>
  59. LegendO[ping_www-uol-com-br]:
  60. Options[ping_www-uol-com-br]:gauge,noinfo,growright
  61. XSize[ping_www-uol-com-br]:500
  62. YSize[ping_www-uol-com-br]:200
  63. WithPeak[ping_www-uol-com-br]:dwmy
  64. YLegend[ping_www-uol-com-br]:Ping Time
  65. ShortLegend[ping_www-uol-com-br]: ms
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement