Discussion:
[cricket-users] Is Cricket Monitor Threshold workable for "And" condition?
Wu, Kenny
2009-05-08 02:10:04 UTC
Permalink
Oliver Landsmann
2009-05-08 12:33:53 UTC
Permalink
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
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
https://lists.sourceforge.net/lists/listinfo/cricket-users
Wu, Kenny
2009-05-11 08:55:39 UTC
Permalink
Oliver Landsmann [mailto:]=20
1970-01-01 00:00:00 UTC
Permalink
Mr Landsmann,


Thank you so much for leading me to the right direction!

It really could be worked out by adding some codes into Monitor.pm as
you explained previously.


Thanks again!

Kenny

-----Original Message-----
From: Oliver Landsmann [mailto:***@landsmann.priv.at]=20
Sent: Friday, May 08, 2009 8:34 PM
To: Wu, Kenny
Cc: cricket-***@lists.sourceforge.net
Subject: Re: [cricket-users] Is Cricket Monitor Threshold workable for
"And" condition?

Hi,

Just have a look at the Monitor.pm file in the lib directory. Create a=20
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'} =3D =
\&monDualCondition;

Then you could use something like that in cricket config, assuming that=20
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
Dear all,
=20
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 =3D>
http://cricket.sourceforge.net/support/doc/monitor-thresholds.html .
However it seems to me each threshold is only for one condition.
=20
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?
=20
Any input is highly appreciated.
=20
Thanks
Kenny Wu =20
=20
=20
------------------------------------------------------------------------
------
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=20
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
cricket-users mailing list
https://lists.sourceforge.net/lists/listinfo/cricket-users
=20
Loading...