Bluehost.com Web Hosting $6.95

Re: monitor an extend OID

This is a discussion on Re: monitor an extend OID within the SNMP Users forums, part of the Networking and Network Related category; On 26/02/07, Kyle Tucker <kylet@panix.com> wrote: > So I have two extend scripts defined ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-26-2007
Dave Shield
 
Posts: n/a
Default Re: monitor an extend OID

On 26/02/07, Kyle Tucker <kylet@panix.com> 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?p...rge&CID=DEVDEV
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 06:53 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0