Linux network monitoring and mrtg..

Bulldog13

Golden Member
Jul 18, 2002
1,655
1
81
I am working with the latest debian and trying to get the network monitoring app mrtg to work. I have a basic home network setup. 192.168.1.1 is the linksys router and I have 3 pcs at 192.168.1.100-102.

I am following the guide at this webpage. http://www.aboutdebian.com/monitor.htm

When I run the program - trying to get a bandwidth graph on the router I get this error message.

debian:~# mrtg
WARNING: Could not match host:'public@192.168.1.1' ref:'Ip' key:'192.168.1.1'
ERROR: Target[192.168.1.1][_IN_] ' $target->[0]{$mode} ' did not eval into defined data
ERROR: Target[192.168.1.1][_OUT_] ' $target->[0]{$mode} ' did not eval into defined data

My config file is :

# Global Settings

RunAsDaemon: no
EnableIPv6: no
WorkDir: /var/www/mrtg
Options[_]: bits,growright

# Targets

Target[192.168.1.1]: /192.168.1.1:public@192.168.1.1
MaxBytes[192.168.1.1]: 1250000
Title[192.168.1.1]: Corp to Engineering Ethernet - 192.168.1.1
PageTop[192.168.1.1]: <h1>Corp to Engineering Ethernet - 192.168.1.1</h1>
Unscaled[192.168.1.1]: ymwd

Ideas ?
 

Bulldog13

Golden Member
Jul 18, 2002
1,655
1
81
Can a friendly mod move this to the networking forum so I don't have to cross post ?
 

nweaver

Diamond Member
Jan 21, 2001
6,813
1
0
sounds like you are having SNMP issues. Run an snmp walking program to ensure it's functional. you may need to tweak the MRTG stuff to ask for the right MIB's. This device does support snmp, right?