Hi,

I have been given an OID that is to have a value SET on it. When this
changes, I'm to run a script.

Now, the documentation says I can use extend, as in:

extend (OID) name filename params

I can find no examples using OIDs, so I'm assuming that I can just add the
OID which the examples don't include. The line of interest is:

extend .1.3.6.1.4.1.318.1.1 test /etc/snmp/scripts/reboot.sh 1

I don't get to use a user-defined OID, so have to trigger on that. The
incoming message is SNMPv1.

(The message is supposed to go to an SNMP-controlled device, but I need to
process this on the host machine.)

The script is never run, although using SNMP in debug mode shows it is
getting the correct message.

This is probably hopelessly newbie, so if there's a how-to for this sort of
task or debugging extends, please let me know. No need to quote an existing
guide.
_______________________________________________
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/listinfo/net-snmp-users

Reply via email to