check_disk

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
hanya.radwan
Posts: 194
Joined: Tue Feb 25, 2014 6:12 am
Location: palestine

check_disk

Post by hanya.radwan »

this command always returns critical and the free , used values are wrong also It seems it doesn't check a specific path(/var):

[root@nms ~]# /usr/local/nagios/libexec/check_nrpe -H 10.103.200.63 -t 120 -c check_disk -a 80% 90% /var
DISK CRITICAL - free space: / 109522 MB (90% inode=99%);| /=11891MB;24282;12141;0;121414
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: check_disk

Post by WillemDH »

Hanya,

My command looks like this and seems to work fine.

Code: Select all

COMMAND: /usr/local/nagios/libexec/check_nrpe -H servername -t 120 -c check_disk -a '-w 15% -c 10% -p /'
OUTPUT: DISK OK - free space: / 35105 MB (80% inode=97%);| /=8492MB;39040;41337;0;45930
Grtz

Willem
Nagios XI 5.8.1
https://outsideit.net
hanya.radwan
Posts: 194
Joined: Tue Feb 25, 2014 6:12 am
Location: palestine

Re: check_disk

Post by hanya.radwan »

I change the command to:

/usr/local/nagios/libexec/check_nrpe -H 10.103.200.63 servername -t 120 -c check_disk -a '-w 15% -c 10% -p /'
DISK OK - free space: / 109522 MB (90% inode=99%); /etc/svc/volatile 14733 MB (99% inode=99%); /lib/libc.so.1 109522 MB (90% inode=99%); /tmp 14733 MB (99% inode=99%); /var/run 14733 MB (99% inode=99%); /export 109522 MB (99% inode=99%); /export/home 109522 MB (92% inode=99%); /rpool1 109522 MB (99% inode=99%);| /=11892MB;121414;121414;0;121414 /etc/svc/volatile=0MB;14734;14734;0;14734 /lib/libc.so.1=11892MB;121414;121414;0;121414 /tmp=19MB;14753;14753;0;14753 /var/run=0MB;14734;14734;0;14734 /export=0MB;109522;109522;0;109522 /export/home=9305MB;118827;118827;0;118827 /rpool1=0MB;109522;109522;0;109522
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: check_disk

Post by tmcdonald »

Do those numbers look accurate? If so I'd like to close up this thread.
Former Nagios employee
hanya.radwan
Posts: 194
Joined: Tue Feb 25, 2014 6:12 am
Location: palestine

Re: check_disk

Post by hanya.radwan »

all of things are Ok, please close it
Locked