icinga-powershell-plugins
icinga-powershell-plugins copied to clipboard
Invoke-IcingaCheckPerfcounter strange perfdata output with new metrics layout
We use Invoke-IcingaCheckPerfcounter to monitor CPU usage for an array of processes. Till version 1.9.x that worked fine and honestly I didn't check in detail after upgrading to 1.10.x and 1.11.x with the new performance-data metrics.
But as we're currently facing high CPU load on some servers I tried to execute the command as before. Result is, that the performance data does not know to which instance of the process that data belongs:
It doesn't make sense when checking an array of multiple counters and all are shown as "process::...".
Accidently I made a mistake and forgot to enter ")" after the instance name, and now category and instance name of the counter are shown as in older versions (as example "processwinlogon:...":
Is that a bug or by design?