-
Problem report
-
Resolution: Unresolved
-
Trivial
-
None
-
5.0.27
-
None
The ZBX-20269 issue is back. With IIS, but with different performance counters. Unfortunately, the problem is reproduced only on really working web applications and is not stable: you have to try several times.
~$ zabbix_get -s example.host.com -k 'perf_counter_en[\W3SVC_W3WP(*_DefaultAppPool)\% 500 HTTP Response Sent,60]' 0.000000 ~$ zabbix_get -s example.host.com -k 'perf_counter_en[\W3SVC_W3WP(*_DefaultAppPool)\% 500 HTTP Response Sent,60]' 0.000000 ~$ zabbix_get -s example.host.com -k 'perf_counter_en[\W3SVC_W3WP(*_DefaultAppPool)\% 500 HTTP Response Sent,60]' 0.000000 ~$ zabbix_get -s example.host.com -k 'perf_counter_en[\W3SVC_W3WP(*_DefaultAppPool)\% 500 HTTP Response Sent,60]' 0.000000 ~$ zabbix_get -s example.host.com -k 'perf_counter_en[\W3SVC_W3WP(*_DefaultAppPool)\% 500 HTTP Response Sent,60]' 0.000000 ... ~$ zabbix_get -s stage-app02.stage.dev.flexicapture.com -k 'perf_counter_en[\W3SVC_W3WP(*_Example Web Services)\% 500 HTTP Response Sent,60]' 0.000000 ~$ zabbix_get -s stage-app02.stage.dev.flexicapture.com -k 'perf_counter_en[\W3SVC_W3WP(*_Example Web Services)\% 500 HTTP Response Sent,60]' 0.000000 ~$ zabbix_get -s stage-app02.stage.dev.flexicapture.com -k 'perf_counter_en[\W3SVC_W3WP(*_Example Web Services)\% 500 HTTP Response Sent,60]' ZBX_NOTSUPPORTED: A counter with a negative value was detected. ~$ zabbix_get -s stage-app02.stage.dev.flexicapture.com -k 'perf_counter_en[\W3SVC_W3WP(*_Example Web Services)\% 500 HTTP Response Sent,60]' ZBX_NOTSUPPORTED: A counter with a negative denominator value was detected. ~$ zabbix_get -s stage-app02.stage.dev.flexicapture.com -k 'perf_counter_en[\W3SVC_W3WP(*_Example Web Services)\% 500 HTTP Response Sent,60]' ZBX_NOTSUPPORTED: A counter with a negative denominator value was detected. ~$ zabbix_get -s stage-app02.stage.dev.flexicapture.com -k 'perf_counter_en[\W3SVC_W3WP(*_Example Web Services)\% 500 HTTP Response Sent,60]' 0.000000
Steps to reproduce (first variant):
- Use zabbix agent 2 on IIS host with real working .Net application
- From zabbix server try repeating it repeatedly: zabbix_get -s example.host.com -k 'perf_counter_en[\W3SVC_W3WP(*_Example Web Services)\% 500 HTTP Response Sent,60]'
Result:
See errors ZBX_NOTSUPPORTED: A counter with a negative denominator value was detected. or ZBX_NOTSUPPORTED: A counter with a negative denominator value was detected.
Steps to reproduce (second variant):
- Create Discovery rule with key perf_instance_en.discovery[APP_POOL_WAS] and Item prototype with key perf_counter_en[\W3SVC_W3WP(*_ {#INSTANCE}
)% 500 HTTP Response Sent,60]
- Wait for performance counter items was created on IIS host with real working .Net application
- Look for records in zabbix_agent2.log
Result:
See a lots of records:
Detected performance counter with negative denominator the second time after retry, giving up...
See some records:
check 'perf_counter_en[\W3SVC_W3WP(*_Example Web Services)\% 500 HTTP Response Sent,60]' is not supported: A counter with a negative denominator value was detected.
Workarround:
"Downgrade" to the classic zabbix agent. Perfomance counters works right.
- is duplicated by
-
ZBX-21703 Zabbix Agent2 is no longer retrieving Windows perfmon counters after a period of time
- Reopened