Re: Trap to command rather than remote snmptrapd

2009-04-17 Thread Dave Shield
2009/4/17 Anthony Wright : > I suspect I know the answer to this, but is it possible to get snmpd to > run a command when it issues a trap rather than sending out a trap packet? Yes. Well, sort-of. It is certainly possible to configure the agent to run a command when it receives a SET request.

Trap to command rather than remote snmptrapd

2009-04-17 Thread Anthony Wright
I suspect I know the answer to this, but is it possible to get snmpd to run a command when it issues a trap rather than sending out a trap packet? I want to keep an eye on disk space and when it gets to high remove some log files. I wondered if it is possible for snmpd to watch the disk space, and

Trap to command rather than remote snmptrapd

2009-04-16 Thread Anthony Wright
I suspect I know the answer to this, but is it possible to get snmpd to run a command when it issues a trap rather than sending out a trap packet? I want to keep an eye on disk space and when it gets to high remove some log files. I wondered if it is possible for snmpd to watch the disk space, and