Performance Counter Output Format

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
nanz28v
Posts: 70
Joined: Tue Dec 11, 2012 2:59 pm

Performance Counter Output Format

Post by nanz28v »

In Nagios XI Windows Server Monitoring Wizard Step 3 there are options to monitor performance counters. This is in the field Performance Counter Output Format for the default counter Page File Usage:

Paging File usage is %.2f %%

What does "%.2f %%" stand for?
Is there a complete guide on these variables so I can customize my own Performance Counter Output Format field for other performance counters?
Thank you.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Performance Counter Output Format

Post by sreinhardt »

There are a couple different locations to understand plugins and performance data. The Core Administrators Guide: Performance Data is a great start, Plugin Developer Guidelines is another

As for the Pagefile usage, we do not currently have a document specifying how that works. The way I understand it is; the first % is and escape for the period, which begins an expression to take in a float value and use the first two numbers after the period. The final two % signs are to escape and properly insert a % into the final output.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Locked