ndo2db causing high cpu load

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
vy3734
Posts: 109
Joined: Tue Sep 29, 2015 4:48 pm

ndo2db causing high cpu load

Post by vy3734 »

cpu load is jumping up to 50-80 when ndo2db is running. Only seeing this issue on one of the server even though all of the servers having same nagiosxi version 5.2.3. I have to disable performance data, comment out chmod and chown in resert_config_perms.sh and restart ndo2db for the cpu load to go down.

process_performance_data=0

#/bin/chmod -R 775 /usr/local/nagios/share/perfdata/
#/bin/chown -R $nagiosuser.$nagiosgroup /usr/local/nagios/share/perfdata
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: ndo2db causing high cpu load

Post by eloyd »

Need details on machine specs and OS.

CPU(s) and type?
Memory?
Operating system?
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
vy3734
Posts: 109
Joined: Tue Sep 29, 2015 4:48 pm

Re: ndo2db causing high cpu load

Post by vy3734 »

4 CPU Intel(R) Xeon(R) CPU E5-2690 v3 @ 2.60GHz
32 GB
Linux redhat 6.7
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: ndo2db causing high cpu load

Post by rkennedy »

The specs are suitable. How many hosts / services do you have? Could you PM over a profile for us to review?

This could be many different things. Usually, if ndo2db has a high load, I recommend repairing your databases by running the /usr/local/nagiosxi/scripts/repair_databases.sh script.
Former Nagios Employee
vy3734
Posts: 109
Joined: Tue Sep 29, 2015 4:48 pm

Re: ndo2db causing high cpu load

Post by vy3734 »

we found out that there was an issue on OS side. Chmod and chown commands take long time to execute. Please close this thread. Thanks
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: ndo2db causing high cpu load

Post by rkennedy »

Will do, feel free to open a new thread if you have any questions in the future about it.
Former Nagios Employee
Locked