Hi,
I have some items monitoring an app. The items data is extracted using some shell commands.
I have some situations where the app is inactive and I need to send to Zabbix values to be ignored. By example, when the app is down the app version can't be fetched so the shell script is exiting with code 1 / error. The problem is the item value seems to be changed to empty string (and obviously the trigger would notice this, but I can of course make the trigger to ignore the empty values).
Instead of this, when the app is down I think would be useful to have the item value ignored. Otherwise the empty item value is propagating to triggers / graphs, etc making situation not so pleasant.
What do you think would be an appropriate solution for this problem?
I have some items monitoring an app. The items data is extracted using some shell commands.
I have some situations where the app is inactive and I need to send to Zabbix values to be ignored. By example, when the app is down the app version can't be fetched so the shell script is exiting with code 1 / error. The problem is the item value seems to be changed to empty string (and obviously the trigger would notice this, but I can of course make the trigger to ignore the empty values).
Instead of this, when the app is down I think would be useful to have the item value ignored. Otherwise the empty item value is propagating to triggers / graphs, etc making situation not so pleasant.
What do you think would be an appropriate solution for this problem?
Comment