Importing nagios core log files into XI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
mon-team
Posts: 171
Joined: Thu Jun 28, 2012 9:22 am

Re: Importing nagios core log files into XI

Post by mon-team »

Hi guys,

I still get the issue.

My sysctl settings look like this:

kernel.shmmax = 4294967295
kernel.shmall = 268435456
kernel.shmmni = 4096
kernel.msgmax = 131072000
kernel.msgmni = 256000
kernel.msgmnb = 131072000

I will appreciate any suggestion.

Thanks

BR
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Importing nagios core log files into XI

Post by abrist »

Did you restart the server after those changes?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
mon-team
Posts: 171
Joined: Thu Jun 28, 2012 9:22 am

Re: Importing nagios core log files into XI

Post by mon-team »

Hi support,

I ran the log2ndo command this morning after having restarted my server. By querying the db, i noticed that only the table nagios_logentries was getting populated. Do you confirm this?
After few minutes, I queried again the db, much to my surprise, i didn't get the last entries i saw before. What do you think about this?

I didn't get mysql or ndo2db error both in /var/log/messages and mysql.log

Thanks

BRegards
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Importing nagios core log files into XI

Post by abrist »

Well, the db could be getting truncated if the log entries are far enough into the past. How recent are these log files?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked