Ad Widget

Collapse

Missing Queue Items by Host

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • QMon
    Junior Member
    • Jul 2023
    • 3

    #1

    Missing Queue Items by Host

    Hi,

    is it possible to monitor missing queue items by host?

    We have servers where missing data for queue items is ok for one or two days because these machines might be turned off from time to time. For other servers there should be an alert if data of queue items is missing for 10 minutes.

    How do we monitor missing data of queue items for specific hosts? I cannot find a solution for this. The zabbix[queue,10m] item monitors all or nothing.

    Thank you very much for help.
  • QMon
    Junior Member
    • Jul 2023
    • 3

    #2
    Let me ask this in another way:

    We have servers running 24/7 and others running only on working days during the daytime. As soon as the daytime servers are turned off we get an alert for more than 100 missing items in the queue. How can we monitor for missing queue items only for the 24/7 running server? We want to be alerted when queue items are missing for the 24/7 servers.

    Comment

    • markosa
      Senior Member
      Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
      • Aug 2022
      • 104

      #3
      Perhaps setting those daytime servers to maintenance mode without data collection, when shutdown, would it do that?

      Comment

      • QMon
        Junior Member
        • Jul 2023
        • 3

        #4
        Thanks for the answer. That could be a workaround if downtimes always the same. In our case the downtimes vary and can be even some days.

        Lets put it another way: How do you monitor workstations e.g. for high load, lack of memory, updates, disk problems, disk space, a.s.o., but only if they are turned on? If they are turned off there should be no alert for missing queue items. However, the missing queue item alert is important for 24/7 servers.

        Comment

        • markosa
          Senior Member
          Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
          • Aug 2022
          • 104

          #5
          Well, oneway would be creating script which is run when system is shutdown/started up, script would update value monitored by agent or updates value using trapper and that value set's maintenace start with long endtime, then when system is started value is updated to indicate that system is up-and-running thus removing maintenance mode. This is extremely simplified explanation, you need to create logic to do all this. Also, this way you would also know when/if system has crashed when running.

          Comment

          Working...