Page 1 of 1
check_disk
Posted: Wed Jun 25, 2014 3:33 am
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
Re: check_disk
Posted: Wed Jun 25, 2014 6:18 am
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
Re: check_disk
Posted: Wed Jun 25, 2014 6:52 am
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
Re: check_disk
Posted: Wed Jun 25, 2014 9:03 am
by tmcdonald
Do those numbers look accurate? If so I'd like to close up this thread.
Re: check_disk
Posted: Thu Jun 26, 2014 5:18 am
by hanya.radwan
all of things are Ok, please close it