2009/8/11 Michal Filka <[email protected]>:
> monitor -e <notif_event>  -r 60 "xxxx" myMIB::Value > 0
> monitor -e <notif_event>  -r 60 "xxxx" != myMIB::Value

Is the token "xxxx" the same for both lines?

>From snmpd.conf(5):

       monitor [OPTIONS] NAME EXPRESSION
              defines  a  MIB  object to monitor....
              .....  NAME is an administrative name for this
              expression, and is used for indexing  the  mteTriggerTable  (and
              related  tables).

Because the name is used as an index, then it must be unique.
If you use the same name for both lines, then adding the second entry
to the monitoring table will fail, and hence it will never be used.

Dave

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

Reply via email to