First off, it looks like we're going to get the go-ahead with our Nagios implementation, so a big thank you to everyone out there who has helped to make this happen.
Now, to my question. I can check to see if the Tomcat7.exe APPLICATION is running. I can also check to see if the Tomcat7 SERVICE is running.
However, when I try to run the Check_HTTP plugin via:
Code: Select all
define service{
use generic-service
hostgroup_name jenkins-test-masters,jenkins-slaves
service_description HTTP Server
check_command check_http
}
The second server shows the Tomcat Service started and Tomcat7.exe running and, but returns "HTTP WARNING: HTTP/1.1 403 Forbidden - 1491 bytes in 0.002 second response time ".
I have raised a similar query previously on this forum, so apologies for the repetition, but I still can't get my head around why when Tomcat is running on the second machine, I get the error message. Do I need to try another port, for example?
And, if I can determine if Tomcat is running or not, do I really need to run check_http at all?
Thanks in advance for your assistance.
Pete