You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assignee: jflach
Status: Resolved (closed on 2016-09-08 14:40:04 +00:00)
Target Version: 2.6.0
Last Update: 2016-12-12 12:24:28 +00:00 (in Redmine)
Icinga Version: v2.3.10
Backport?: Not yet backported
Include in Changelog: 1
The values of the windows plugin check_perfmon differ between double and long when the value should be 8:
Format double:
C:\Program Files (x86)\ICINGA2\sbin>check_perfmon.exe -P "\MSExchangeIS Client(*)\RPC Average Latency" --fmt-countertype double
PERFMON OK "\MSExchangeIS Client()\RPC Average Latency" = 3.95253e-323 | perfmon=3.95253e-323;;;; "\MSExchangeIS Client()\RPC Average Latency"=3.95253e-323
Format long:
C:\Program Files (x86)\ICINGA2\sbin>check_perfmon.exe -P "\MSExchangeIS Client(*)\RPC Average Latency" --fmt-countertype long
PERFMON OK "\MSExchangeIS Client()\RPC Average Latency" = 8 | perfmon=8;;;; "\MSExchangeIS Client()\RPC Average Latency"=8
I could confirm this using the Processor Counter, using long and int64 it works as expected but using double it just prints 0.
Not using any fmt-counterype does work again, yet double should be the default.
I can"t look into it more at the moment, but the --fmt-countertype option is one that needs a review of its usefulness (since it does not seem to do anything)
Subject changed from Windows Agent: check_perfmon delivers sometimes weird values to Windows Agent: Performance data values for check_perfmon.exe are invalid sometimes
This issue has been migrated from Redmine: https://dev.icinga.com/issues/10487
Created by DreiIT on 2015-10-29 11:59:31 +00:00
Assignee: jflach
Status: Resolved (closed on 2016-09-08 14:40:04 +00:00)
Target Version: 2.6.0
Last Update: 2016-12-12 12:24:28 +00:00 (in Redmine)
The values of the windows plugin check_perfmon differ between double and long when the value should be 8:
Format double:
C:\Program Files (x86)\ICINGA2\sbin>check_perfmon.exe -P "\MSExchangeIS Client(*)\RPC Average Latency" --fmt-countertype double
PERFMON OK "\MSExchangeIS Client()\RPC Average Latency" = 3.95253e-323 | perfmon=3.95253e-323;;;; "\MSExchangeIS Client()\RPC Average Latency"=3.95253e-323
Format long:
C:\Program Files (x86)\ICINGA2\sbin>check_perfmon.exe -P "\MSExchangeIS Client(*)\RPC Average Latency" --fmt-countertype long
PERFMON OK "\MSExchangeIS Client()\RPC Average Latency" = 8 | perfmon=8;;;; "\MSExchangeIS Client()\RPC Average Latency"=8
Changesets
2016-09-08 14:37:09 +00:00 by jflach 3e7b943
The text was updated successfully, but these errors were encountered: