最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Configuring the Operational Data of a Zabbix trigger - Stack Overflow

programmeradmin1浏览0评论

I'm working with PowerShell and Zabbix to pull SharePoint site data and hopefully provide useful monitoring data for storage consumption changes.

My configuration is working well, but I'm hoping to improve on the trigger within Zabbix. Just now, I have 2 Items/keys called sharepoint.site.change.alert (numeric 0 for OK and 1 for problem) and sharepoint.site.change.details (text string which either says No problems if OK or is populated by a string of the sites which are a problem).

The trigger I have configured uses the following expression: last(/SharePoint_Tenant/sharepoint.site.change.alert)=1

In essence, if the Alert Item (sharepoint.site.change.alert) has a value of 1, raise a problem, which then routes to my ticketing system as an incident.

I want to utilise the Operational Data field of the Trigger to include the value of the Details Item (sharepoint.site.change.details) string. I'm hopeful this is possible, but I can't seem to get it to work properly.

The current Operational Data field is populated with: last(/SharePoint_Tenant/sharepoint.site.change.details)

But rather than giving the last value of the string, it's just literally showing "last(/SharePoint_Tenant/sharepoint.site.change.details)" in the Operational field of the incident that's raised.

Any help for this appreciated, I've scoured the Zabbix forums and can't seem to find a solution.

发布评论

评论列表(0)

  1. 暂无评论