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; > > > My simple script here, which I can run via snmpget, never gets > > run my snmpd. &...


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-23-2007
Kyle Tucker
 
Posts: n/a
Default Re: monitor an extend OID

>
> > My simple script here, which I can run via snmpget, never gets
> > run my snmpd.
> >
> > extend failure /usr/local/bin/failure
> > monitor -r 1 .....

>
> What about the "agentSecUser" or "iqueryUser" line?
> Have you configured which user to run internal queries as
> (and given that user sufficient access) ?


I had not as it wasn't apparent to me from the man page what exactly was
required for this to work. I have since added a user, but still see no
indication it's running from the script itself or doing a truss on the
snmpd process. Here's what I have now. I am not getting any authentication
failures sent out, so what else might be missing? Thanks.

createUser testuser
agentSecName testuser
rouser testuser noauth
monitor -u testuser -r 1 -o nsExtendOutput1Line.\"failure\" "Failure Check" nsExtendResult.\"failure\" != 0

--
- Kyle
---------------------------------------------
kylet@panix.com 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?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 05:34 AM.


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