Hosts.cfg

chbaker at powersystems.rockwell.com chbaker at powersystems.rockwell.com
Thu Sep 25 15:21:39 CEST 2003


I've found update-nagios to be the tool for this. On my Debian Gnu/Linux
box it's /usr/sbin/update-nagios.
----
Charles H. Baker
Unix/Linux Systems Administrator
chbaker at powersystems dot rockwell dot com
work: 864.281.2409 fax: 864.281.2487 cell: 864.363.5302
If you do what you have always done, you will get what you have always
gotten. --Paul J. Meyer


                                                                                                                                        
                      Matt Pounsett                                                                                                     
                      <matt.pounsett at cira.ca>              To:       nagios-users at lists.sourceforge.net                                 
                      Sent by:                             cc:                                                                          
                      nagios-users-admin at lists.sour        Subject:  Re: [Nagios-users] Hosts.cfg                                       
                      ceforge.net                                                                                                       
                                                                                                                                        
                                                                                                                                        
                      09/25/2003 07:57 AM                                                                                               
                                                                                                                                        
                                                                                                                                        




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







-------------------------------------------------------
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





More information about the Users mailing list