Page 1 of 1

Problems with Performance Grapher after I ran out space

Posted: Wed Mar 18, 2015 7:44 am
by bosecorp
I run out space last night and this morning I am getting this error

Re: Problems with Performance Grapher after I ran out space

Posted: Wed Mar 18, 2015 8:50 am
by tmcdonald
Just to be clear, did you free up space?

Re: Problems with Performance Grapher after I ran out space

Posted: Wed Mar 18, 2015 9:05 am
by bosecorp
Yes,
the npcd server was down. it;s up now.

but I still have the database maintenance icon in red.

I try to repair the mysql database, but it did not help

Re: Problems with Performance Grapher after I ran out space

Posted: Wed Mar 18, 2015 10:36 am
by abrist
Database maint is run on a cron. Try restarting crond and waiting 15 or so minutes before checking the icon again:

Code: Select all

service crond rstart

Re: Problems with Performance Grapher after I ran out space

Posted: Wed Mar 18, 2015 10:40 am
by bosecorp
I restarted nagios and back to normal.

what especifically runs in cron

this is the only thing i see in cron

# Crontab structure
# minute The minute of the hour, 0-59
# hour The hour of the day, 0-23
# monthday The day of the month, 1-31
# month The month of the year, 1-12
# weekday The day of the week, 0-6, 0=Sunday
###################################################
# Following line Added by Unix Admin to Monitor System performance.
#0,5,10,15,20,25,30,35,40,45,50,55 * * * * /ubshomes/Spherion/Spherion_Monitor_Performance.sh >/dev/null 2>/dev/null
0 7 * * * /store/nagios_bck_cleanup 2>/dev/null >/dev/null
#
# The following is bieng added to prevent the /var from filling up due to hhtp errors
# logged to /var/log/httpd and /tmp from filling up the inode limit with /tmp/c....ok
# and /tmp/c<a-zA-Z><a-zA-Z><a-zA-Z><a-zA-Z><a-zA-Z><a-zA-Z> files
# Mike Weber owes answers to both
15 * * * * cat /dev/null > cat /dev/null > /var/log/httpd/error_log ; cat /dev/null > /var/log/httpd/ssl_error_log ; rm -f /var/log/httpd/*_log-20*
20 * * * * rm -f /var/log/*-2014*
20 1,6,11,16,21 * * * rm -f /tmp/*.ok ; rm -f /tmp/c[0-9a-zA-Z][0-9a-zA-Z][0-9a-zA-Z][0-9a-zA-Z][0-9a-zA-Z][0-9a-zA-Z]
~
~
~
~

Re: Problems with Performance Grapher after I ran out space

Posted: Wed Mar 18, 2015 10:52 am
by abrist
Nagios XI crons are located at:

Code: Select all

cat /etc/cron.d/nagiosxi
The dbmaint cron is:

Code: Select all

*/5 * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/dbmaint.php > /usr/local/nagiosxi/var/dbmaint.log 2>&1

Re: Problems with Performance Grapher after I ran out space

Posted: Wed Mar 18, 2015 1:19 pm
by bosecorp
thanks. problem solved.
please close this ticket

Re: Problems with Performance Grapher after I ran out space

Posted: Wed Mar 18, 2015 1:20 pm
by cmerchant
We'll go ahead and close the thread. Thanks.