Hosts.cfg

Karl.Yost at mptotalcare.com Karl.Yost at mptotalcare.com
Thu Sep 25 15:57:42 CEST 2003


If it is the daemon, and you use the default Nagios install paths.
Switch to /etc/rc.d/init.d and execute ./nagios reload and that will load
your most recent changes.
You must reload or restart nagios for the changes to take affect.

Regards,
Karl Yost
Sys Admin



-----Original Message-----
From: Matt Pounsett [mailto:matt.pounsett at cira.ca]
Sent: Thursday, September 25, 2003 7:58 AM
To: 
Subject: Re: [Nagios-users] Hosts.cfg


On Wed, 24 Sep 2003 Rodrigo.Magalhaes at infoglobo.com.br wrote:

> 
> 	Hello,
> 
> 	I´m trying to install and configure nagios in a Red Hat 9.0
> distribution. When I edit the hosts.cfg and save, the modifications are
not
> saved.

Do you mean that the changes to the file aren't saved,  or do you mean that
the changes to the file aren't reflected in Nagios?  

If it's the former.. that's a unix file permissions issue.  Talk to your
systems administrator about getting access to modify those files.

If it's the latter.. Like most daemons, Nagios doesn't automatically notice
changes to its configuration files.  A restart will get it to reload.
Some daemons will also re-read config files if they receive a sig HUP,
without
restarting.  I'm not sure if Nagios is one of these or not.


-- 
Matt Pounsett                 CIRA - Canadian Internet Registration
Authority
Technical Support Programmer                    350 Sparks Street, Suite
1110
matt.pounsett at cira.ca                                 Ottawa, Ontario,
Canada
613.237.5335 ext. 231
http://www.cira.ca



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20030925/c37cfc86/attachment.html>


More information about the Users mailing list