Re: Is Cricket Monitor Threshold workable for "And" condition?

Oliver Landsmann <[email protected]> Fri, 08 May 2009 14:33:53 +0200
Newsgroups gmane.network.cricket.user
Message-ID <[email protected]>
Hi,

Just have a look at the Monitor.pm file in the lib directory.  Create a 
new monitor by using the two existing ones as example:

-> monValue -> that will show you how to compare a value
-> monRelation -> that will tell you how to work with more then one ds

name it something like: monDualCondition and register it as a monitor:

  $Common::global::gMonitorTable{'dualcondition'} = \&monDualCondition;

Then you could use something like that in cricket config, assuming that 
you programmed the monitor part accordingly:

   "DS_A : dualcondition : n : 10 : DS_B : n : 12 : SNMP"

It will take some work but it is not impossible.

Br,
  Oliver


Wu, Kenny wrote:
> Dear all,
>
>  
>
> I understand that Cricket can be configured with Monitor Thresholds to
> provide extra functionality of alerting. And there is a detailed
> description at this UR =>
> http://cricket.sourceforge.net/support/doc/monitor-thresholds.html .
> However it seems to me each threshold is only for one condition.
>
>  
>
> I now have a task of sending out an alarm when two conditions are both
> met. Is it possible to configure this "And" logic in Cricket Monitor
> Thresholds?
>
>  
>
> Any input is highly appreciated.
>
>  
>
> Thanks
>
> Kenny Wu  
>
>  
>
>  
>
> ------------------------------------------------------------------------------
> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
> production scanning environment may not be a perfect world - but thanks to
> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
> Series Scanner you'll get full speed at 300 dpi even with all image 
> processing features enabled. http://p.sf.net/sfu/kodak-com
> _______________________________________________
> cricket-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cricket-users
>   


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com