Problem: Picking up wrong server hostname with check_http

Jeremy C. Reed reed at reedmedia.net
Thu Oct 4 15:36:28 CEST 2007


> trueman% /usr/local/nagios/libexec/check_http relibase.ebi.ac.uk
> HTTP WARNING: HTTP/1.1 404 Not Found

Try with the -H switch.

# /usr/lib/nagios/plugins/check_http -H relibase.ebi.ac.uk
HTTP OK HTTP/1.1 200 OK - 419 bytes in 0.246 seconds |time=0.246498s;;;0.000000 size=419B;;;

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list