Ad Widget

Collapse

Log of all triggers fired

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tw13
    Junior Member
    • Aug 2020
    • 3

    #1

    Log of all triggers fired

    Is there a location for all triggers that have fired? I can't find one and I can't find a post here for it.

    My workaround was to create an action to add {DATE}{TIME}{TRIGGER.NAME} to a log file whenever a trigger fires. The issue we are having is that we want all logs in the log file but only single logs on the dashboard.
    So we can set "PROBLEM event generation mode" to multiple so the log catches everything, but we don't need 50 alarms telling us the same thing on the dashboard.

    Does anyone know of a way to do this?
  • isaqueprofeta
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Aug 2020
    • 154

    #2
    A Trigger doesn't fire itself, it fires an event.

    Go to Monitoring -> Problems and then filter Show as History, then filter the Host/Trigger in the matching filter field, be careful to adjust the Time Range in the Top Left.

    Reference:
    Click image for larger version

Name:	Captura de tela de 2020-08-27 17-24-18.png
Views:	831
Size:	95.0 KB
ID:	407947

    Comment

    • tw13
      Junior Member
      • Aug 2020
      • 3

      #3
      Originally posted by isaqueprofeta
      A Trigger doesn't fire itself, it fires an event.

      Go to Monitoring -> Problems and then filter Show as History, then filter the Host/Trigger in the matching filter field, be careful to adjust the Time Range in the Top Left.

      Reference:
      Click image for larger version

Name:	Captura de tela de 2020-08-27 17-24-18.png
Views:	831
Size:	95.0 KB
ID:	407947
      THanks, for replying. Is there a way to get this information in log file format?

      Comment

      • isaqueprofeta
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • Aug 2020
        • 154

        #4
        Originally posted by tw13

        THanks, for replying. Is there a way to get this information in log file format?
        Two ways:

        Use Zabbix API to extract it (three resources you need to search and make your implementation):Use the Zabbix SNMP gateway project:

        Comment

        Working...