Page 1 of 1
ndo2db causing high cpu load
Posted: Thu Oct 20, 2016 3:03 am
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
Re: ndo2db causing high cpu load
Posted: Thu Oct 20, 2016 9:09 am
by eloyd
Need details on machine specs and OS.
CPU(s) and type?
Memory?
Operating system?
Re: ndo2db causing high cpu load
Posted: Thu Oct 20, 2016 9:58 am
by vy3734
4 CPU Intel(R) Xeon(R) CPU E5-2690 v3 @ 2.60GHz
32 GB
Linux redhat 6.7
Re: ndo2db causing high cpu load
Posted: Thu Oct 20, 2016 10:42 am
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.
Re: ndo2db causing high cpu load
Posted: Tue Nov 08, 2016 8:52 pm
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
Re: ndo2db causing high cpu load
Posted: Wed Nov 09, 2016 11:21 am
by rkennedy
Will do, feel free to open a new thread if you have any questions in the future about it.