Ad Widget

Collapse

Count Of Trigger

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • marcooob
    Junior Member
    • Dec 2023
    • 2

    #1

    Count Of Trigger

    Hi everyone, sorry if this topic has already been discussed.
    I would like to understand if it is possible to make a trigger count.
    I have a trigger that tells me when a printer has run out of ink, I would like to associate a new one that counts how many times that trigger is triggered so I can have statistics for the last 7 days.​
    thank you very much​
  • Brambo
    Senior Member
    • Jul 2023
    • 245

    #2
    https://www.zabbix.com/documentation...fic-parameters
    Use the sum feature and put in the time period you want to validate If I was you i would try to make an item which is 0 when inkt is OK and 1 when its out. Then this sum feature works fine

    Well that calculates the values, if you really want to count the amount of times the trigger has triggered then you maybe have to find a better solution to keep track of the run out messages.
    In theory you could create a depending item but to what reason... and how is something different
    Last edited by Brambo; 19-12-2023, 09:56.

    Comment

    • marcooob
      Junior Member
      • Dec 2023
      • 2

      #3
      thank you very much Brambo! to do the sum, can't I enter a host group instead of just 1 host?Click image for larger version

Name:	1.png
Views:	540
Size:	11.0 KB
ID:	476074

      Comment

      Working...