[Pkg-nagios-devel] Bug#524629: check_httpname error in http.cfg

Daniel Pocock daniel at pocock.com.au
Sat Apr 18 16:30:06 UTC 2009


Package: nagios-plugins


Using check_httpname results in services being marked down with the error:

       Name or service not known

This appears to be because /etc/nagios-plugins/config/http.cfg contains 
$HOSTNAME instead of $HOSTNAME$ - in other words, adding a trailing $ to 
$HOSTNAME fixes the issue.

Current value (broken):


        command_line    /usr/lib/nagios/plugins/check_http -H 
'$HOSTNAME' -I '$HOSTADDRESS$'

Fixed:

        command_line    /usr/lib/nagios/plugins/check_http -H 
'$HOSTNAME$' -I '$HOSTADDRESS$'
   





More information about the Pkg-nagios-devel mailing list