Service Output Check_pdh

Engage with the community of users including those using the open source solutions.
Includes Nagios Core, Plugins, and NCPA

Service Output Check_pdh

Postby ofeist » 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:

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?

“The Earth is a fine place and worth fighting for.”
Posts: 3
Joined: Wed Mar 20, 2019 9:25 am
Location: HH, Germany

Return to Community Support

Who is online

Users browsing this forum: No registered users and 33 guests