Service Output Check_pdh
Posted: Tue Sep 21, 2021 12:36 pm
Hi guys,
I have added a new check today on my environment based on NSClient++:
./check_nrpe -H $HOSTADDRESS$ -c check_pdh -a "counter=\DNS\Secure Update Failure" 'perf-config=*(Secure_Update_Failure)' expand-index
The check itself is working fine, but I want to customize the serivce output. Right now it´s like this:
How can I change it to a readable number or is that not possible?
My goal would be something like:
Anyone any ideas how to handle this?
Cheers,
Olli
I have added a new check today on my environment based on NSClient++:
./check_nrpe -H $HOSTADDRESS$ -c check_pdh -a "counter=\DNS\Secure Update Failure" 'perf-config=*(Secure_Update_Failure)' expand-index
The check itself is working fine, but I want to customize the serivce output. Right now it´s like this:
Code: Select all
[b]OK: \DNS\Secure Update Failure = 6.71696e+006[/b]
My goal would be something like:
Code: Select all
[b]OK: 123456789[/b]
Cheers,
Olli