Ran out of Disk Monitoring Engine not running
-
matt.lilek
- Posts: 137
- Joined: Wed Aug 07, 2013 11:53 am
Ran out of Disk Monitoring Engine not running
We ran out of disk again and now the monitoring engine is not working there is a config error that is messing nagios up. dont understand how it wrote 3gb of backup on its own to get full up and mess itself up? What can i do now?
Re: Ran out of Disk Monitoring Engine not running
You need to clear up some space, increase the disk size and most likely restart services or reboot the server. It would be nice to know where all you space went:
You may want to stop nagios, npcd, ndo2db, and mysql:
What is you disk and inode usage right now:
Code: Select all
cd /
find . -type f -print0 | xargs -0 du | sort -n | tail -10 | cut -f2 | xargs -I{} du -sh {}
find . -type d -print0 | xargs -0 du | sort -n | tail -10 | cut -f2 | xargs -I{} du -sh {}
du -hsx * | sort -rh | head -10Code: Select all
service nagios stop
service npcd stop
service ndo2db stop
service mysqld stopCode: Select all
df -h
df -iFormer 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.
-
matt.lilek
- Posts: 137
- Joined: Wed Aug 07, 2013 11:53 am
Re: Ran out of Disk Monitoring Engine not running
sorry i should have metioned that we already increased the space to 80GB now and server is back up now it just config errors and the the monitoring engine will not start
Re: Ran out of Disk Monitoring Engine not running
You will want to restore a previous, working snapshot and then "apply configuration". Go to --> Admin --> config snapshots --> click the "restore" icon (green recycle arrows) for the topmost, working (non-red) snapshot in the list. This will restore the most recent working snapshot. Once restored, try applying the configuration.
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.
-
matt.lilek
- Posts: 137
- Joined: Wed Aug 07, 2013 11:53 am
Re: Ran out of Disk Monitoring Engine not running
Just for fun i did that but the monitoring engine will not start
-
matt.lilek
- Posts: 137
- Joined: Wed Aug 07, 2013 11:53 am
Re: Ran out of Disk Monitoring Engine not running
sorry it did start, looks like we are good again. Just wondering why disk got full again? Folder /etc/nagiosql/backup was 3.9gb now its 86mb. It had hundred of files now it doesnt?
Re: Ran out of Disk Monitoring Engine not running
I'm glad your issue has been resolved! Is "/etc/nagiosql/backup" growing up in size again? Do you see any errors in the mysqld log?
Code: Select all
tail -50 /var/log/mysqld.logBe sure to check out our Knowledgebase for helpful articles and solutions!