Re: snmpd not sending traps

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 ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-02-2007
Dave Shield
 
Posts: n/a
Default Re: snmpd not sending traps

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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:55 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0