Hi,

> I would like to know if it possible to generate alarm when I lose 20% (for 
> example) of connexions or trafic between 2 polling values.

Yes, it is possible to do this in a SNMP probe. You can set up two variables in 
the <snmp-device-variables> section, one that retrieves the current value from 
the device, and one that retains the previous value. You can then make a 
calculation that shows the difference.

I don't have an example handy, but it would go something like this:

<snmp-device-variables>

        sysUptime,      1.3.6.1.2.1.1.3.0 ,     INTEGER,        "Uptime - in 
centi-seconds"
        oSysUpTime, $curSysUptime, CALCULATION,
        curSysUptime, $sysUpTime, CALCULATION,
        deltaTime, $curSysUptime - $oSysUpTime, CALCULATION,
        ...

The first line retrieves sysUpTime from the device
The second line sets the "old sysUpTime" from the value of the "current 
sysUpTime" retrieved on the previous poll
The third line sets the "current sysUpTime" to the (now) current value. This 
will be retained for the next poll.
The fourth line computes the difference between the two

Please get back to me if you have further questions. Thanks.

Rich Brown [email protected] 
Dartware, LLC http://www.intermapper.com 
66-7 Benning Street Telephone: 603-643-9600 
West Lebanon, NH 03784-3407 Fax: 
603-643-2289____________________________________________________________________
List archives:
http://www.mail-archive.com/intermapper-talk%40list.dartware.com/
To unsubscribe: send email to: [email protected]

Reply via email to