Thank you,
I appreciate your quick reply.
Regards,
Randy.
Search found 5 matches
- Wed Sep 23, 2015 9:37 am
- Forum: Open Source Nagios Projects
- Topic: Start service event handler only on specific nodes
- Replies: 3
- Views: 926
- Tue Sep 22, 2015 10:49 am
- Forum: Open Source Nagios Projects
- Topic: Start service event handler only on specific nodes
- Replies: 3
- Views: 926
Start service event handler only on specific nodes
Hello, Subject: Start event handler only on specific nodes I am using Nagios Core 4.0.8. I have a service that monitors drive C usage on Windows Systems. The service have an event handler attached: define service{ use generic-service host_name hostname service_description Drive C: Auto Clean check_c...
- Wed Nov 28, 2012 6:04 pm
- Forum: Open Source Nagios Projects
- Topic: Don't want Host Check
- Replies: 4
- Views: 1853
Re: Don't want Host Check
I just made a change. In the commands.cfg I added php to the front of the command. It now reads: define command{ command_name check_curl_http command_line php $USER1$/check_curl_http.php -U $ARG1$ $ARG2$ } The service now comes back with the correct error code 200 ok status within Nagios, and it sho...
- Wed Nov 28, 2012 4:53 pm
- Forum: Open Source Nagios Projects
- Topic: Don't want Host Check
- Replies: 4
- Views: 1853
Re: Don't want Host Check
I made a mistake on this post. I meant to post for the plugin check_curl_http, not check_http. The command line works fine in Linux: php check_curl_http.php -U https://node1.test.com and it results in: Page OK: HTTP Status Code 200 - 689 bytes in 0.180142 seconds |time=0.18 size=689 The service sta...
- Wed Nov 28, 2012 2:28 pm
- Forum: Open Source Nagios Projects
- Topic: Don't want Host Check
- Replies: 4
- Views: 1853
Don't want Host Check
Hello, I am using check_http for external nodes that I have no access to other than through port 80. Nagios shows the host status as down, even though the http service (page) is coming back ok. Is there a way to tell nagios that the host status should be up if the service is up, or get rid of the ho...