Ad Widget

Collapse

Update interval depending on something

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Nolaan
    Junior Member
    • Mar 2018
    • 17

    #1

    Update interval depending on something

    Hello,

    Is it possible or will it be possible to change the update interval depending on something?

    For example:
    In the "Cisco IOS by SNMP" template we have the item "Hardware serial number" with Update interval 1h.

    Wouldn't it be possible to set something like this:
    Code:
    if hrSystemUptime.0 < 1h ; then
           Update interval = 30m
    else
           Update interval = 24h
    fi
    I don't need to monitor "Hardware serial number" since it can't change without a restart.
    Maybe the example isn't the best, but I think it shows what I mean
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    Only if you change update interval over API, based on something... IIRC there was someone talking about this in Zabbix summit some years ago. Just to ease the load on servers/proxies, they (if I remember correctly) ran a script, which updated check interval (to shorter) when they received a trigger about issues with device and after resolving, updated it back to longer period...

    Comment

    • nathanvandalen
      Junior Member
      • Jan 2023
      • 11

      #3
      You could replace the intervals with macro's and influence them on system, template and/or host level.

      Comment

      • Nolaan
        Junior Member
        • Mar 2018
        • 17

        #4
        Originally posted by nathanvandalen
        You could replace the intervals with macro's and influence them on system, template and/or host level.
        thx for info i will check

        Comment

        Working...