Ad Widget

Collapse

Is it possible to list all host items in an Action Message?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dbuckingham
    Junior Member
    • Jun 2013
    • 1

    #1

    Is it possible to list all host items in an Action Message?

    Hi All!

    I am new to Zabbix and am curious if a scenario is supported.

    I have a Script Media Type configured such that when a trigger occurs, the script is called and the proper message is sent as an argument. I have this configured with a minimal amount of data, and it works. Great progress so far!

    This script will interface with an internal system of ours, and we'd like to have as much data as possible about the event. Ideally, I'd like to know if there is a way to create an Item or a script of some sort that can iterate through the list of items for the given host and format the keys and values accordingly? We can parse whatever format is necessary (preferably JSON or XML).

    I'm trying to prevent someone having to manually configure these messages for each Action. It would be great if all they had to do was reference a single item that would be expanded to include all the data, formatted for us to parse.

    Is this possible?

    Thanks!
Working...