Delay in updation of Nagios Front end screen

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Delay in updation of Nagios Front end screen

Post by benjaminsmith »

Hello @Jatindeepsharma,

If you're going to add more services and hosts, you're going to either have to break this up into multiple XI servers or setup distributed monitoring with Mod-Gearman workers.

However, Mod-Gearman will not help with passive checks. Do you know how many of the 149,424 checks are active vs passive?

Since this is a VM, I would recommend increasing the number of CPU cores.

To re-start Nagios XI and clear kernel message queue, run the following command.

Code: Select all

service crond stop
service npcd stop
service nagios stop
service ndo2db stop
pkill -9 -u nagios
for i in $(ipcs -q | grep nagios |awk '{print $2}'); do ipcrm -q $i; done
rm -rf /usr/local/nagiosxi/var/dbmaint.lock
rm -rf /usr/local/nagiosxi/var/event_handler.lock
rm -rf /usr/local/nagiosxi/scripts/reconfigure_nagios.lock
service mysqld restart
service ndo2db start
service nagios start
service npcd start
service crond start

As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
jatindeepsharma
Posts: 70
Joined: Wed Apr 04, 2018 10:52 am

Re: Delay in updation of Nagios Front end screen

Post by jatindeepsharma »

Hello Benjamin,
Can you please reply?

Regards
Jatindeep
jatindeepsharma
Posts: 70
Joined: Wed Apr 04, 2018 10:52 am

Re: Delay in updation of Nagios Front end screen

Post by jatindeepsharma »

Dear Benjamin,
Thank you so much for your help, I have no idea how to check how many checks are active & passive?
Please guide me.
Please help me to break this up into multiple XI servers. i want to learn this process.

Regards
Jatindeep Sharma
jatindeepsharma
Posts: 70
Joined: Wed Apr 04, 2018 10:52 am

Re: Delay in updation of Nagios Front end screen

Post by jatindeepsharma »

Hello @Benjaminsmith,
I have increased CPU cores from 4 to 8 on my system & monitoring system now.
Please guide me how can i break this up into multiple XI servers & how can i do active -passive checks?

Regards
Jatindeep
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Delay in updation of Nagios Front end screen

Post by benjaminsmith »

Hello Jatindeepsharma,

Did you notice any improvement when you add more CPU cores?

Not sure of the exact version of the dashlet you have, but If you go to Home > Performance and view the Monitoring Engine Check Statistics it will display the current number of active and passive checks.

To split the servers, perform a backup and restore to a new server, and then disable or delete the hosts and services that you don't want to run on each machine.

https://assets.nagios.com/downloads/nag ... ios-XI.pdf
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
jatindeepsharma
Posts: 70
Joined: Wed Apr 04, 2018 10:52 am

Re: Delay in updation of Nagios Front end screen

Post by jatindeepsharma »

Hello @Benjaminsmith,
CPU usage previously was 95% but right now it is around 37%.It is improved a lot. Thanks for your valuable suggestion, but Still there is delay in messages of about 30 minutes at front end.
how can i get that thing reduced? Can you please suggest?


Output of dashlet is:-
Home > Performance and view the Monitoring Engine Check Statistics



Monitoring Performance

Monitoring Engine Check Statistics
Metric
Value
Active Host Checks
1-min 0

5-min 0

15-min 0

Passive Host Checks
1-min 0

5-min 0

15-min 0

Active Service Checks
1-min 0

5-min 0

15-min 0

Passive Service Checks
1-min 71

5-min 196

15-min 427

Last Updated: 2019-12-09 16:41:20
jatindeepsharma
Posts: 70
Joined: Wed Apr 04, 2018 10:52 am

Re: Delay in updation of Nagios Front end screen

Post by jatindeepsharma »

Current version of my machine is :
Nagios XI Installation Profile
Download Profile
System:
Nagios XI Version : 2014R1.1
NagiosXI 2.6.32-431.11.2.el6.x86_64 x86_64
CentOS release 6.5 (Final)
Gnome Installed
jatindeepsharma
Posts: 70
Joined: Wed Apr 04, 2018 10:52 am

Re: Delay in updation of Nagios Front end screen

Post by jatindeepsharma »

Hi Benjaminsmith,
On Nagios SQL server the size of /var/log/mysqld.log is around 20GB? can that also affect performance?
How can i get rid of those logs?
These are just error logs from 2018 & 2019. Please suggest.

Regards
JD
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Delay in updation of Nagios Front end screen

Post by benjaminsmith »

Hi JD,

No, that will just require additional disk space to store. Typically, the logs are archived by logrotate. You can view the configurations in /etc/logrotate.d.

See:
logrotate(8) - Linux man page
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
jatindeepsharma
Posts: 70
Joined: Wed Apr 04, 2018 10:52 am

Re: Delay in updation of Nagios Front end screen

Post by jatindeepsharma »

Hi @Benjaminsmith,

Is there any way out that we can set unlimited hosts on single machine?

Regards
JD
Locked