Hi Dave,

The output is:

D:\netSNMPMisc>snmpd -f -Ddisman:event:conf
No log handling enabled - turning on stderr logging
registered debug token disman:event:conf, 1
d:/netSNMP/etc/snmp/snmpd.conf: line 21: Error: unable to parse
oid:!=scisysInteger
net-snmp: 1 error(s) in config file(s)
NET-SNMP version 5.3.1

My exact monitor line is:

monitor -r 10 -e scisysNotification -o scisysString "Generate
scisysNotification" !=scisysInteger

Regards,
Emlyn

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Shield
Sent: 01 March 2007 11:56
To: Emlyn Purvis
Cc: [email protected]
Subject: Re: Monitor using !=OID

On 01/03/07, Emlyn Purvis <[EMAIL PROTECTED]> wrote:
> I am trying to send a trap using a monitor whenever the value of a
> particular scalar changes:
>
> monitor -r 10 -e myNotification "Generate myNotification" !=myScalar
>
>
>
> snmpd complains that it cannot parse the oid !=myScalar. A comparison
> expression works fine however.
>
> Are !=OID and !OID expressions not supported at the moment?

No - that should work OK.

Try running the agent using the debug flag:

    -Ddisman:event:conf

What is the output?

Dave


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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