On Thu, 10 Mar 2005 12:54:18 +0800 xdlhf wrote: X> Now I want to monitor a counter32 mib oid, e.g ipInRecieves, when the X> recieved packets in 5 second is greater than a number, snmpd sends a trap to X> manager. X> so how should i do it?
There is no support for this directly in the agent. You can write a script or C application to do the polling and send a trap. Probably wouldn't be that hard to add something like this to the agent, since the disman event mib already has a framework for monitoring and sending traps... -- Robert Story; NET-SNMP Junkie Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp> Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users> You are lost in a twisty maze of little standards, all different. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ 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