Re: Is Cricket Monitor Threshold workable for "And" condition?
"Wu, Kenny" <[email protected]> Mon, 11 May 2009 01:55:39 -0700
| Newsgroups | gmane.network.cricket.user |
|---|---|
| Message-ID | <11C00FACD6D13B459F180C21B06E0F0407DE323F@RHV-EXM-02.corp.ebay.com> |
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:[email protected]] Sent: Friday, May 08, 2009 8:34 PM To: Wu, Kenny Cc: [email protected] 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 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