NSClient 0.4.3.143 - top/detail/perf Syntax Explanation
Posted: Fri Aug 07, 2015 7:02 am
Hi,
I'm trying to understand what detail-syntax, top-syntax and perf-syntax do and how they're meant to be used. The documentation for check_drivesize (http://docs.nsclient.org/0.4.2/referenc ... _drivesize) doesn't seem to be very detailed and the samples (http://docs.nsclient.org/samples/index. ... -drivesize) don't explain this either.
If 'perf-syntax' only controls the first field for each set of data for Performance Data, I assume 'perf-config' controls the actual values? But since 'perf-config' is also not documented I'm not sure what these values can be set to
It seems regardless what I put into perf-config the output is the same.
The reason I came across this was because with 0.4.1.105 using 'checkdrivesize' the OK status reported as "OK: C:: Total: 49.9G - Used: 24.4G (48%) - Free: 25.5G (52%)" but with 0.4.3.143 'check_drivesize' reports OK status as "OK All 1 drive(s) are ok". I'd like to have the OK status still report drive sizes and I believe this is done with one of these syntax commands.
Thanks for any help.
I'm trying to understand what detail-syntax, top-syntax and perf-syntax do and how they're meant to be used. The documentation for check_drivesize (http://docs.nsclient.org/0.4.2/referenc ... _drivesize) doesn't seem to be very detailed and the samples (http://docs.nsclient.org/samples/index. ... -drivesize) don't explain this either.
If 'perf-syntax' only controls the first field for each set of data for Performance Data, I assume 'perf-config' controls the actual values? But since 'perf-config' is also not documented I'm not sure what these values can be set to
Code: Select all
'C:\ free'=21.26368GB;20;10;0;49.65527 'C:\ free %'=42%;40;20;0;100 'E:\ free'=129.35789GB;20;10;0;199.99706 'E:\ free %'=64%;10;5;0;100Thanks for any help.