Hi Team,
We have Nagios XI Server with version 5.7.3 and it has two worker servers. One of the worker servers is getting disk root alert.
when we checked the logs and found that host-perfdata under /usr/local/nagios/var is consuming more space (Nearly half of the filesystem).
Please find Attachment for reference.
Appreciate your help in clearing the host-perfdata.
How to clear host-perfdata under root which is consuming lot
How to clear host-perfdata under root which is consuming lot
You do not have the required permissions to view the files attached to this post.
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: How to clear host-perfdata under root which is consuming
Hi,
So, after looking this over some more, there's an issue processing performance data, please send us a current system profile and we''ll check the logs and settings. Thanks, Benjamin
To send us your system profile.
Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
So, after looking this over some more, there's an issue processing performance data, please send us a current system profile and we''ll check the logs and settings. Thanks, Benjamin
To send us your system profile.
Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
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!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: How to clear host-perfdata under root which is consuming
Hi Benjamin ,
I have sent PM to you with system profile of worker server.
please have a look.
Thanks & Regards,
Chandra
I have sent PM to you with system profile of worker server.
please have a look.
Thanks & Regards,
Chandra
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: How to clear host-perfdata under root which is consuming
HI Chandra,
So there are a couple of issues here. The first is corrupted database tables, which's likely affecting performance but probably not the graphs.
The other thing I noticed is a Ramdisk has been implemented.
However, not all the commands have been set up to point to the new path so the data is not getting processed properly.
There are a number of places that need updates when implementing a ramdisk, please follow the steps in the guide below to update those, and let me know. Take a look at page 2 for a listing of all the files to change.
https://assets.nagios.com/downloads/nag ... giosXI.pdf
After making those changes, let me know if the issue is fixed.
So there are a couple of issues here. The first is corrupted database tables, which's likely affecting performance but probably not the graphs.
Log in to the CLI as root and run the following command to fix the database. Let me know if it is not successful.210720 16:55:02 [ERROR] mysqld: Table './nagios/nagios_notifications' is marked as crashed and last (automatic?) repair failed
Code: Select all
/usr/local/nagiosxi/scripts/repair_databases.sh
Code: Select all
define command {
command_name process-host-perfdata-file-bulk
command_line /bin/mv /var/nagiosramdisk/host-perfdata /var/nagiosramdisk/spool/xidpe/$TIMET$.perfdata.host
}
Code: Select all
Nagios.cfg
host_perfdata_file=/usr/local/nagios/var/host-perfdata
https://assets.nagios.com/downloads/nag ... giosXI.pdf
After making those changes, let me know if the issue is fixed.
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!
Be sure to check out our Knowledgebase for helpful articles and solutions!