I'm sure there are bugs somewhere, but they work fine if implemented
correctly. Are you modifying the value collected in the monitor for the
correct data source that is being collected for the target? Below are
some examples from by Defaults and Targets files. You should also run a
debug collector to validate the monitors and example (add "-logLevel
debug" to the end of the collector command)
Target examples:
target router01
target-type=Cisco-Router
short-desc = "router01"
monitor-thresholds = "%cpu-mem%"
target GigabitEthernet8_0_0
interface-name = GigabitEthernet8/0/0
short-desc = "router01 - G8/0/0"
monitor-thresholds = "%internet%"
Monitor statements from Defaults file:
internet =
"ifHCInOctets : value : n : %internet-high% : MAIL : Mail : %email_list%,
ifHCOutOctets : value : n : %internet-high% : MAIL : Mail : %email_list%,
ifInErrors : quotient : %inerrpct% : : ifInUcastPackets : 0 : MAIL :
Mail : %email_list%,
ifOutErrors : quotient : %outerrpct% : : ifOutUcastPackets : 0 : MAIL :
Mail : %email_list%"
cpu-mem =
"cpu1min : value : n : %default-cpu% : MAIL : Mail : %email_list%,
mem5minUsed : value : n : %default-mem-used% : MAIL : Mail : %email_list%"
Debug from collector
[09-Apr-2012 06:57:25 ] in rrdFetch: file is
../cricket-data//routers/router01/gigabitethernet8_0_0.rrd
[09-Apr-2012 06:57:25 ] in rrdFetch: skipping RRA
[09-Apr-2012 06:57:25 ] in rrdFetch: rraNum is 0 rowNum is 0 dsNum is 1
[09-Apr-2012 06:57:25 ] in rrdFetch: return is 1458852.8847238
[09-Apr-2012 06:57:25 ] /routers/router01/gigabitethernet8_0_0 -
ifHCInOctets : value : n : 50000000 : MAIL : Mail : <email address> passed.
[09-Apr-2012 07:02:01 ] in rrdFetch: file is
../cricket-data//routers/router01.rrd
[09-Apr-2012 07:02:01 ] in rrdFetch: skipping RRA
[09-Apr-2012 07:02:01 ] in rrdFetch: rraNum is 0 rowNum is 0 dsNum is 0
[09-Apr-2012 07:02:01 ] in rrdFetch: return is 3
[09-Apr-2012 07:02:01 ] Value is 3; min is n; max is 65
[09-Apr-2012 07:02:01 ] /routers/router01 - cpu1min : value : n : 65 :
MAIL : Mail : <email address> passed.
Post by George WilbertI have cricket 1.0.5 and for some reason I can only get a single data
source to work with thresholds. And to make it even more weird it's a
different data source on every target.
Any know bugs?? help would be appreciated??
--------------------------------------------------------------------------
----
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
cricket-users mailing list
https://lists.sourceforge.net/lists/listinfo/cricket-users