Page 1 of 1

ndo2db trucate table restart indexes

Posted: Fri Oct 10, 2014 9:07 am
by andrea.manica
Hi,
I've installed nagios 4.08 with ndo utils
when i restart nagios all hosts and all hosts groups where deleted and created.
is possible to change the configuration in order to mantain data when nagios restart.

thanks

Andrea

Re: ndo2db trucate table restart indexes

Posted: Fri Oct 10, 2014 12:19 pm
by tmcdonald
I'm not sure what you mean by "deleted and created". Do you mean they were, for example, in an OK state and then after the restart they were in a Pending state or something similar?

Re: ndo2db trucate table restart indexes

Posted: Mon Oct 13, 2014 2:29 am
by andrea.manica
It 's like a truncate table.

When I restart nagios form the same configuration file the nagios_host table was truncated and then re pupolated using different id for hosts.

and this is for all the tables.

Re: ndo2db trucate table restart indexes

Posted: Mon Oct 13, 2014 4:29 pm
by abrist
Have you changed the ndo instance in the ndo2db.cfg?
Can you show us the logs of these truncations?