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