ubuntu 12.04 - MRTG: ERROR: did not find any matching data in cfg file -


i have vps server ubuntu 12.04 lts , i'm installing mrtg. used install snmpd apach2 mrtg. made cfg file vytv cfgmaker , edited it:

runasdaemon: yes interval: 5 logdir: /var/log/ enableipv6: no 

and last want make index file indexmaker index.html error: error: did not find matching data in cfg file

my command: indexmaker --output=/var/www/mrtg/index.html /etc/mrtg/mrtg.cfg

i found http://piserv.nl/blog/index.php/mrtg-on-the-raspberry-pi/ . there tutorial edit snmpd makes no change.

paste mrtg.cfg file here. happens when mrtg can't find line create index it. means lines commented out or start blank space. make sure blocks regarding network interface definition not commented out , don't have space @ beginning of line.

target[127.0.0.1_1]: 1:public@127.0.0.1: setenv[127.0.0.1_1]: mrtg_int_ip="127.0.0.1" mrtg_int_descr="lo" maxbytes[127.0.0.1_1]: 1250000 title[127.0.0.1_1]: traffic analysis local loopback pagetop[127.0.0.1_1]: <h1>traffic analysis local loopback</h1> 

Comments

Popular posts from this blog

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -