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

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -