Re: [Nagios-devel] NDOutils and cfg_dir
Posted: Wed Oct 17, 2007 8:32 am
Andreas Kasenides wrote:
> I seem to remember reading something about this some time back,
> but my search did not turn anything so here it goes:
>
> I am using Nagios 2.7, ndoutils 1.4b6 and it seems that when I use
> several cfg_dir in my nagios.cfg the corresponding table in the DB
> (_configvariables) will only retain one record for a cfg_dir (varname =
> cfg_dir), the last one.
> The exact same thing happens with cfg_file variables.
>
> As far as I can tell this behaviour was the same in ndoutils 1.4b2.
> Any idea why?
Probably because the column has the "UNIQUE" property. I don't know
for sure though, as I don't use ndoutils.
--
Andreas Ericsson [email protected]
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
> I seem to remember reading something about this some time back,
> but my search did not turn anything so here it goes:
>
> I am using Nagios 2.7, ndoutils 1.4b6 and it seems that when I use
> several cfg_dir in my nagios.cfg the corresponding table in the DB
> (_configvariables) will only retain one record for a cfg_dir (varname =
> cfg_dir), the last one.
> The exact same thing happens with cfg_file variables.
>
> As far as I can tell this behaviour was the same in ndoutils 1.4b2.
> Any idea why?
Probably because the column has the "UNIQUE" property. I don't know
for sure though, as I don't use ndoutils.
--
Andreas Ericsson [email protected]
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]