I have made an internal action to notify me of items becoming unsupported and when they're working again, because they seem to do that every now and then. I know that if an item is unsupported, I can look at the host items in the web interface and hover over 'Not supported' to see the reason, which is usually the output of whatever command failed. I have yet to figure out how to include this information in the e-mails I get when this happens. Most of these cases resolve themselves within 1 or a multiple of 10 minutes and I'm not always looking, so I miss a lot of these. My goal is to eliminate unsupported items altogether, so I need to have the reason why they are failing. Unfortunately, I have not been able to find a macro to do so and I already tried a couple.
So, I need to know if there is a macro or other solution to get the exact reason for an item becoming unsupported into the alert e-mail. It's also fine (but not preferred) if there is a log containing these reasons. So far I have been unable to find either.
Using Zabbix 2.4.0 by the way (2.4.0-1+wheezy).
So, I need to know if there is a macro or other solution to get the exact reason for an item becoming unsupported into the alert e-mail. It's also fine (but not preferred) if there is a log containing these reasons. So far I have been unable to find either.
Using Zabbix 2.4.0 by the way (2.4.0-1+wheezy).