[Nagiosplug-devel] command.cfg.in

Subhendu Ghosh sghosh at sghosh.org
Thu Jun 12 05:12:06 CEST 2003

On Wed, 11 Jun 2003, Jeremy T. Bouse wrote:

> 	In working to get the nagios-plugins packages ready for Debian I was
> running into the interesting problem that Nagios 1.1 was having problems reading
> the command.cfg file saying it found unexpected commands... It seems that it was
> wanting the commands in the template form instead... With this in mind would it
> not be advantagous to go ahead and convert the command.cfg.in to use the
> template format... Possibly also look at seperating the sample configs into
> seperate files even so they could only be installed if the plugin itself was
> installed... 

The generated makefile does not install command.cfg.  So I guess the 
packages are adding that feature in.  I think the thought process was that 
folks would have modified the commands and we didn't want to over-ride 
them on upgrades.

I like the idea of separating the configs into separate files. The cfg_dir 
parameter should be able to suck in all the command definitions.

If we do separate them into files, then template format as default is 



More information about the Devel mailing list