DISK CRITICAL - 20% is not accessible
DISK CRITICAL - 20% is not accessible
Some of my hosts report this, or "DISK CRITICAL - -c is not accessible" They're all lumped together in my config. I've tried carefully retyping one host stanza to no avail. All use the same check_disk command on the server and the same check_disk client (2.0.3) On the server, I can check_nrpe to check disks on these hosts, and it works fine. I've been Googling away, and a lot of people suggest permission errors, but I'm checking '/' The 'nagios' user is the same on all hosts, including a shell of /sbin/nologon I'm really scratching my head here!
Re: DISK CRITICAL - 20% is not accessible
Can you show us the complete check_command that the service is using in conjunction with check_disk? This should help us understand, and be able to replicate on our end.
Former Nagios Employee
Re: DISK CRITICAL - 20% is not accessible
Unfortunately, this issue is on a network with no Internet connectivity. But I'm using the bone-stock, out-of-the-box commands that came with my Nagios (2.0.3 installed on CentOS 6 from EPEL), and all check_disk stanzas for all hosts, working and not, use an identical command: check_nrpe_disk!check_disk!20%!10%!/rkennedy wrote:Can you show us the complete check_command that the service is using in conjunction with check_disk? This should help us understand, and be able to replicate on our end.
Re: DISK CRITICAL - 20% is not accessible
The problem I'm seeing is that it's looking for disk c on a Linux system, please validate your configs and find out which service is passing the c (likely a Windows service check).
Re: DISK CRITICAL - 20% is not accessible
check_nrpe_disk!check_disk!20%!10%!/
I bet the difference is in the nrpe.cfg or common.cfg file with the check_disk definition on that host (most likely order of ARGS).
Check to make sure the command is defined the same on a working host and a non-working host in those files.
I bet the difference is in the nrpe.cfg or common.cfg file with the check_disk definition on that host (most likely order of ARGS).
Check to make sure the command is defined the same on a working host and a non-working host in those files.
Re: DISK CRITICAL - 20% is not accessible
I'll be damned. The nrpe.cfg is different. I change a couple of entries with a sed script, but nothing that would account for this. Oh well, I'll just add another line to hard-set the check_disk command line...ssax wrote:check_nrpe_disk!check_disk!20%!10%!/
I bet the difference is in the nrpe.cfg or common.cfg file with the check_disk definition on that host (most likely order of ARGS).
Check to make sure the command is defined the same on a working host and a non-working host in those files.
Thanks!
Re: DISK CRITICAL - 20% is not accessible
No problem, glad you got that sorted! Are we okay to lock this up and mark it as resolved?
Re: DISK CRITICAL - 20% is not accessible
Absolutelyssax wrote:No problem, glad you got that sorted! Are we okay to lock this up and mark it as resolved?