On Tue, 2005-09-20 at 16:33 -0400, Javier Torres wrote:
> I was wondering if someone could help me out with debugging traps?
> I have a trap setup for the hard drive space it looks like:
> disk / 20%

Please see the FAQ entry:
    What traps are sent by the agent?

In particular, the final paragraph:

    Similarly, [the agent] does *NOT* generate traps by
  default when one of the monitored characteristics (disk
  usage, running processes, etc) enters or leaves an error
  state. This can be configured using the 'defaultMonitors'
  config directive (also documented under DISMAN-EVENT-MIB).
 

> my trap server is OpenNMS set as
>  
> trap2sink <ip>
> informsink <ip>

Please also see the following entry:
    Where are these traps sent to?

In particular:
    A configuration block such as

        trapsink   localhost
        trap2sink  localhost
        informsink localhost

  will result in *three* notifications being
  sent for each call to 'send_easy_trap'
  (or 'send_v2trap'). 


Your config above will only send two copies of each
trap, but that's still probably not what you want.

Dave
> 


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
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

Reply via email to