/usr/share/doc/pmacct/examples/mrtg.conf.example is in pmacct 1.7.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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
|