Ad Widget

Collapse

Subscribe to Zabbix events (event listener)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • studenik
    Junior Member
    • Feb 2017
    • 1

    #1

    Subscribe to Zabbix events (event listener)

    Hello,

    I am new to Zabbix. I am trying to find a way to subscribe to the events generated by Zabbix server. Basically, wanted to get the same events, that Zabbix dashboard does to programmatically process alarms and warnings about computers monitored by Zabbix.

    I thought about writing the event stream processor in Java.

    Could someone point me to the right direction? For example, could I use a Java library to subscribe to the events or this can be achieved in some other way? If event subscription is not possible, could Zabbix server be polled to get current events, say as a JSON object.

    Thanks!
  • SBO
    Zabbix Certified Specialist
    Zabbix Certified Specialist
    • Sep 2015
    • 226

    #2
    Hi,

    Zabbix API can give you what you want. It will return results in JSON format :

    Comment

    Working...