disman

Michal Filka <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <BEE650D2F88D74448AD3E613B0C6D4E50108635265@STS-PRG-EXM1M1.sts.sitronics.com>
Hi,

1) Can someone give me an explanation of following?
monitor -e EthAlarm -S -r 60 "phyIntSetMonitor2" ifTable.ifEntry.ifOperStatus.5 == 2

disman:event:trigger:fire: Returned non-integer result(s): IF-MIB::ifOperStatus.5 (boolean/threshold) 0

but

snmpget -v2c -csts localhost ifTable.ifEntry.ifOperStatus.5
IF-MIB::ifOperStatus.5 = INTEGER: down(2)

... according snmpget and definition in IF-MIB the value is an INTEGER. So, how can I get disman working?

To be clear ... I want to know why the monitor statement above is not working when OID argument is given as pattern ... if I use "-I" the statement works fine.

2) Is it possible to define a condition in monitor statement which causes firing event if and only if value of an OID lies within interval (a,b)?  I know only about "OID MIN MAX" but it is opposite to behavior which I want to achieve.

Thanks for help.

Michal Filka

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.