Ad Widget

Collapse

Hyper-V2008R2 net.if.in failure

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Golf2
    Junior Member
    • Jun 2014
    • 11

    #1

    Hyper-V2008R2 net.if.in failure

    Hello all,

    i´m from germany and i have a problem with a virtual machine on hyper-v 2008r2.

    In Zabbix i can read every network traffic from normal servers that arent virtual machines. So Zabbix works fine.

    normaly the key in the Items menu looks like
    net.if.in["BASP Virtual Adapter"]

    in the virtual Servers looks like
    net.if.in["Netzwerkkarte für Microsoft Virtual Machine-Bus"]

    I think, its a problem with the virtual network interface and / or the name of the virtual network interface. "Netzwerkkarte für Microsoft Virtual Machine-Bus". Because only in german the öäü exist.

    I get the Network name with "route print" so it will be ok.

    Anyone can help me?

    Thx
  • ingus.vilnis
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Mar 2014
    • 908

    #2
    Hello and welcome!

    As from Zabbix documentation: Multi-byte interface names on Windows are supported since Zabbix agent version 1.8.6.
    (https://www.zabbix.com/documentation...s/zabbix_agent)

    What agent version do you use then?

    Did you create this item by yourself or was it created by a low level discovery rule? I somehow doubt that the problem in your case would be in interface name due to German specific characters.

    Best Regards,
    Ingus

    Comment

    • Golf2
      Junior Member
      • Jun 2014
      • 11

      #3
      Hello ingus,

      i use a Zabbix 2.2 VHD Appliance.

      As Agent i use 2.2.3.

      I create the item by myself.
      On physical Host it works normaly, only at the hyper-v clients it doesnt work.

      I can check CPU Load and other stuff on Hyper-V Clients (2008r2, W7, WXP) only the network statics doesnt work.

      Comment

      • ingus.vilnis
        Senior Member
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • Mar 2014
        • 908

        #4
        Hello!
        Does Zabbix show this item as "Not supported"?

        Can you try to check this item with zabbix_get utility?
        (https://www.zabbix.com/documentation...ges/zabbix_get)
        On your Zabbix server run the command:
        Code:
        zabbix_get -s <host name or IP> -k net.if.in["Netzwerkkarte für Microsoft Virtual Machine-Bus"]
        You can also try running zabbix_agentd command on your monitored host to see if maybe there is a problem with the interface name.
        (https://www.zabbix.com/documentation.../zabbix_agentd)
        Code:
        zabbix_agentd -t net.if.list
        Best Regards,
        Ingus

        Comment

        • Golf2
          Junior Member
          • Jun 2014
          • 11

          #5
          Hello Ingus,

          thx for ur help.

          1. Yes i get the message "Not Supported" at the Item

          2. I get the Error " Zabbix_get [3412]: Get value error: ZBX_TCP_READ<> failed: [0x00002746] Eine vorhandene Verbindung wurde vom Remotehost geschlossen.

          3. If ein run the command, i get the name of networkinterfaces back but there doesnt looks like "Netzwerkkarte für Microsoft Virtual Machine-Bus".

          Its "Netzwerkkarte f┬│r Microsoft Virtual Machine-Bus"

          So i think its a Problem with german ü letter.

          4. Now i have change the interfacename to
          net.if.in["Netzwerkkarte f┬│r Microsoft Virtual Machine-Bus"]

          But same error. "Not supported"

          If i start ur command from 2. with the cryptic interfacename, i geht another error back. It calls
          zabbix_get [3344]: Get value error: ZBX_TCP_WRITE() failed: [0x00002745] Eine bestehende Verbindung wurde softwaregesteuert durch den Hostcomputer abgebrochen.

          Comment

          • Golf2
            Junior Member
            • Jun 2014
            • 11

            #6
            LOL, ok problem is fixed.

            Quick and Dirty
            net.if.in[172.xxx.xxx.xxxx]

            With the IP of the host (2008R2 virtual client) it works fine..... somtimes it will be so easy.

            Thx for ur help.

            Comment

            • ingus.vilnis
              Senior Member
              Zabbix Certified Trainer
              Zabbix Certified SpecialistZabbix Certified Professional
              • Mar 2014
              • 908

              #7
              Hello!

              Really good solution! Simple and beautiful.

              Glad that it works now!

              Ingus

              Comment

              • Golf2
                Junior Member
                • Jun 2014
                • 11

                #8
                Hi All,

                now i have another Problem with net.if.

                For a few computer my soloution works fine
                net.if.in[172.xxx.xxx.xxxx]

                But for a template it wont work. So i use a variable it looks like
                net.if.in[{HOST.CONN1}]

                The Problem is, net.if.out[{HOST.CONN1}] show me a wrong speed. They show me only 20MB/s, the first solution shows me the right speed of 75MB/s.

                The variable {HOST.CONN1} used the ip from Host Agent Interface? Right? Or who can i get the right IP variable?

                Thx for ur help.

                Comment

                • Golf2
                  Junior Member
                  • Jun 2014
                  • 11

                  #9
                  The Problem is unchanged.

                  Comment

                  • Golf2
                    Junior Member
                    • Jun 2014
                    • 11

                    #10
                    The Problem is unchanged.

                    Comment

                    • ingus.vilnis
                      Senior Member
                      Zabbix Certified Trainer
                      Zabbix Certified SpecialistZabbix Certified Professional
                      • Mar 2014
                      • 908

                      #11
                      Hello!

                      Please check if you have only one agent IP interface on the host that shows the wrong speed. I you have multiple agent interfaces, it is very likely that {HOST.CONN1} uses the wrong interface.

                      Best Regards,
                      Ingus

                      Comment

                      Working...