nagios host file question

Marc Powell marc at ena.com
Wed Jul 20 21:36:20 CEST 2005



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Guillermo Padilla
> Sent: Wednesday, July 20, 2005 2:04 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] nagios host file question
> 
> Is there a way to have nagios use dns host file instead of its own
host
> file to detect hosts ips?

Use a resolvable host name for the host address.

define host{
        use                     generic-host
        host_name               some-name
        alias                   My Test Server
        address                 test.foo.com
        }

As long as test.foo.com is resolvable by command line utilities it
should just work. This of course makes you dependent on that name
resolution service for your monitoring to work properly. If it fails,
your monitoring fails.

--
Marc


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&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