define service {
use local-service
host_name xxx.xxx.domain.com
service_description HTTP
check_command check_http!-w 5 -c 10 -I 1.1.1.20 -p 8080 -u /Web/Login.do?formAction=startLogin&groupId=181
contact_groups helpdesk
notifications_enabled 1
After a long investigation I figured out there is something wrong with check command, Everything is white on text except check_command is Yellow any Idea what I am doing wrong here?
Help with Check _http
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Help with Check _http
Hi @Zark
It looks like you have a syntax error in the check command. Try this:
check_http -w 5 -c 10 -I 1.1.1.20 -p 8080 -u /Web/Login.do?formAction=startLogin&groupId=181
I would recommend going to /usr/local/nagios/libexec and testing from the command line. Let me know if that works.
Check_http Plugin Documentation:
https://nagios-plugins.org/doc/man/check_http.html
It looks like you have a syntax error in the check command. Try this:
check_http -w 5 -c 10 -I 1.1.1.20 -p 8080 -u /Web/Login.do?formAction=startLogin&groupId=181
I would recommend going to /usr/local/nagios/libexec and testing from the command line. Let me know if that works.
Check_http Plugin Documentation:
https://nagios-plugins.org/doc/man/check_http.html
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!