[mrtg] Re: OID to cfg problem

Christophe Cornil cco at clear2pay.com
Tue Feb 25 16:40:21 MET 2003


Not necessarly.

Works without

-----Original Message-----
From: Alegria, Luis [mailto:lalegria at ics-canada.net] 
Sent: Tuesday, February 25, 2003 3:57 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: OID to cfg problem


You are also missing a "dot" in front of each OID

LA

-----Original Message-----
From: Brander, Eric [mailto:Eric.Brander at ACS-INC.com] 
Sent: Tuesday, February 25, 2003 9:14 AM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: OID to cfg problem


Signal to Noise ratio, huh?  Probably a fixed number you just want to
graph?
Try using the Gauge option so that MRTG doesn't try to convert it to
octets
per second.

Eric Brander
ACS
Texas CHIP Account
Sr. Communications Engineer - Information Systems Department
512.336.3331
Eric dot Brander at acs-inc dot com


-----Original Message-----
From: Zeeshan Ahmed [mailto:zeeshan at worldcall.net.pk]
Sent: Tuesday, February 25, 2003 8:20 AM
To: Brander, Eric; mrtg at list.ee.ethz.ch
Subject: Re: [mrtg] Re: OID to cfg problem


well now i changed it to 2 OIDs at a time but no use now it is not
giving me
any error but not giving me any values in graphs but when i run these
oid at
command promt indivudualy then i get the counter.

here the config file i am using.

Target[192.168.1.1_8781827]:
1.3.6.1.2.1.10.127.1.1.4.1.4.8781827&1.3.6.1.2.1.10.127.1.1.4.1.4.878182
8:pu
blic at 192.168.1.1
MaxBytes[192.168.1.1_8781827]: 3792705
Title[192.168.1.1_8781827]: Traffic Analysis for 8781826 -- No Name
PageTop[192.168.1.1_8781827]: <H1>Traffic Analysis for 8781826 -- No
Name</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD>No Name in No Location</TD></TR>
   <TR><TD>Maintainer:</TD> <TD>No Contact</TD></TR>
   <TR><TD>Description:</TD><TD>  </TD></TR>
   <TR><TD>ifType:</TD>     <TD>SNR (128)</TD></TR>
   <TR><TD>ifName:</TD>     <TD></TD></TR>
   <TR><TD>Max Speed:</TD>  <TD>3792.7 kBytes/s</TD></TR>

----- Original Message -----
From: "Brander, Eric" <Eric.Brander at ACS-INC.com>
To: "'Zeeshan Ahmed'" <zeeshan at worldcall.net.pk>; <mrtg at list.ee.ethz.ch>
Sent: Tuesday, February 25, 2003 6:25 PM
Subject: [mrtg] Re: OID to cfg problem


>
> MRTG MUST have 2 items to poll.
>
> Try:
>
Target[192.168.1.1_1]:1.3.6.1.2.1.10.127.1.1.4.1.4.8781827&1.3.6.1.2.1.1
0.12
> 7.1.1.4.1.4.8781827:public at 192.168.1.1
>
>
> Eric Brander
> ACS
> Texas CHIP Account
> Sr. Communications Engineer - Information Systems Department
> 512.336.3331
> Eric dot Brander at acs-inc dot com
>
>
> -----Original Message-----
> From: Zeeshan Ahmed [mailto:zeeshan at worldcall.net.pk]
> Sent: Tuesday, February 25, 2003 7:25 AM
> To: mrtg at list.ee.ethz.ch
> Subject: [mrtg] OID to cfg problem
>
>
> 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.16
8.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
>
> --
> 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
>
>

--
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

--
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

--
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