> [f it exceeds the warning, change the graph's line color to orange, if 
> critical, yellow, if timeout, red? 

=> That seems to be totally feasible. I plan to do that . In the DataSource 
Perf>Conf tab enter yout checkhttp command and set the DataPoint Name to: 
"time" to get the response time. Then enter your threashold (to get alarm on 
response times) and graph the datapoint by entering a curstom rrd toolm 
command. To do so, take a look at the rrdtool tutorial. 

Create a rrdtool expression like that (extracted from rrdtool tutorial):


Code:
rrdtool graph speed4.png                           \
     --start 920804400 --end 920808000               \
     --vertical-label km/h                           \
     DEF:myspeed=test.rrd:speed:AVERAGE              \
     "CDEF:kmh=myspeed,3600,*"                       \
     CDEF:fast=kmh,100,GT,100,0,IF                   \
     CDEF:over=kmh,100,GT,kmh,100,-,0,IF             \
     CDEF:good=kmh,100,GT,0,kmh,IF                   \
     HRULE:100#0000FF:"Maximum allowed"              \
     AREA:good#00FF00:"Good speed"                   \
     AREA:fast#550000:"Too fast"                     \
     STACK:over#FF0000:"Over speed"




I read that the output of a command should be:
name1=value1;name2=value2;name3=value3
etc...
The the datapoint should be named name1,name2,name3 etc... 
In order to get such an output you will have to rework the output of 
check_http, with awk, sed or by writing your own script containing a check_http 
call.

------------------------
 unset




-------------------- m2f --------------------

Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=6366#6366

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to