D
D
Dmitry2012-04-17 00:57:48
cmd/bat
Dmitry, 2012-04-17 00:57:48

Launching a batch file via an snmp trap?

Good day everyone!
Tell me some solution, preferably free, to run a batch file / program on a remote machine when a certain snmp trap arrives on it.
Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DmZ, 2012-04-17
@enterdv

Install Net-SNMP (cross-platform), start the snmptrapd daemon and set the traphandle option in the config :

traphandle OID|default PROGRAM [ARGS ...]
invokes the specified program (with the given arguments) whenever a notification is received that matches the OID token.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question