How can I call an external script from snmpd in debian 7?

Kernels & Hardware, configuring network, installing services

How can I call an external script from snmpd in debian 7?

Postby tkmbe » 2019-11-05 20:29

Hello

I've use on debian 4.0 and snmpd 5.2.3-7etch2 the following to call a script:
exec conntrack /bin/cat /tmp/conntrack.stat

On debian 7 with snmpd 5.4.3~dfsg-2.8+deb7u1 I tried the following:
extend conntrack /bin/cat /tmp/conntrack.stat
and also
extend-sh conntrack /bin/cat /tmp/conntrack.stat

Both does not work

Any idea what is wrong or how to debug?
tkmbe
 
Posts: 9
Joined: 2012-03-20 20:10

Return to System configuration

Who is online

Users browsing this forum: No registered users and 12 guests

fashionable