Page 1 of 1

Nagios Website\URL monitor without adding host

Posted: Sat Aug 03, 2013 10:23 am
by prakash.thakor
hi,

I want to monitor URL or Websites only in nagios without adding Host definition file.
in host definition I have add ip of the host also , but the ip is not fixed. like www.google.com or www.yahoo.com


Is it possible .

I have tried without adding host but its not working .

Thanks

Re: Nagios Website\URL monitor without adding host

Posted: Sun Aug 04, 2013 7:13 pm
by jsmurphy
Your question is a little bit unclear.

If you are creating a service to check www.google.com then it must be assigned a host, a service must always be attached to a host. That said... you can just create a host definition that will check www.google.com instead, you don't have to enter an IP either, Nagios will happily accept a DNS name.

Re: Nagios Website\URL monitor without adding host

Posted: Sun Aug 04, 2013 8:48 pm
by scottwilkerson
That's correct, you can put FQDN in for the address field in a host definition.