Ad Widget

Collapse

Trigger / Alerts DB Quert

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Rafael.Marmo
    Junior Member
    • Sep 2010
    • 6

    #1

    Trigger / Alerts DB Quert

    Hello,
    I need to create a query that show all alerts generated for a given host or host group. The problem I am facing is that I dont know how the relationship between tables "Alerts, Triggers and Hosts" works.

    May someone help me explaning how the DB Schema works for this tables?

    Thanks and best regards,
  • EnigmA-X
    Senior Member
    Zabbix Certified Specialist
    • Oct 2010
    • 116

    #2
    I cannot show you the relations, but I can tell you that you might want to look into the 'actions' and 'events' tables.

    If you're running on mysql, use 'describe <table>' to see what the fields of that table looks like.

    Comment

    Working...