<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>RE: [Nagios-users] Hosts.cfg</TITLE>
</HEAD>
<BODY>

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

<P><FONT SIZE=2>Regards,</FONT>
<BR><FONT SIZE=2>Karl Yost</FONT>
<BR><FONT SIZE=2>Sys Admin</FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Matt Pounsett [<A HREF="mailto:matt.pounsett@cira.ca">mailto:matt.pounsett@cira.ca</A>]</FONT>
<BR><FONT SIZE=2>Sent: Thursday, September 25, 2003 7:58 AM</FONT>
<BR><FONT SIZE=2>To: </FONT>
<BR><FONT SIZE=2>Subject: Re: [Nagios-users] Hosts.cfg</FONT>
</P>
<BR>

<P><FONT SIZE=2>On Wed, 24 Sep 2003 Rodrigo.Magalhaes@infoglobo.com.br wrote:</FONT>
</P>

<P><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>>       Hello,</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>>       I´m trying to install and configure nagios in a Red Hat 9.0</FONT>
<BR><FONT SIZE=2>> distribution. When I edit the hosts.cfg and save, the modifications are not</FONT>
<BR><FONT SIZE=2>> saved.</FONT>
</P>

<P><FONT SIZE=2>Do you mean that the changes to the file aren't saved,  or do you mean that</FONT>
<BR><FONT SIZE=2>the changes to the file aren't reflected in Nagios?  </FONT>
</P>

<P><FONT SIZE=2>If it's the former.. that's a unix file permissions issue.  Talk to your</FONT>
<BR><FONT SIZE=2>systems administrator about getting access to modify those files.</FONT>
</P>

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

<P><FONT SIZE=2>-- </FONT>
<BR><FONT SIZE=2>Matt Pounsett                 CIRA - Canadian Internet Registration Authority</FONT>
<BR><FONT SIZE=2>Technical Support Programmer                    350 Sparks Street, Suite 1110</FONT>
<BR><FONT SIZE=2>matt.pounsett@cira.ca                                 Ottawa, Ontario, Canada</FONT>
<BR><FONT SIZE=2>613.237.5335 ext. 231                                      <A HREF="http://www.cira.ca" TARGET="_blank">http://www.cira.ca</A></FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=2>-------------------------------------------------------</FONT>
<BR><FONT SIZE=2>This sf.net email is sponsored by:ThinkGeek</FONT>
<BR><FONT SIZE=2>Welcome to geek heaven.</FONT>
<BR><FONT SIZE=2><A HREF="http://thinkgeek.com/sf" TARGET="_blank">http://thinkgeek.com/sf</A></FONT>
<BR><FONT SIZE=2>_______________________________________________</FONT>
<BR><FONT SIZE=2>Nagios-users mailing list</FONT>
<BR><FONT SIZE=2>Nagios-users@lists.sourceforge.net</FONT>
<BR><FONT SIZE=2><A HREF="https://lists.sourceforge.net/lists/listinfo/nagios-users" TARGET="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</A></FONT>
<BR><FONT SIZE=2>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. </FONT>
<BR><FONT SIZE=2>::: Messages without supporting info will risk being sent to /dev/null</FONT>
</P>

</BODY>
</HTML>