[mrtg] Syntax Change? Unknown SNMP var?

Brian A. Seklecki lavalamp at spiritual-machines.org
Fri Mar 3 03:42:51 MET 2006


Did something change between mrtg-2.12.2,1 and mrtg-2.13.2,1  that's not 
mentioned in:

http://people.ee.ethz.ch/~oetiker/webtools/mrtg/pub/CHANGES


Suddenly, the following syntax is invalid:

Title[skyhopper.fs.root]: Disk Usage /
Target[skyhopper.fs.root]: 
hrStorageUsed.5&hrStorageSize.5:COMSTRING at skyhopper.pgh.priv.collaborativefusion.com 
* 2
kMG[skyhopper.fs.root]: k,M,G,T
Kilo[skyhopper.fs.root]: 1024
Options[skyhopper.fs.root]: gauge,nopercent,dorelpercent,growright
PageTop[skyhopper.fs.root]: <H1>skyhopper - Disk Usage for / (root -- 
slash) </H1>
MaxBytes[skyhopper.fs.root]: 1013000

It returns:

Unknown SNMP var hrStorageUsed.5
  at /usr/local/bin/mrtg line 1980
Unknown SNMP var hrStorageSize.5
  at /usr/local/bin/mrtg line 1980
WARNING: Expected a number but got '2 days, 9:48:08'
WARNING: Expected a number but got 'ravage'


If I tcpdump(8), I don't see any GetRequest() for 
HOST-RESOURCES-MIB::hrStorage{Size,Used}.*

Here are the details on the boxes:

working# pkg_info |egrep -i "mrtg|snmp"
mrtg-2.12.2,1       The multi-router traffic grapher
net-snmp-5.2.1.2    An extendable SNMP implementation
p5-Net-SNMP-5.2.0   A perl module for SNMP... Net::SNMP
p5-SNMP_Session-1.07 A perl5 module providing rudimentary access to SNMPv1

Broken# pkg_info |egrep -i "mrtg|snmp"
mrtg-2.13.2,1       The multi-router traffic grapher
net-snmp-5.2.2      An extendable SNMP implementation
p5-Net-SNMP-5.2.0   A perl module for SNMP... Net::SNMP
p5-SNMP_Session-1.08 A perl5 module providing rudimentary access to SNMPv1

Both have perl-5.8.8.

Both have: LoadMIBs: 
/usr/local/share/snmp/mibs/UCD-SNMP-MIB.txt,/usr/local/share/snmp/mibs/TCP-MIB.txt,/usr/local/share/snmp/mibs/HOST-RESOURCES-MIB.txt,/usr/local/share/snmp/mibs/DISMAN-EVENT-MIB.txt

Thoughts?
l8*
 	-lava

x.25 - minix - bitnet - plan9 - 110 bps - ASR 33 - base8

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the mrtg mailing list