Ad Widget

Collapse

Setting Event Tags through Zabbix API

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • guillaume.paradis
    Junior Member
    • Mar 2017
    • 1

    #1

    Setting Event Tags through Zabbix API

    Hi all!

    I need to be able to add Event Tags after an event has been initiated. Can I do this with the Zabbix API?

    Here's my use case:

    We are integrating Zabbix with BMC TrueSight by using the msend command line utility. When a new event is initiated in Zabbix, an action fires a script that uses msend to push the event details to BMC TrueSight, and msend returns an event ID, which is different than Zabbix's. Our goal is to store msend's event ID in Zabbix's event as an Event Tag.

    Technically, our script could call the Zabbix API to store the value, but the documentation around the Event object does not seem to expose a method to add an Event Tag.

    Any ideas?
    Last edited by guillaume.paradis; 13-04-2018, 21:47.
  • lokee
    Junior Member
    • Feb 2018
    • 4

    #2
    Hi,
    I am trying to do the same integration,Zabbix to BMC Truesight. I am facing problem with Script parameters It just returns the Variable name and not the value for the variables.

    I have 2 questions for you
    1.Did you face this issue ? if so what version are you in ?
    2. Have you written de duplication mrl ? If you can ,could you share me the rules ?

    Thanks
    Loke

    Comment

    • ravenlord
      Junior Member
      • Jan 2019
      • 5

      #3
      Hi,

      Did you find any good way to do this?
      I am looking to do this myself, and for now i have been using the zabbix API to write in event.acknowlege message to write a CASEID and then i use zabbix API to lookup what CASEID that is written inside of message.

      Did you find any solution to write to event tag of the opened Event? (Would have been nice to have a reference-id part on the event that is created, and to be updated through the API)

      Comment

      Working...