Page 1 of 1

DISK CRITICAL - Problem filesysteme /data

Posted: Fri Sep 22, 2017 4:55 am
by yza
Hi

I have just installed my first platform NAGIOS CORE.
That works very well :) , I monitor 2 Windows servers and 2 redhat servers for the moment.

I have a small problem on my redhat Linux servers.
I can watch with no problem at all filesysteme/, / the Var, / opt, / boot but filesysteme / data and / dumps do not work.

I have the message below
DISK CRITICAL - /data is not accessible: No such file or directory
DISK CRITICAL - /dumps is not accessible: No such file or directory

I do not understand, filesysteme I exist also tried with /dev/cciss/c0d0p7 it doesn’twork

Have you an idea? :idea:

Thank you very much
Isabelle

Re: DISK CRITICAL - Problem filesysteme /data

Posted: Fri Sep 22, 2017 8:50 am
by scottwilkerson
Are this mounted shares? If this is the case you may need to be sure the nagios user has access to them.

Re: DISK CRITICAL - Problem filesysteme /data

Posted: Fri Sep 22, 2017 9:48 am
by yza
Hi scottwilkerson,

It's not mounted shares, it's local filesysteme

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/cciss/c0d0p2 5039616 3126544 1657072 66% /
tmpfs 16438600 0 16438600 0% /dev/shm
/dev/cciss/c0d0p1 495844 37681 432563 9% /boot
/dev/cciss/c0d0p7 266556208 139712360 113303496 56% /data
/dev/cciss/c0d0p3 5039616 1204840 3578776 26% /opt
/dev/cciss/c0d0p6 2015824 166352 1747072 9% /var


Yes the user is in the group for acces to /data ...

Re: DISK CRITICAL - Problem filesysteme /data

Posted: Fri Sep 22, 2017 11:14 am
by scottwilkerson
On the machine in question can you execute the following command and report the output

Code: Select all

sudo su nagios -c "/usr/local/nagios/libexec/check_disk  -w 10% -c 5% -p /data"

Re: DISK CRITICAL - Problem filesysteme /data

Posted: Mon Sep 25, 2017 4:18 am
by yza
Hi scottwilkerson,

Attached the result of the command :

[root@orion linux-nrpe-agent]# sudo su nagios -c "/usr/local/nagios/libexec/check_disk -w 10% -c 5% -p /data"
DISK OK - free space: /data 110647 MB (44.78% inode=100%);| /data=136437MB;234277;247292;0;260308
[root@orion linux-nrpe-agent]#

best reagards
Isabelle

Re: DISK CRITICAL - Problem filesysteme /data

Posted: Mon Sep 25, 2017 11:11 am
by scottwilkerson
That appears to be working fine,m can you show the command that you are using from your nagios server that is producing?

Code: Select all

DISK CRITICAL - /data is not accessible: No such file or directory
DISK CRITICAL - /dumps is not accessible: No such file or directory