Problems with Performance Grapher after I ran out space

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Problems with Performance Grapher after I ran out space

Post by bosecorp »

I run out space last night and this morning I am getting this error
You do not have the required permissions to view the files attached to this post.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Problems with Performance Grapher after I ran out space

Post by tmcdonald »

Just to be clear, did you free up space?
Former Nagios employee
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: Problems with Performance Grapher after I ran out space

Post 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
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Problems with Performance Grapher after I ran out space

Post 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
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.
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: Problems with Performance Grapher after I ran out space

Post 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]
~
~
~
~
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Problems with Performance Grapher after I ran out space

Post 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
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.
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: Problems with Performance Grapher after I ran out space

Post by bosecorp »

thanks. problem solved.
please close this ticket
cmerchant
Posts: 546
Joined: Wed Sep 24, 2014 11:19 am

Re: Problems with Performance Grapher after I ran out space

Post by cmerchant »

We'll go ahead and close the thread. Thanks.
Locked