Nagios - Inodes & XIDPE

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
peterepka
Posts: 20
Joined: Wed Aug 13, 2014 11:23 am

Nagios - Inodes & XIDPE

Post by peterepka »

Hi

I have a couple of problems.

1) my indoes is in use at 100%. when i run df -ih, i see
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/mapper/VolGroup-lv_root
1.1M 1.1M 1.3K 100% /


How can I empty out/remove the inodes.

2) I have nearly 5GB of data in XIDPE
How can i remove all contents of this folder.

I've tried "rm -rf *" however it errors out saying
-bash: /bin/rm: Argument list too long

Thanks in advance
peterepka
Posts: 20
Joined: Wed Aug 13, 2014 11:23 am

Re: Nagios - Inodes & XIDPE

Post by peterepka »

Hi

I've found a solution and run
"find . -type f -delete"
within /usr/local/nagios/var/spool/xidpe

This has deleted all contents of that directory.

Has also freed up inode space as well.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagios - Inodes & XIDPE

Post by tgriep »

Thanks for posting back here. Shall we mark this post as solved and lock it up?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked