Page 1 of 1

Problems checking partitions

Posted: Wed Feb 09, 2011 9:04 am
by SirLouen
I have recently configured a new command to be excuted

check_command check_local_disk!20%!10%!/

This perfectly works

But


check_command check_local_disk!20%!10%!/u2
Sends this error:
DISK CRITICAL - /u2 is not accessible: No such file or directory

In that server im trying to monitor:

#df -h
/dev/sda2 32G 2.7G 28G 9% /
/dev/sda1 97M 15M 77M 17% /boot
/dev/sdb 68G 13G 52G 20% /u2

Is ok that ... what might be happening?

Re: Problems checking partitions

Posted: Mon Feb 14, 2011 6:20 am
by SirLouen
I' ve been wandering around but have not find any solution.... any ideas regarding this issue?

Thanks!

Re: Problems checking partitions

Posted: Mon Feb 14, 2011 10:38 am
by mguthrie
Do you get the same results with the "/boot" drive?

Try running the check manually from the command line to check. Go to your Nagios plugins directory and run the full check with all of the arguments to test it out.

Should look something like this:

Code: Select all

./check_disk -w 20 -c 10 -p /

Re: Problems checking partitions

Posted: Wed Feb 16, 2011 3:53 am
by SirLouen
Ok, problem was my own confussion. I needed to install NRPE to check all this. I thought I could check it all without any plugin like windows based remote clients (don't know exactly why I got to this conclusion), and forgot to say in the first message, that problems were with a remote host, not with the local one :o
Thanks for all

Re: Problems checking partitions

Posted: Wed Feb 16, 2011 10:53 am
by mguthrie
No problem, glad you got it up and running!