--- checks_ipmi.c.orig 2014-12-16 09:38:17.000000000 +0300 +++ checks_ipmi.c 2014-12-24 12:52:27.000000000 +0300 @@ -35,6 +35,7 @@ #include #include #include +#include typedef union { @@ -449,6 +450,12 @@ { zabbix_log(LOG_LEVEL_DEBUG, "%s() fail: %s", __function_name, zbx_strerror(err)); + if (IPMI_IS_IPMI_ERR(err) && IPMI_GET_IPMI_ERR(err) == IPMI_NOT_PRESENT_CC) + { + h->err = zbx_dsprintf(h->err, "unsupported threshold sensor", err); + h->ret = NOTSUPPORTED; + goto out; + } h->err = zbx_dsprintf(h->err, "error 0x%x while reading threshold sensor", err); h->ret = NETWORK_ERROR; goto out;