check_nrep 3.2.0 how change the default warning value
Posted: Wed Jul 05, 2017 4:40 am
Check_nrpe 3.2.0
Nagios core 4.2.1
check_nrpe -H 10.205.143.15 -c CheckDriveSize -a ShowAll=long Drive=S:\\archivegroups01\\archive2
WARNING warning(S:\archivegroups01\archive2: Total: 2.881TB - Used: 2.51TB (88%) - Free: 379.87GB (12%))|'S:\archivegroups01\archive2 used'=2.50976TB;2.30458;2.59266;0;2.88073 'S:\archivegroups01\archive2 used %'=87%;80;90;0;100
I like to change the WARNING value when the disk has a free space less 100GB and I used
check_nrpe -H 10.205.143.15 -c CheckDriveSize "MinWarnFree<100GB" -a ShowAll=long Drive=S:\\archivegroups01\\archive2
WARNING warning(S:\archivegroups01\archive2: Total: 2.881TB - Used: 2.51TB (88%) - Free: 379.87GB (12%))|'S:\archivegroups01\archive2 used'=2.50976TB;2.30458;2.59266;0;2.88073 'S:\archivegroups01\archive2 used %'=87%;80;90;0;100
The free space is 379.87GB , I used MinWarnFree<100GB but the check still is WARN
Why ?
Thanks for the Help
Emilio
Nagios core 4.2.1
check_nrpe -H 10.205.143.15 -c CheckDriveSize -a ShowAll=long Drive=S:\\archivegroups01\\archive2
WARNING warning(S:\archivegroups01\archive2: Total: 2.881TB - Used: 2.51TB (88%) - Free: 379.87GB (12%))|'S:\archivegroups01\archive2 used'=2.50976TB;2.30458;2.59266;0;2.88073 'S:\archivegroups01\archive2 used %'=87%;80;90;0;100
I like to change the WARNING value when the disk has a free space less 100GB and I used
check_nrpe -H 10.205.143.15 -c CheckDriveSize "MinWarnFree<100GB" -a ShowAll=long Drive=S:\\archivegroups01\\archive2
WARNING warning(S:\archivegroups01\archive2: Total: 2.881TB - Used: 2.51TB (88%) - Free: 379.87GB (12%))|'S:\archivegroups01\archive2 used'=2.50976TB;2.30458;2.59266;0;2.88073 'S:\archivegroups01\archive2 used %'=87%;80;90;0;100
The free space is 379.87GB , I used MinWarnFree<100GB but the check still is WARN
Why ?
Thanks for the Help
Emilio