diff options
Diffstat (limited to 'src/zabbix_server/pinger/pinger.c')
-rw-r--r-- | src/zabbix_server/pinger/pinger.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/zabbix_server/pinger/pinger.c b/src/zabbix_server/pinger/pinger.c index 7326b1ae489..31ca2661378 100644 --- a/src/zabbix_server/pinger/pinger.c +++ b/src/zabbix_server/pinger/pinger.c @@ -71,6 +71,12 @@ static void process_value(zbx_uint64_t itemid, zbx_uint64_t *value_ui64, double if (SUCCEED != errcode) goto clean; + if (ITEM_STATUS_ACTIVE != item.status) + goto clean; + + if (HOST_STATUS_MONITORED != item.host.status) + goto clean; + if (NOTSUPPORTED == ping_result) { item.state = ITEM_STATE_NOTSUPPORTED; |