Checking configuration with restarting?

Shawn Rose shawn at pocketinet.com
Mon Nov 4 20:13:09 CET 2002


Yours restarts when you do that eh?  Mine doesn't.  That is odd.

No idea from me :)

Shawn

-----Original Message-----
From: Rob King [mailto:rob.king at wholefoods.com] 
Sent: Monday, November 04, 2002 11:07 AM
To: Shawn Rose; nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Checking configuration with restarting?

Hey everyone,
    Right, I knew about that. The issue is that when I do that, Nagios 
still restarts - and if there's an error in the configuration files, the

CGI's all show inaccurate information.

    Is there any way to test the configuration without restarting?

    Thanks,
    Rob

Shawn Rose wrote:

>Go to your bin directory and type 
>./nagios -v /path/to/nagios.cfg
>
>
>Shawn
>
>-----Original Message-----
>From: nagios-users-admin at lists.sourceforge.net
>[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Rob King
>Sent: Monday, November 04, 2002 10:35 AM
>To: nagios-users at lists.sourceforge.net
>Subject: [Nagios-users] Checking configuration with restarting?
>
>Hey everyone,
>    I know that you can verify the Nagios configuration files by
calling
>
>Nagios with the "-v" flag. However, if there is an error in the 
>configuration files, while the config check catches it, Nagios still 
>restarts!
>
>    Well, at least I think it restarts. The "Network Health Bars" all
go
>
>to 0%, and I get "0 Hosts 0 Services", etc, etc.
>
>    Is there any way to verify the configuration without restarting?
I'd
>
>like to know because very soon we're going to have multiple people 
>administering one Nagios setup, and I'd like for them to be forced to 
>verify their configuration before restarting.
>
>    Thanks all!
>
>    Rob
>
>
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by: ApacheCon, November 18-21 in
>Las Vegas (supported by COMDEX), the only Apache event to be
>fully supported by the ASF. http://www.apachecon.com
>_______________________________________________
>Nagios-users mailing list
>Nagios-users at lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/nagios-users
>
>
>  
>





-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com




More information about the Users mailing list