Hi,
I'm using this query to find hosts that have items in "not supported" status, so that I can check why that is (and not having items go "not supported" by some reason* and not knowing about it):
How can I distinguish items created by discovery from the other items?
These get re-enabled by themselves upon rediscovery, so I don't care about them.
BTW, where can I get this information for discovery rules? (To find out the ones that are also in "not supported" state).
* This can happen, for example, if an active UserParameter takes more than the specified Timeout for the agent. I was seeing this right now because a check that usually takes less than a second was taking more than 3 seconds occasionally.
I'm using this query to find hosts that have items in "not supported" status, so that I can check why that is (and not having items go "not supported" by some reason* and not knowing about it):
Code:
SELECT i.key_ as item,
h.name as host
FROM items i, hosts h
WHERE i.hostid = h.hostid
AND h.status=0
AND i.status=3
AND i.key_ not like 'zabbix[process,%'
ORDER BY h.name;
These get re-enabled by themselves upon rediscovery, so I don't care about them.
BTW, where can I get this information for discovery rules? (To find out the ones that are also in "not supported" state).
* This can happen, for example, if an active UserParameter takes more than the specified Timeout for the agent. I was seeing this right now because a check that usually takes less than a second was taking more than 3 seconds occasionally.
Comment