[mrtg] OID to cfg problem
Zeeshan Ahmed
zeeshan at worldcall.net.pk
Tue Feb 25 14:25:01 MET 2003
I am using the following cfg file for monitoring signal to noise ratio but i get the errors given bellow.
########################################################################################
Target[192.168.1.1_1]:1.3.6.1.2.1.10.127.1.1.4.1.4.8781827:public at 192.168.1.1
MaxBytes[192.168.1.1_1]: 12500000
Title[192.168.1.1_1]: SNR for CMTS
PageTop[192.168.1.1_1]: <H1>signal to noise ratio</H1>
<TABLE>
<TR><TD>System:</TD> <TD>222222 </TD></TR>
<TR><TD>Maintainer:</TD> <TD></TD></TR>
<TR><TD>Description:</TD><TD>abcd </TD></TR>
<TR><TD>ifType:</TD> <TD>TD></TR>
<TR><TD>ifName:</TD> <TD>Fa0/0</TD></TR>
<TR><TD>Max Speed:</TD> <TD>100.0 Mbits/s</TD></TR>
<TR><TD>Ip:</TD> <TD>192.168.1.1TD></TR>
</TABLE>
############################################################################################
ERROR:
#/usr/bin/mrtg cuda.cfg
Rateup WARNING: /usr/bin/rateup could not read the primary log file for 192.168.
1.1_1
Rateup WARNING: /usr/bin/rateup The backup log file for 192.168.1.1_1 was invali
d as well
Rateup WARNING: /usr/bin/rateup Can't remove 192.168.1.1_1.old updating log file
Rateup WARNING: /usr/bin/rateup Can't rename 192.168.1.1_1.log to 192.168.1.1_1.
old updating log file
Rateup ERROR: /usr/bin/rateup found 192.168.1.1_1's log file was corrupt
or not in sorted order:
time: 1073772097.Rateup WARNING: /usr/bin/rateup could not read the primary log
file for 192.168.1.1_1
Rateup ERROR: /usr/bin/rateup found 192.168.1.1_1's log file was corrupt
or not in sorted order:
time: 1073772097.Rateup WARNING: /usr/bin/rateup The backup log file for 192.168
.1.1_1 was invalid as well
WARNING: rateup died from Signal 0
with Exit Value 1 when doing router '192.168.1.1_1'
Signal was 0, Returncode was 1
###########################################################################
But when i do snmpwalk for this specific OID i get the perfact counters
[root at abc mrtg]# snmpwalk 192.168.1.1 public .1.3.6.1.2.1.10.127.1.1.4.1.4
transmission.127.1.1.4.1.4.8781827 = Counter32: 2137
transmission.127.1.1.4.1.4.8781828 = Counter32: 3336
transmission.127.1.1.4.1.4.8781829 = Counter32: 32
transmission.127.1.1.4.1.4.8781830 = Counter32: 2547
transmission.127.1.1.4.1.4.8781831 = Counter32: 5163
transmission.127.1.1.4.1.4.8781832 = Counter32: 5299
transmission.127.1.1.4.1.4.9043971 = Counter32: 18773
transmission.127.1.1.4.1.4.9043972 = Counter32: 2841
transmission.127.1.1.4.1.4.9043973 = Counter32: 73378
transmission.127.1.1.4.1.4.9043974 = Counter32: 62028
transmission.127.1.1.4.1.4.9043975 = Counter32: 0
transmission.127.1.1.4.1.4.9043976 = Counter32: 59021
So please hlep me to fix it.
thanks Regards
Zeeshan AHmed
--
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