On 10/04/07, Dave Shield <[EMAIL PROTECTED]> wrote: 
> On 10/04/07, Ward, Martin <[EMAIL PROTECTED]> wrote:
> > One small issue however is that I can't persuade Net-SNMP to send a 
> > clear trap when a given trap event clears. For example, 
> Net-SNMP sends 
> > a trap when the 5m load average goes above 2.0 (which is 
> good) but it 
> > doesn't send a clear trap when the load average goes back 
> down below 
> > 2.0 (which is bad).
> >
> > Is there a way of doing this or am I expecting too much?
> 
> 
> You need to set up a matching "monitor" entry, with the test 
> reversed. At some point, I intend to add a flag to the 
> monitor directive, that would register this automatically.  
> But at the moment, you need to do it for yourself.
> 
> Alternatively, you could try playing about with threshold 
> tests, which *do* have both rising and falling traps.  But 
> the default boolean test only triggers when the test is true, 
> not when it goes false again.
> 

I went the way of using thresholds even though these are simple
Boolean traps and it works perfectly. Thanks for your help Dave!

|\/|artin


*************************************************************************************
The message is intended for the named addressee only and may not be disclosed 
to or used by anyone else, nor may it be copied in any way. 

The contents of this message and its attachments are confidential and may also 
be subject to legal privilege.  If you are not the named addressee and/or have 
received this message in error, please advise us by e-mailing [EMAIL PROTECTED] 
and delete the message and any attachments without retaining any copies. 

Internet communications are not secure and COLT does not accept responsibility 
for this message, its contents nor responsibility for any viruses. 

No contracts can be created or varied on behalf of COLT Telecommunications, its 
subsidiaries or affiliates ("COLT") and any other party by email Communications 
unless expressly agreed in writing with such other party.  

Please note that incoming emails will be automatically scanned to eliminate 
potential viruses and unsolicited promotional emails. For more information 
refer to www.colt.net or contact us on +44(0)20 7390 3900.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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

Reply via email to