check_http 404 error
Marc Powell
marc at ena.com
Thu Dec 18 19:21:22 CET 2003
> -----Original Message-----
> From: Lars Oeschey [mailto:extern.lars.oeschey at audi.de]
> Sent: Thursday, December 18, 2003 3:25 AM
> To: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] check_http 404 error
>
> Marc Powell wrote:
>
> > The commands _might_ not be the same. In the host definition, is
address
> > set to 'is0618' or the IP of the machine or something else entirely?
You
>
> ok, got it... I didn't realize that nagios never uses the hostname
when
> the IP is entered as hostaddress. Changed that for some DHCP clients
as
> well now, as sooner or later those would have a problem also.
Actually, there is no if-then test as far as this is concerned. The
command definitions by default use $HOSTADDRESS$, not $HOSTNAME$,
although they could certainly be changed to use that instead. Hostname
is primarily used internally for host/service/hostgroup associations.
--
Marc
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
_______________________________________________
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