admin管理员组

文章数量:1355710

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.

本文标签: Configuring the Operational Data of a Zabbix triggerStack Overflow