DISK CRITICAL - Problem filesysteme /data

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
yza
Posts: 4
Joined: Fri Sep 22, 2017 4:42 am

DISK CRITICAL - Problem filesysteme /data

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: DISK CRITICAL - Problem filesysteme /data

Post by scottwilkerson »

Are this mounted shares? If this is the case you may need to be sure the nagios user has access to them.
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
yza
Posts: 4
Joined: Fri Sep 22, 2017 4:42 am

Re: DISK CRITICAL - Problem filesysteme /data

Post 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 ...
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: DISK CRITICAL - Problem filesysteme /data

Post 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"
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
yza
Posts: 4
Joined: Fri Sep 22, 2017 4:42 am

Re: DISK CRITICAL - Problem filesysteme /data

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: DISK CRITICAL - Problem filesysteme /data

Post 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
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked