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.
Log files import from core to nagiosXI failure
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: Log files import from core to nagiosXI failure
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
Re: Log files import from core to nagiosXI failure
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