Ad Widget

Collapse

Nakivo Trigger Alert: Send Only Once Per Day

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Soge
    Junior Member
    • Nov 2024
    • 7

    #1

    Nakivo Trigger Alert: Send Only Once Per Day

    Hi everyone,

    I’m currently working with Nakivo templates in Zabbix to send alerts when a backup is not successful. The templates and triggers are functional, and the alerts are being sent at the correct time (around 8:00 AM). However, I’m running into an issue:
    The problem is that the same alert is sent multiple times. I’ve tried several approaches to make each alert come only once a day without success.

    My setup:
    The current trigger expression ensures that alerts are sent arou zz0.amsp95w8m84zznd 8:00 AM (as shown in the attached screenshot).
    I did not set the trigger mode to “single” because I want the alert to trigger every day, even if the backup status hasn’t changed (i.e., the problem persists).
    The goal is to receive one alert daily per issue without duplicates.

    What I’ve tried so far:
    Adjusting the item interval – this didn’t resolve the issue.
    Experimenting with different variations of the trigger expression, but I couldn’t get the desir zz0.3l7clw1z95bzzed behavior.

    The ideal outcome:
    If a backup job is unsuccessful, an alert should be triggered at 8:00 AM every day, but it should only be sent once per day for the same issue.
    I don’t want to manually intervene through the Zabbix interface for this to work.
    Does anyone know of a trigger expression or another configuration that would achieve this? Is there a way to set up Zabbix to handle this type of alerting pattern?

    Let me know if more details are needed about my setup or the trigger configuration!

    Thanks in advance for your help.

    Click image for larger version

Name:	Nakivo_Zabbix.jpg
Views:	174
Size:	92.1 KB
ID:	494956
    Attached Files
  • ISiroshtan
    Senior Member
    • Nov 2019
    • 324

    #2
    I would look into different direction to solve this issue. Instead of trying to make an overly complicated trigger expression I would make an item to check the status of backup job only once a day by either setting update interval to 1d or setting custom interval to execute the check at specific time.
    With that change you can drop the time() and nodata() checks from your trigger, making it be reevaluated only when new data arrives into item, which would be happening only once a day.

    Comment

    • Soge
      Junior Member
      • Nov 2024
      • 7

      #3
      Thank you for your suggestion! I’ve updated the interval for the item as shown in the attached picture. I’ll monitor the behavior the next few days. I really appreciate your help!
      Attached Files

      Comment

      • cyber
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • Dec 2006
        • 4807

        #4
        Just in case leaving this here.. https://www.zabbix.com/documentation...stom_intervals
        So you would not be surprised, if something is not working as you expect..

        hints..
        Flexible intervals
        Flexible intervals allow to redefine the default update interval for specific time periods.
        Scheduling intervals
        Scheduling intervals are used to check items at specific times. While flexible intervals are designed to redefine the default item update interval, the scheduling intervals are used to specify an independent checking schedule, which is executed in parallel.

        Comment

        • Soge
          Junior Member
          • Nov 2024
          • 7

          #5
          The Flexible Interval doesn’t appear to have made any difference, as we are still receiving the same report multiple times. I’ll now try the Scheduling Intervals. Thank you for your help!

          Comment

          • ISiroshtan
            Senior Member
            • Nov 2019
            • 324

            #6
            To clarify: did you also set the interval to 0?
            With custom intervals how it works: the item is checked based on interval AND is modified based on flexible rule OR additionally checked at scheduling interval. So if you want it to be checked only on scheduling interval, you need to set interval to 0.
            From documentation
            Note: The update interval can only be set to '0' if custom intervals exist with a non-zero value. If set to '0', and a custom interval (flexible or scheduled) exists with a non-zero value, the item will be polled during the custom interval duration.

            Comment

            • Soge
              Junior Member
              • Nov 2024
              • 7

              #7
              Hello, I did set the interval to zero, but unfortunately, I'm still experiencing the same issue where the same report is being sent multiple times
              Attached Files

              Comment


              • ISiroshtan
                ISiroshtan commented
                Editing a comment
                Could you kindly add screenshots of:
                Full trigger configuration
                Latest history of item
                Problem that fired from zabbix problem view with expanded actions (when you click on icon of sent notification it makes more information visible)
            • Soge
              Junior Member
              • Nov 2024
              • 7

              #8
              Sure, here are more screenshots of the Trigger Configuration. Apologies for the delayed response; I was away over the holidays. I’m not quite sure I understand your last two requests. Could you please clarify what you need regarding the “history of the item” and the “problem that fired from the Zabbix problem view”?

              Thank you very much, and Happy New Year!
              Attached Files

              Comment

              Working...