xi 5.4.12 event log disappeared

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: xi 5.4.12 event log disappeared

Post by benhank »

good news the repair worked, after I correctly moved the file.

Here's a few questions:
How do I export that table from my secondary nagios server and import it into my primary, as it will have the data that's missing.
The second question is is it possible to force centos to limit the number of processes nagios runs which will eliminate problems that can only be solved by running the killa-9 nagios command?
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: xi 5.4.12 event log disappeared

Post by npolovenko »

@benhank, In theory, you could drop the nagios_logentries table, recreate it, dump the same table from the server #2 and reimport it into this XI server. However, we have not tested this kind of procedure in the lab. I can not guarantee that this is going to work and I'd highly recommend testing this out on a non-production clone first.
Normally, duplicate processes should not be created. This solution should fix the most common cause of dupliocate nagios processes:
nano /etc/init.d/nagios
Go to line 224 and change:
for i in 1 2 3 4 5 6 7 8 9 10 ; do nagios
to
for i in {1..99} ; do nagios
Save the init script and run the command I gave you earlier to restart all services and kill nagios processes.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: xi 5.4.12 event log disappeared

Post by benhank »

hey thanks man! you can lock it up, and that thanks is a wholehearted grateful one!
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: xi 5.4.12 event log disappeared

Post by npolovenko »

@benhank, Any time! :)
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked