Here my comand
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
from the output I like to eliminate the "used %'=87%;80;90;0;100"
Is the an option to delete this perfdata from comand output ?
Thanks
Emilio
check_nrep 3.2.0 how eliminate used% perfdata
Re: check_nrep 3.2.0 how eliminate used% perfdata
This actually has less to do with check_nrpe and more to do with the CheckDriveSize command for NSClient++.
You can change performance data related items, which is everything that follows the | character in Nagios output, by leveraging the perf-syntax argument. Specifically, by manipulating where used_pct is located (or not located) in your performance data syntax.
See the links provided for more information about each item.
You can change performance data related items, which is everything that follows the | character in Nagios output, by leveraging the perf-syntax argument. Specifically, by manipulating where used_pct is located (or not located) in your performance data syntax.
See the links provided for more information about each item.
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: check_nrep 3.2.0 how eliminate used% perfdata
Thanks for the assist, @mcapra!
Former Nagios employee