Problems checking partitions

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
SirLouen
Posts: 6
Joined: Wed Sep 15, 2010 8:04 am

Problems checking partitions

Post 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?
SirLouen
Posts: 6
Joined: Wed Sep 15, 2010 8:04 am

Re: Problems checking partitions

Post by SirLouen »

I' ve been wandering around but have not find any solution.... any ideas regarding this issue?

Thanks!
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Problems checking partitions

Post 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 /
SirLouen
Posts: 6
Joined: Wed Sep 15, 2010 8:04 am

Re: Problems checking partitions

Post 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
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Problems checking partitions

Post by mguthrie »

No problem, glad you got it up and running!
Locked