Re: snmpd not sending traps

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 02/10/2007, Neil Watson <[email protected]> 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
[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.