[mrtg] one oid on one box failing rrd, 14allcgi
Don Radick
dogslobber2000 at yahoo.com
Tue Dec 23 17:10:04 MET 2003
Hi all,
I've been using MRTG to graph our Nokia IPSO appliances, and all is
well
for most of the oids. Since I've switched to RRD and 14all.cgi, one
oid in particular keeps failing.
Environment:
Redhat 9.0 with patches
MRTG 2.10.5
PERL 5.8.0
RRD 1.0.42
14all.cgi 0.3
I don't know if the problem is in mrtg, rrd, or 14all.cgi. Here's what
I see in my Apache log file:
[Tue Dec 23 10:21:48 2003] [error] [client x.x.x.x] Use of
uninitialized value in abs at /var/www/mrtg/cgi-bin/14all.cgi line
242., referer: http://foo.foo.com/comm-1.html
[Tue Dec 23 10:21:48 2003] [error] [client x.x.x.x] Use of
uninitialized value in abs at /var/www/mrtg/cgi-bin/14all.cgi line
242., referer: http://foo.foo.com/comm-11.html
[Tue Dec 23 10:21:48 2003] [error] [client x.x.x.x] Illegal modulus
zero at /var/www/mrtg/cgi-bin/14all.cgi line 242., referer:
http://foo.foo.com/comm-1.html
[Tue Dec 23 10:21:48 2003] [error] [client x.x.x.x] Premature end of
script headers:
Other identical boxes can run this oid, and work fine with mrtg, rrd,
14allcgi.
Here's a net-snmp query for the CPU oid:
[donno at IRIMI apps]$ ./snmpget -cfoo x.x.x.x 1.3.6.1.2.1.25.3.3.1.2.1
SNMPv2-SMI::mib-2.25.3.3.1.2.1 = INTEGER: 44
and here is the base RRD "fetch"
[donno at IRIMI mrtg]$ /usr/sbin/rrdtool fetch x.x.x.x_9.rrd AVERAGE
--start 1072184822 --end now
ds0 ds1
1072184700: 2.7180000000e+01 1.0000000000e+02
1072185000: 2.6380000000e+01 1.0000000000e+02
1072185300: 2.7613333333e+01 1.0000000000e+02
1072185600: 2.8213333333e+01 1.0000000000e+02
1072185900: 3.1170000000e+01 1.0000000000e+02
1072186200: 4.1243333333e+01 1.0000000000e+02
So it looks like the net-snmp query for the OID is good, and the RRD is
good.
The html and cfg files are identical except for the IP addresses of the
2 boxes.
How can debug this beast?
Don Radick CISSP, CCSA, CCNP
Intercontinental Hotels Group
__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the mrtg
mailing list