[mrtg] Re: Problem with MRTG-2.9.17 for inactive devices

Christoph Wagner christoph-w at gmx.at
Mon Sep 17 12:48:49 MEST 2001


Hi Mike,

the device is definitely power-down (all domain names are of it are not
reachable).
The logging shows the following:

2001-09-17 12:43:43 -- Started mrtg
2001-09-17 12:43:53 -- SNMP Error:
no response received
SNMPv1_Session (remote host: "router1" [10.0.1.239].161)
                  community: "public"
                 request ID: 1536326082
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at d:/programme/mrtgroot/bin\..\lib\mrtg2/SNMP_util.pm line 450
2001-09-17 12:43:53 -- SNMPGET Problem for 1.3.6.1.4.1.9.2.1.57.0
1.3.6.1.4.1.9.2.1.58.0 sysUptime sysName on public at router1
 at d:\programme\mrtgroot\bin\mrtg line 1485
2001-09-17 12:43:53 -- WARNING: Expected a number but got ''
2001-09-17 12:43:53 -- WARNING: Expected a number but got ''
2001-09-17 12:44:04 -- SNMP Error:
no response received
SNMPv1_Session (remote host: "router1" [10.0.2.239].161)
                  community: "public"
                 request ID: 1243377574
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at d:/programme/mrtgroot/bin\..\lib\mrtg2/SNMP_util.pm line 450
2001-09-17 12:44:04 -- SNMPGET Problem for sysUptime sysName on
public at router1
 at d:\programme\mrtgroot\bin\mrtg line 339


Regards,
Chris

----- Original Message -----
From: "Mike Koch" <Mike.Koch at etsi.fr>
To: "'Christoph Wagner'" <christoph-w at gmx.at>; "MRTG Mailing List (E-mail)"
<mrtg at list.ee.ethz.ch>
Sent: Monday, September 17, 2001 10:54 AM
Subject: RE: [mrtg] Re: Problem with MRTG-2.9.17 for inactive devices


> Are you sure that your device is down when returning 1 ? Because, for a
> router, a only 1% CPU utilisation when up is very possible. If it's down,
> then, in the log file, values should be 0 if you have "unknaszero" option.
>
> Could you post the beginning of your log file ?
> Another thing: when launching mrtg, use the --logging=filename.log and see
> what is in the .log file. If a device is down and not responding, there
will
> be a trace in the log file with date/time.
>
>
> -----Original Message-----
> Hi Mike,
>
> I have already used the option "unknaszero", but it seems not to help.
>
> Here is my config:
>
> WorkDir: d:\programme\www\cpu
>
> #---------------------------------------------------------------
>
> #Processor Utilization Monitoring - Router1
> Target[Router1.cpu]:
> 1.3.6.1.4.1.9.2.1.57.0&1.3.6.1.4.1.9.2.1.58.0:public at Router1
> RouterUptime[Router1.cpu]: public at Router1
> MaxBytes[Router1.cpu]: 100
> Title[Router1.cpu]: Processor Utilization for Router1 (RSP1)
> PageTop[Router1.cpu]: <H1>Processor Utilization for Router1 <BR>Type
> Cisco7505/RSP1</H1>
> Unscaled[Router1.cpu]: y
> ShortLegend[Router1.cpu]: %
> XSize[Router1.cpu]: 380
> YSize[Router1.cpu]: 100
> YLegend[Router1.cpu]: Processor Util
> Legend1[Router1.cpu]: CPU-Utilization Average 1min
> Legend2[Router1.cpu]: CPU-Utilization Average 5min
> LegendO[Router1.cpu]: &nbsp;CPU-Average 5min
> LegendI[Router1.cpu]: &nbsp;CPU-Average 1min
> Options[Router1.cpu]: gauge, growright, unknaszero, nopercent
> WithPeak[Router1.cpu]: wmy
> #---------------------------------------------------------------
>
> I am working with WinNT4/SP5.
>
> Regards,
> Chris
> ----- Original Message -----
> From: "Mike Koch" <Mike.Koch at etsi.fr>
> To: "'Christoph Wagner'" <christoph-w at gmx.at>; "MRTG Mailing List
(E-mail)"
> <mrtg at list.ee.ethz.ch>
> Sent: Monday, September 17, 2001 9:39 AM
> Subject: [mrtg] Re: Problem with MRTG-2.9.17 for inactive devices
>
>
> >
> > Hi,
> >
> > Seems like you should use the Options[...]: unknaszero
> >
> > Here is its meaning:
> > Log unknown data as zero instead of the default behaviour of repeating
the
> > last value seen. Be careful with this, often a flat line in the graph is
> > much more obvious than a line at 0.
> >
> >
> > -----Original Message-----
> > From: Christoph Wagner [mailto:christoph-w at gmx.at]
> > Sent: lundi 17 septembre 2001 08:42
> > To: MRTG-Users
> > Subject: [mrtg] Problem with MRTG-2.9.17 for inactive devices
> >
> > Hi,
> >
> > I have updated from MRTG 2.9.7 to 2.9.17 and now I get incorrect values
> for
> > CPU utilization of a devices which is down (should always be zero).
> > I should get an invalid value or zero but I get always "1" in the .log
and
> > in the
> > graph.
> > 1.) Anybody who knows what is wrong?
> > 2.) The best would be to see a graph which is in another color or
> something
> > like
> > this if the variable was not reachable. Anybody who knows how to get
this
> > easily?
> >
> > Regards,
> > Chris
>


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