Re: monitor an extend OID

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 26/02/07, Kyle Tucker <[email protected]> wrote:
> So I have two extend scripts defined and wish to monitor one.
>
> extend test2 /tmp/test2
> extend test1 /tmp/test1
> monitor -r 5 -o nsExtendOutput1Line.\"test1\" "Failure Check"
>       nsExtendResult.\"test1\" != 0

If you wish to monitor a single instance (nsExtendResult."test1")
then try adding the flag -I  (minus-capital-i).   That says to treat
the test as a single instance, rather than running an snmpwalk
over it (which will trigger the next instance as well)

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.