This is a discussion on Re: snmpd not sending traps within the SNMP Users forums, part of the Networking and Network Related category; On 02/10/2007, Neil Watson <netmon@watson-wilson.ca> wrote: > Building the software by hand in ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On 02/10/2007, Neil Watson <netmon@watson-wilson.ca> wrote:
> Building the software by hand in distributing it to all servers on our > network is something I'd like to avoid. Are you saying that the version > I have is not capable of sending traps using the 'defaultmonitors yes' > directive? I would have very little confidence of the 5.1.x line (or 5.2.x line) sending such active traps reliably. The DisMan implementation was completely reworked for the 5.3.x release, to improve this functionality. If you want the agent to generate traps in response to this sort of configuration, I would *strongly* recommend that you upgrade to 5.4.1. If you need to stay with the 5.1.x line, then you would do better working with a separate process to monitor the load and generate traps appropriately. A simple shell script could work reasonably well. Something like: while true do load=`uptime | awk '{print $10}' ` if [ $uptime -gt 1.0 ] then snmptrap monitorhost .... fi sleep 60 done That's a bit too simplistic, of course. But you get the idea. If you want the snmpd agent to handle this, then upgrade. Dave ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ 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/...net-snmp-users |