Ad Widget

Collapse

Improved VMWare Monitoring with VmBix

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jason
    Senior Member
    • Nov 2007
    • 430

    #31
    Thank you for this. So the key in zabbix for active is vmbix[esx.counter,{HOST.HOST},mem.active.average] ?

    Comment

    • tatapoum
      Senior Member
      • Jan 2014
      • 185

      #32
      Correct. And you need to set the Zabbix polling interval to 300s to get accurate results.

      Comment

      • Jason
        Senior Member
        • Nov 2007
        • 430

        #33
        The CPU usage item is wrong. It's

        (last("vmbix[esx.cpu.load,{HOST.HOST},used]")/last("vmbix[esx.cpu.load,{HOST.HOST},all]"))*100

        and I think it should be

        (last("vmbix[esx.cpu.load,{HOST.HOST},used]")/last("esx.cpu.load[{HOST.HOST},all]"))*100

        Comment

        • tatapoum
          Senior Member
          • Jan 2014
          • 185

          #34
          You're right. I'll fix this in the next release.

          Comment

          • Jason
            Senior Member
            • Nov 2007
            • 430

            #35
            It might also be a good idea to add some utilisation triggers... For example I'm putting ones that show when CPU utilisation on the host is over 75% and for low space on storage devices etc?

            Comment

            • Jason
              Senior Member
              • Nov 2007
              • 430

              #36
              Might also be worth suggesting in the documentation that a read-only user can be used for monitoring.

              Comment

              • tatapoum
                Senior Member
                • Jan 2014
                • 185

                #37
                Feel free to create a pull request on github : https://github.com/dav3860/vmbix.

                Comment

                • jovan.malesevic
                  Junior Member
                  • Jul 2016
                  • 5

                  #38
                  High bandwidth usage on Zabbix VmBix server

                  Hi people,

                  in my setup I have vCenter 6 with 2 virtualization hosts and about 320 virtual machines managed by vCenter.

                  Also, I have the Zabbix 3.0.4 with VmBix 2.4 installed on CentOS 7 x64.

                  With default setting of VmBix (after VMs discovery has done), inbound network traffic is about 50 Mbps average. Almost all traffic if coming from vCenter. During monitoring used tools nload, nethogs and iftop.

                  Is there a way to determine which items are top consumers of bandwidth? How I can optimize bandwidth usage on Zabbix server?

                  For now, I disabled following items on Template VmBix VM Loadable Module:
                  Ballooned memory, Compressed memory, CPU Freq, CPU Overall Usage, CPU Ready, CPU Ready (%), CPU Total, CPU Used, Memory Latency, Private memory, Shared memory, Swapped memory, VM Tools mounted, VM Tools running, VM Tools status.

                  Also, increased Update interval on several items and Discovery rules.

                  Is there a way to determine which items are top consumers of bandwidth? How I can optimize network bandwidth usage on the Zabbix server with VmBix?

                  Please help
                  Last edited by jovan.malesevic; 15-08-2016, 15:06.

                  Comment

                  • jackie
                    Member
                    • Jan 2016
                    • 37

                    #39
                    Removing this post....
                    Last edited by jackie; 16-08-2016, 16:50.

                    Comment

                    • Saslawski
                      Member
                      • Jul 2014
                      • 49

                      #40
                      Hi,

                      Greate job, thank you for this usefull tool!

                      Unfortunately i have a small issue with VM Tool status.
                      Thats what i see in vmbix log:

                      Code:
                      2016-08-24 15:18:39,848 INFO  [Thread-13] [VmBix.java:1089] String 'ZBXD<vm.guest.tools.status[422d0ea5-0b04-b022-fbda-a9b640c03558]' not supported
                      2016-08-24 15:18:42,172 INFO  [Thread-8] [VmBix.java:1089] String 'ZBXD<vm.guest.tools.status[422da513-3ae0-6588-b811-34c00065177d]' not supported
                      2016-08-24 15:18:44,554 INFO  [Thread-2] [VmBix.java:1089] String 'ZBXD<vm.guest.tools.status[422d4986-252f-e45a-7ae2-a97a2595a607]' not supported
                      2016-08-24 15:18:45,773 INFO  [Thread-7] [VmBix.java:1089] String 'ZBXD<vm.guest.tools.status[422d2005-c47e-6211-2183-2853f709f42f]' not supported
                      2016-08-24 15:18:47,994 INFO  [Thread-10] [VmBix.java:1089] String 'ZBXD<vm.guest.tools.status[501d0bc2-ff73-fcd7-eaa3-8d76a0e1d33d]' not supported
                      2016-08-24 15:18:48,232 INFO  [Thread-8] [VmBix.java:1089] String 'ZBXD<vm.guest.tools.status[422dd59b-4d31-13b6-c5ab-044bca1b8a65]' not supported
                      Do someone have an idea where i have to look for solution?

                      Thanks!

                      Comment

                      • stav13
                        Member
                        • Oct 2013
                        • 66

                        #41
                        Hi,

                        This is a great add on!!!

                        I do have one question though. I have added my vcenter and its discovered all of the vms, datastores etc etc however they are all read only and I would like to attach windows templates to most of the VMs. Reading through your documentation you list this as a benefit over the standard vm monitoring however i cannot figure out how it works. Can you please enlighten me


                        Cheers
                        Last edited by stav13; 24-08-2016, 18:55. Reason: Original issue sorted

                        Comment

                        • Jason
                          Senior Member
                          • Nov 2007
                          • 430

                          #42
                          Ummm attach windows templates to the virtuals? You're just reading the API's from VMware. This has no access to the OS of the virtual itself.

                          Comment

                          • stav13
                            Member
                            • Oct 2013
                            • 66

                            #43
                            Hmmm I'm confused the. As on the GitHub page it says

                            The created ESX and VM hosts are mostly read-only. You cannot attach them different templates, put them into different groups, or use a Zabbix agent to monitor their OS or apps

                            So I would assume that Vmbix overcomes this?

                            Comment

                            • Saslawski
                              Member
                              • Jul 2014
                              • 49

                              #44
                              Originally posted by stav13
                              Hmmm I'm confused the. As on the GitHub page it says

                              The created ESX and VM hosts are mostly read-only. You cannot attach them different templates, put them into different groups, or use a Zabbix agent to monitor their OS or apps

                              So I would assume that Vmbix overcomes this?
                              Thats what you are looking for: vmbix-object-sync script

                              Anyway it's gives you only the possibility to edit the host (Adding agent/snmp/simple check etc). For Agent monitoring you will still need to install the agent
                              Last edited by Saslawski; 25-08-2016, 13:45.

                              Comment

                              • dmayorgap
                                Junior Member
                                • Sep 2016
                                • 9

                                #45
                                Hi! i just installed VmBix and i have an issue, hope you guys can help me with, when i run:

                                [root@redmine addons]# zabbix_get -s 127.0.0.1 -p 12050 -k vm.consolidation[SBG_mail,needed]

                                The result is:
                                1

                                So it works! But when i link this host (SBG_mail) to the Template VmBix VM Loadable Module, the result in the "Consolidation needed" item is "Unsupported item key" and in the vmbix log says " 2357:20160908:150156.659 item "SBG_mail:vmbix[vm.consolidation,{HOST.HOST},needed]" became not supported: Unsupported item key."

                                Can you guys help me? Thanks!

                                Regards,

                                David M.

                                Comment

                                Working...