Log files import from core to nagiosXI failure

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
igae1
Posts: 57
Joined: Thu May 25, 2017 6:35 am

Log files import from core to nagiosXI failure

Post 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.
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Log files import from core to nagiosXI failure

Post 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?
Previous Nagios employee
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Log files import from core to nagiosXI failure

Post 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?
Former Nagios employee
Locked