File: mrtg.conf.example

package info (click to toggle)
pmacct 1.7.8-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,904 kB
  • sloc: ansic: 110,430; sh: 4,794; cpp: 4,375; python: 3,632; makefile: 525
file content (24 lines) | stat: -rw-r--r-- 883 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# This is a trivial and basic config for use pmacct to export statistics
# to mrtg. If you need more informations of the few commands shown below
# refer to the online referenge guide at the official MRTG web page:
# http://people.ee.ethz.ch/~oetiker/webtools/mrtg/reference.html

# Some general definition
WorkDir: /var/www/html/monitor
Options[_]: growright, bits

# Target specific definitions
Target[ezwf]: `./mrtg-example.sh`
SetEnv[ezwf]: MRTG_INT_IP="10.0.0.1" MRTG_INT_DESCR="yourip.yourdomain.com"
MaxBytes[ezwf]: 1250000
LegendI[ezwf]: 
Title[ezwf]: yourip.yourdomain.com 
PageTop[ezwf]: <H1>yourip.yourdomain.com</H1>
 <TABLE>
   <TR><TD>System:</TD>	    <TD>yourip.yourdomain.com in </TD></TR>
   <TR><TD>Maintainer:</TD> <TD></TD></TR>
   <TR><TD>Ip:</TD>	    <TD>10.0.0.1 (yourip.yourdomain.com)</TD></TR>
 </TABLE>

# ...
# Put here more targets and their definitions