Re: snmpset and exec.

This is a discussion on Re: snmpset and exec. within the SNMP Users forums, part of the Networking and Network Related category; On Thu, 12 May 2005, Fred Clausen wrote: > Is it possible to use snmpset to set a value of ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-13-2005
Bert Driehuis
 
Posts: n/a
Default Re: snmpset and exec.

On Thu, 12 May 2005, Fred Clausen wrote:

> Is it possible to use snmpset to set a value of a specific OID and
> then have snmpd execute a program that will have the value of the
> snmpset operation as STDIN?


Look at the description of
EXEC -s
in
man 5 snmpd.conf

Te calling convention is different than what you need, but you can
easily use a small Bourne shell script to convert the one to the other.

Cheers,

-- Bert

--
Bert Driehuis -- driehuis@playbeing.org -- +31-20-3116119
If the only tool you've got is an axe, every problem looks like fun!


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
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
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

vB 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 04:23 PM.


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