Page 1 of 1

Log files import from core to nagiosXI failure

Posted: Wed May 31, 2017 6:56 am
by igae1
Hello, we're trying to import old Nagios core log files (those in the nagios core "archives" subdirectory) into NagiosXI using the following command:

/usr/local/nagios/bin/log2ndo -s /tmp/nagios-12-31-2016-00.log -d /usr/local/nagios/var/ndo.sock -i "localhost"

No output to /var/log/messages nor mariadb.log or nagios.log
Querying the nagios database, the output for:

select count(*) from nagios_logentries;

shows same number, before and after,
don't see those 2016 registers anywhere

Any hint?
Thanks in advance.

Re: Log files import from core to nagiosXI failure

Posted: Wed May 31, 2017 10:24 am
by avandemore
Can you increase the debug logging in /usr/local/nagios/etc/ndo2db.cfg to maximum and post a /usr/local/nagios/var/ndo2db.debug?

Re: Log files import from core to nagiosXI failure

Posted: Wed Jun 21, 2017 1:25 pm
by tmcdonald
Just checking in since we have not heard from you in a while. Did @avandemore's post clear things up or has the issue otherwise been resolved?