Page 1 of 1

Service Output Check_pdh

Posted: Tue Sep 21, 2021 12:36 pm
by ofeist
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:

Code: Select all

[b]OK: \DNS\Secure Update Failure = 6.71696e+006[/b]
How can I change it to a readable number or is that not possible?

My goal would be something like:

Code: Select all

[b]OK: 123456789[/b]
Anyone any ideas how to handle this?

Cheers,
Olli