System Info
Linux Distribution and version?
*Linux fwapp003.wvus.org 2.6.18-371.4.1.el5PAE #1 SMP Thu Jan 30 06:51:58 EST 2014 i686 i686 i386 GNU/Linux
CentOS release 5.10 (Final)
32 or 64bit?
32 bit
VMware Image or Manual Install of XI?
VMware Image
Are there specials configurations on your system, ie; is Gnome installed? Are you using a proxy? Are you using SSL?
Forced SSL on NagiosXi login web screen
Nagios Xi version: Nagios XI 2012R2.8
Issue:
Nagios Server Disk Usage filled and crashed the server I attached some info from the logs. Logs were manually cleared and server is back up now.
All server applications halted.
What would have caused this?
Please help with Root Cause Analysis, as we cannot afford for this to happen again.
Nagios Server Disk Usage filled by error log
Nagios Server Disk Usage filled by error log
You do not have the required permissions to view the files attached to this post.
Re: Nagios Server Disk Usage filled by error log
I presume you answered this question yourself earlier:ecarrasq wrote:What would have caused this?
When the disk fills up, services cannot create lock files, halting their startup.ecarrasq wrote:Nagios Server Disk Usage filled and crashed the server
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Nagios Server Disk Usage filled by error log
Thanks, but what error would have caused this log file to fill up?
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Nagios Server Disk Usage filled by error log
So to resovle your issue, how did you free up disk space? Delete some files? Where were they located?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Nagios Server Disk Usage filled by error log
We were able to "fix" the current issue, but we need to know the cause, so it doesn't happen again.Echoed out all Apache error logs
Purged /usr/local/nagvis/var/nagvis-audit.log
Configured new cronjob for 6am daily to purge echo > /usr/local/nagvis/var/nagvis-audit.log
Checked perms on /usr/local/nagiosxi/html/images/locale/.htaccess - file doesn't exist
Created file - touch /usr/local/nagiosxi/html/images/locale/.htaccess
Changed ownership of file - chown nagios:nagios /usr/local/nagiosxi/html/images/locale/.htaccess
Checked apache logs again, /var/www/html/favicon.ico didn't exist
Created file - touch /var/www/html/favicon.ico, default perms of 644 were picked up on creation
Re: Nagios Server Disk Usage filled by error log
Did you check which log filled up the most? This can give you a hint where to look for the issue.
You can clear the biggest log files (if you don't need the info) with "cat /dev/null > <your log file>" and check later how fast (and which ones) they are growing:
You can clear the biggest log files (if you don't need the info) with "cat /dev/null > <your log file>" and check later how fast (and which ones) they are growing:
Code: Select all
du -a /var/log/ | sort -n -r | head -n 10
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Nagios Server Disk Usage filled by error log
Did you check which log filled up the most?
the /var/log/httpd/error.log
Also, what is on line 93, as the error.log was full of the following error (We cannot see it, as the coreuiproxy.inc.php is encrypted):
PHP Warning: feof(): supplied argument is not a valid stream resource in /usr/local/nagiosxi/html/includes/components/nagioscore/coreuiproxy.inc.php on line 93, referer: https://fwapp003.wvus.org/nagiosxi/views/
the /var/log/httpd/error.log
Also, what is on line 93, as the error.log was full of the following error (We cannot see it, as the coreuiproxy.inc.php is encrypted):
PHP Warning: feof(): supplied argument is not a valid stream resource in /usr/local/nagiosxi/html/includes/components/nagioscore/coreuiproxy.inc.php on line 93, referer: https://fwapp003.wvus.org/nagiosxi/views/
-
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Nagios Server Disk Usage filled by error log
Do you have any views that are pointing to pages that are non standard in Nagios XI? I.e. (not pages you grabbed using the get-permalink icon). I'd definitely clear some of your old apache logs if I were you, keep around a few of the most recent ones as we might need them to help troubleshoot.