Build precise queries to find exactly what you need
Press ESC to close
Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More
Need a bit of handholding –
This is what I have in my commands.cfg –
define command{ command_name check_http_content command_line $USER1$/check_http_content -U $ARG1$ -m $ARG2$ -t $ARG3$ }
This is what’s in my host.cfg –
define service{ use generic-service host_name Air SeaTac service_description FSHost 2002 servicegroups front_end_services check_command check_http_content -U http://64.20.36.132:82/xml -m 25388C85-A193-47DC-A7-1C-95-EB-92-EC-E9-28 -t 5 notifications_enabled 1 }
This is what happens when I run check_http_content manually –
[root@prometheus libexec]# ./check_http_content -U http://64.20.36.132:82/xml -m 25388C85-A193-47DC-A7-1C-95-EB-92-EC-E9-28 -t 5 CONTENT OK: EXPR FOUND[root@prometheus libexec]#
Trying to restart Nagios after config changes results in error