Re: [tkined] snmp monitor/rising threshold problem

Juergen Schoenwaelder (schoenw@ibr.cs.tu-bs.de)
Wed, 21 Oct 1998 10:40:38 +0200

>>>>> Feiyi Wang writes:

Feiyi> I am new to scotty and try to use snmp monitor some
Feiyi> variables. To be specific, say, I want to set up a rising
Feiyi> threshold for icmp.icmpInMsgs.0

Feiyi> I have two problems: first, it won't flash and pop up message
Feiyi> when the value exceeds the threshold. (I verified it by issuing
Feiyi> snmp get manually). second, the label displayed under the
Feiyi> strip chart is a bit confusing:

Feiyi> sometimes it shows

Feiyi> icmpInMsgs.0 0.0

Feiyi> sometimes it shows

Feiyi> icmpInMsgs.0 0.333222 or somethings, what does it mean? why it
Feiyi> won't response?

Feiyi> Hope somebody can help me out!

You are missing some SNMP basics here. icmpInMsgs is a counter
variable and this means that a single value has absolutely no meaning.
You have to compute the delta over the polling interval in order to
get something useful out of a counter. The script does this
computation and this is why you see numbers like 0.333222 (which means
0.333222 icmp messages received per second in last polling interval).
Adjust your thresholds accordingly and everything will be fine.

Juergen

Juergen Schoenwaelder schoenw@ibr.cs.tu-bs.de http://www.cs.tu-bs.de/~schoenw
Technical University Braunschweig, Dept. Operating Systems & Computer Networks
Bueltenweg 74/75, 38106 Braunschweig, Germany. (Tel. +49 531 / 391 3289)

--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.