Ad Widget

Collapse

Zabbix internal check for queue doesnt seem to work

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zsuna
    Junior Member
    • Dec 2022
    • 11

    #1

    Zabbix internal check for queue doesnt seem to work

    Hello,

    according to https://www.zabbix.com/documentation...types/internal
    zabbix[queue,<from>,<to>]
    Number of monitored items in the queue which are delayed at least by <from> seconds but less than by <to> seconds. Integer from - default: 6 seconds
    to - default: infinity
    Time-unit symbols (s,m,h,d,w) are supported for these parameters.


    it should be possible to create an internal zabbix item with the key zabbix[queue,10m], which should display the amount of items inside the queue for more than 10 minutes.
    However, no matter what values i add for <from> and <to>, the check keeps ignoring them. It will ALWAYS display zabbix[queue], no matter what numbers are given.

    Item values:

    Click image for larger version

Name:	image.png
Views:	496
Size:	5.1 KB
ID:	456620
    item definitions:​
    Click image for larger version

Name:	image.png
Views:	477
Size:	6.1 KB
ID:	456621

    Is this a bug or working as intended? What am i missing here?

    Br,
    Zarko
  • Markku
    Senior Member
    Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
    • Sep 2018
    • 1781

    #2
    Click image for larger version  Name:	image.png Views:	0 Size:	127.2 KB ID:	456669
    "An item with key "zabbix[queue,10m]" already exists on the host "Zabbix server"." it says here when trying to add duplicate item key. This is 6.4.0beta5.

    Workaround, if you really want to create a duplicate item: use zabbix[queue,10m,]

    You didn't mention your Zabbix version but the usual comment whenever encountering strange problem is to upgrade to the latest version in that series.

    Markku
    Last edited by Markku; 28-12-2022, 20:28.

    Comment

    • zsuna
      Junior Member
      • Dec 2022
      • 11

      #3
      Hello,

      i don´t have a problem with duplicate items...

      zabbix[queue,10m] yields the same result as zabbix[queue], but it should only note my current 48 items which are in queue for more than 10 minutes.

      Br, Zsuna

      Comment

      • Markku
        Senior Member
        Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
        • Sep 2018
        • 1781

        #4
        So, how many items do you have that have been in the queue less than 10 minutes?

        Markku

        Comment

        • zsuna
          Junior Member
          • Dec 2022
          • 11

          #5
          Currently there are 48 in the queue for longer than 10 minutes.

          But the item shows 600+

          Br,
          Zarko

          Comment

          • Markku
            Senior Member
            Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
            • Sep 2018
            • 1781

            #6
            You still didn't say your Zabbix version

            Markku

            Comment

            • zsuna
              Junior Member
              • Dec 2022
              • 11

              #7
              Our Zabbix Version is 6.0.12

              Comment

              • Markku
                Senior Member
                Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
                • Sep 2018
                • 1781

                #8
                FWIW, works correctly on 6.4.0beta5.

                Markku

                Comment

                • zsuna
                  Junior Member
                  • Dec 2022
                  • 11

                  #9

                  Ty.
                  So this looks like to be a bug in 6.0.12 then.

                  Is there a list of bugfixes somewhere to find? So i can lookup when this got fixed.
                  Maybe if you by chance have a 6.0.12 version, could you check if it works there properly aswell? just to rule out some setup problem.

                  Br, Zsuna

                  Comment

                  • Markku
                    Senior Member
                    Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
                    • Sep 2018
                    • 1781

                    #10
                    Also works here on 6.0.11, with "from" values of empty, 3m and 10m: they are not identical and they reflect the real situation in the queue.

                    Markku

                    Comment

                    • zsuna
                      Junior Member
                      • Dec 2022
                      • 11

                      #11
                      Then i guess something else is wrong.

                      We are using Zabbix Proxy, do i need change my item for this somehow?

                      Br, zsuna

                      Comment

                      • Markku
                        Senior Member
                        Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
                        • Sep 2018
                        • 1781

                        #12
                        Right, sorry, I missed the proxy detail from your images. I only tested with the internal items on the server.

                        If you think your configurations are correct and you interpret the queue information in the GUI correctly, you can always open an issue at https://support.zabbix.com.

                        Markku

                        Comment

                        • zsuna
                          Junior Member
                          • Dec 2022
                          • 11

                          #13
                          Thank you, i will open up an issue.

                          Br, zsuna

                          Comment

                          • Markku
                            Senior Member
                            Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
                            • Sep 2018
                            • 1781

                            #14
                            Forgot to say that the release notes are here, with list of fixed issues: https://www.zabbix.com/release_notes

                            Markku

                            Comment

                            • zsuna
                              Junior Member
                              • Dec 2022
                              • 11

                              #15
                              Hello,

                              the issue was resolved - problem were some network issues with routing to the proper proxy.

                              Br, Zarko

                              Comment


                              • pcyran94
                                pcyran94 commented
                                Editing a comment
                                Could you please expand your conclusion? I have similar symptoms, that items for proxies queue show totaly different values than Queue tab. Same on 6.4.1 and 7.0.0.
                            Working...