Plugin that will test nagios.cfg

Hugo van der Kooij hvdkooij at vanderkooij.org
Fri Jun 22 22:29:42 CEST 2007


On Thu, 21 Jun 2007, Marc Powell wrote:

> If you can reliably reproduce this with a '/etc/init.d/nagios reload' or
> 'restart' then you should report it as a bug. Nagios is meant to not
> crash or bail a running copy if the new config is bad.

If nagios can not start due to a broken config then a restart WILL die. A 
restart is nothing short of a stop and start of the program.

Wether or not an attempt to reload a broken config should result in a 
program failure is not clear to me. But I would consider as-is and would 
not considere it a bug if it would die on a reload of a broken config.

As the admin it is my job to give nagios a sane config. If I fail to 
provide nagios one then I understand nagios is getting rather 
disappointed.

Hugo.

-- 
 	hvdkooij at vanderkooij.org	http://hugo.vanderkooij.org/
 	    This message is using 100% recycled electrons.

 	Some men see computers as they are and say "Windows"
 	I use computers with Linux and say "Why Windows?"
 		(Thanks JFK, for the insight.)

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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