Ad Widget

Collapse

2 items, only 1 shown

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • just4fun
    Member
    • Jun 2010
    • 32

    #1

    2 items, only 1 shown

    Hello all,

    for one of my server I have defined the following items:

    vfs.fs.size[/export,used] and vfs.fs.size[/export/data,used]

    when running zabbix_get both work, but in web (at "latest data")
    I only see the first one (/export)

    Any idea what's wrong? Is it a bug?

    Christian
  • richlv
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2005
    • 3112

    #2
    the second one has not received any data in the server yet
    Zabbix 3.0 Network Monitoring book

    Comment

    • just4fun
      Member
      • Jun 2010
      • 32

      #3
      Originally posted by richlv
      the second one has not received any data in the server yet
      probably possible, but why? both are active, nothing in the log....
      which level should I set for debugging to get info about which items have been
      checked or not?

      Comment

      • richlv
        Senior Member
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • Oct 2005
        • 3112

        #4
        if you go to item configuration, do you see any error messages next to the problematic item ?
        Zabbix 3.0 Network Monitoring book

        Comment

        • just4fun
          Member
          • Jun 2010
          • 32

          #5
          no, there aren't any. both items are active.

          probably it has to do how items have been created. first item (the one for
          filesystem "/export") has been inherited by a template. the second one (the
          one for "/export/data") has been cloned from the first (and is now a local item
          for this host only).

          I experienced this also for another host which has 2 similar additional items
          to "/export" (it has also "/export/data" and "/export/home"). i created the
          additional items the following way:
          /export/data is a clone of /export ----> and not shown in "Latest Data"
          /export/home is a clone of /export/data ---> and... heureka... it's shown in
          Latest Data!!

          ok, so i know a workaround to have all my filesytems shown.... but any idea
          why it is so? did i hit a bug?

          christian

          Comment

          • richlv
            Senior Member
            Zabbix Certified Trainer
            Zabbix Certified SpecialistZabbix Certified Professional
            • Oct 2005
            • 3112

            #6
            the way you created the item should have no impact on data availability.
            what are item intervals and for how long did you wait for the data to appear ? have you changed item types after creating them ?
            Zabbix 3.0 Network Monitoring book

            Comment

            • Wonderer
              Member
              Zabbix Certified Specialist
              • May 2010
              • 53

              #7
              Originally posted by just4fun
              no, there aren't any. both items are active.

              probably it has to do how items have been created. first item (the one for
              filesystem "/export") has been inherited by a template. the second one (the
              one for "/export/data") has been cloned from the first (and is now a local item
              for this host only).

              I experienced this also for another host which has 2 similar additional items
              to "/export" (it has also "/export/data" and "/export/home"). i created the
              additional items the following way:
              /export/data is a clone of /export ----> and not shown in "Latest Data"
              /export/home is a clone of /export/data ---> and... heureka... it's shown in
              Latest Data!!

              ok, so i know a workaround to have all my filesytems shown.... but any idea
              why it is so? did i hit a bug?

              christian
              Can you try to run following command from the shell on the zabbix host:
              Code:
              zabbix_get -s<IP_Address of server> -kvfs.fs.size[/export,used]
              and
              Code:
              zabbix_get -s<IP_Address of server> -kvfs.fs.size[/export/data,used]
              Do you see output for both commands?

              Comment

              • richlv
                Senior Member
                Zabbix Certified Trainer
                Zabbix Certified SpecialistZabbix Certified Professional
                • Oct 2005
                • 3112

                #8
                note that the original poster in the first post said "when running zabbix_get both work" - i assumed that's true
                Zabbix 3.0 Network Monitoring book

                Comment

                • just4fun
                  Member
                  • Jun 2010
                  • 32

                  #9
                  Originally posted by richlv
                  note that the original poster in the first post said "when running zabbix_get both work" - i assumed that's true
                  yes, you're right, zabbix_get works on both

                  I now removed the not templated item and created a new clone from the
                  template an now it works... hmmm... funny

                  seems that there are some bugs in the UI... I also found that sometimes items
                  get activated for one server when modifying items of another server.... but as
                  already said in my first post, I'm a complete newbie to Zabbix and probably
                  doing lots of mistakes when using the UI.. but... I'm learning

                  Comment

                  • richlv
                    Senior Member
                    Zabbix Certified Trainer
                    Zabbix Certified SpecialistZabbix Certified Professional
                    • Oct 2005
                    • 3112

                    #10
                    Originally posted by just4fun
                    seems that there are some bugs in the UI... I also found that sometimes items
                    get activated for one server when modifying items of another server....
                    that should never happen, obviously. can you reproduce that with the latest zabbix version ?
                    Zabbix 3.0 Network Monitoring book

                    Comment

                    Working...