RE: Monitor using !=OID

"Emlyn Purvis" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Brilliant. That works. Thanks for all your help.

Emlyn

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

On 01/03/07, Emlyn Purvis <[email protected]> wrote:
> That works for scisysInteger == 2, but when I change it to
> !=scisysInteger it complains about an unknown monitor ID:

OK - I've found the problem.
The documentation is slightly "misleading" (i.e. wrong!)
The parsing of the monitor line relies on the operator
and the OID appearing as separate tokens - with
white space between them.

Try
    monitor -r 10 -u myuser -e test
         "Generate scisysNotification"
          !=  scisysInteger

That should do as a simple workaround, until
I can patch the code to handle both forms.

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