Well I've got the two templates that I need for monitoring:
check_http - /usr/local/zenoss/libexec/check_http -I ${dev/manageIp} -e
"HTTP/1"
check_tcp - /usr/local/zenoss/libexec/check_tcp ${dev/manageIp} -p 23
However if I force a machine off the network these do not generate any errors.
I've tried to run "zenmodeler run -v 10" but no good, no change. I've left the
system up for 48+ hours then brought it down and no change in the events on
that machine. Here is what I have set for each of them:
Name check_http
Source Type COMMAND
Enabled True
Use SSH False
Component
Event Class /Net
Event Key check_http
Severity Critical
Cycle Time 60
Command Template:
/usr/local/zenoss/libexec/check_http -I ${dev/manageIp} -e "HTTP/1"
Name check_tcp 23
Source Type COMMAND
Enabled True
Use SSH False
Component
Event Class /Cmd/Fail
Event Key check_tcp
Severity Critical
Cycle Time 60
Command Template
/usr/local/zenoss/libexec/check_tcp ${dev/manageIp} -p 23
These Performance Templates are under "/Devices/Custom Monitoring/http -
telnet/PerfConf/Device/"
And I have Four devices that these should be checking on, under each device's
PerfConf there is:
RRDTemplate @ /Devices/Custom Monitoring/http - telnet
Template for checking if http and telnet is up
DataSources Name Source Source Type Enabled
check_http /usr/local/zenoss/libexec/check_http -I ${dev/manageIp} -e
"HTTP/1" COMMAND True
check_tcp 23 /usr/local/zenoss/libexec/check_tcp ${dev/manageIp} -p 23
COMMAND True
(hope that makes sense)
So I'm not sure what I'm missing or what I've done wrong that this isn't
working.
Thanks again to all that have helped me so far and to those that will hopefully
be able to help me now.
------------------------
Josh Henry
-------------------- m2f --------------------
Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=5987#5987
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users