Trap to command rather than remote snmptrapd

Anthony Wright <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
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 run my remove logs program when the free space get's to low.
It seems a little tidier than writing a cron job just to keep an eye on it.

I've had a look at the manual, and it doesn't look like it's possible,
but I wondered if I missed something.

thanks,

Anthony Wright.

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.