Page 2 of 2

Re: Check_drivespace question

Posted: Thu Nov 15, 2018 10:16 pm
by kwhogster
Still no response from them


Still looking for the answer on this one.

Thank you

Re: Check_drivespace question

Posted: Fri Nov 16, 2018 3:28 pm
by npolovenko
@kwhogster, Have you opened a new issue on the NSClients GitHub page?
https://github.com/mickem/nscp/issues/new
Unfortunately, we don't have control over how fast they respond.

As a temporary workaround, you could create a shell script that would run this command and cut the output to show one drive only.
/usr/lib64/nagios/plugins/check_nrpe -A /usr/local/nagios/certs/ca/anakin-ca.crt -C /usr/local/nagios/certs/nagios_server/nagios_server.crt -K /usr/local/nagios/certs/nagios_server/nagios_server.key -2 -P 8192 -H brandy -t 30 -c check_drivesize -a drive=all-volumes detail-syntax='{${name} ${drive}${free_pct}% free / ${size} total}' top-syntax='${status}: ${problem_list}'