Ad Widget

Collapse

Host not Active for 24/7 monitoring - missed daily items

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MickeyPM
    Junior Member
    • Apr 2020
    • 13

    #1

    Host not Active for 24/7 monitoring - missed daily items

    Zabbix Server 7.4.3
    Zabbix Agent Active 2

    We have a customer that shutdown their cloud-based non-production servers between 21h00 and 05h00.

    Creating a maintenance period with no data colection, surpresses alerts, but any schedule items during this period are missed, and not re-scheduled or executed once the zabbix agent is running again.

    Seems like the items are auto distributed by the server/agent to run across a 24 hour cycle on the host.
    Therefor if a daily check was 'auto' scheduled to run at 03h00, it will never run, as long as the server is down during this period.

    Is this correct, or is there a way to resolve this?

    Custom intervals on the items are NOT an option, as it it will affect each and every item, and all the other hosts are capable of running items 24/7 without issues.

    If not,
    either the Maintenence period needs some enhacement, to instruct the agent to reschedule
    or on the Host an Active Period From/To is maybe needed, for the agent to know it can only run checks during a specific period?
  • troffasky
    Senior Member
    • Jul 2008
    • 565

    #2
    This would only affect items with a 1d poll interval, right? Reduce the poll interval to 12h. Yes, you're doubling the number polls for those items, but doubling a very small number still gives you a small number.

    Comment

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

      #3
      I have a feeling, that it is related to the moment of when configuration was distributed... If your check is set with interval of 1d, it does not randomly perform it at 3AM... IIRC any check is performed as soon as possible after config update and then based on interval.. (Don't quote me on this.. )
      But even if that check would be perfomred, it would fail anyway , as your endpoints are shut down... Change it to passive check, it should be performed anyway, just the results are discarded if there is "no data collection" maintenance...
      Note that the Zabbix server (or proxy) always collects data regardless of the maintenance type (including "no data" maintenance). The data is later ignored by the server if 'no data collection' is set.
      Otherwise you have no options than scheduled checks...

      Comment

      Working...