monitor an extend OID

"Kyle Tucker" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,
	I am trying to use the "monitor" directive to actively watch some
non-standard items on a Solaris system, but I sense I may be on a wild 
goose chase. Should I be able to use "monitor" to essentially run a script 
via "extend" in snmpd.conf to check for nsExtendResult != 0 and have a trap 
triggered? My simple script here, which I can run via snmpget, never gets 
run my snmpd.

extend failure /usr/local/bin/failure
monitor -r 1 -o nsExtendOutput1Line.7.102.97.105.108.117.114.101 "Failure Check" nsExtendResult.7.102.97.1
05.108.117.114.101 != 0

# snmpget -l authNoPriv -c public -v 2c host nsExtendResult.7.102.97.105.108.117.114.101
NET-SNMP-EXTEND-MIB::nsExtendResult."failure" = INTEGER: 2

Is this even possible? Am I missing something? Is there a better way?
If I did get it to run, do I need to create my own events to trigger a trap?

Thanks.

-- 
- Kyle 
---------------------------------------------
[email protected]   http://www.panix.com/~kylet    
---------------------------------------------

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