Ad Widget

Collapse

Windows template that works with network items

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • eoquintao
    Junior Member
    • Mar 2013
    • 8

    #1

    Windows template that works with network items

    Hi,

    I'm trying to make a template for Windows hosts that really works with network items.

    In Linux, network interfaces has the same name, no matter distro, language. Is always eth0, eth1...

    In Windows, each host has a different name for interface (based on name of hardware NIC/driver) and different IP address.

    So neither:

    net.if.in[192.168.1.90,bytes]

    or

    perf_counter [ "\Network interface(AMD PCNET Family PCI Ethernet Adapter - Miniporta do agendador de pacotes)\Bytes Sent/s" ]

    How can I create a template that works with network items on Windows, no matter the name of the interface or IP?
  • tchjts1
    Senior Member
    • May 2008
    • 1605

    #2
    What version of Zabbix are you using?

    If you have 2.x, low-level discovery will find all your windows interfaces and automatically create graphs for bytes in and out.

    it will do it for all platforms, actually.

    Comment

    • m_gularte
      Member
      Zabbix Certified Specialist
      • Jul 2012
      • 85

      #3
      Try

      net.if.in[{IPADDRESS},bytes]

      Comment

      • eoquintao
        Junior Member
        • Mar 2013
        • 8

        #4
        I'm using 2.0.3, but LLD isn't a option to us. Because of my scenario, we have a central server located inside my own company, that monitors my server's clients, without proxy, only using active checks. Using active we dont need to install proxies, or open ports on my clients firewall.

        Using IP address, as if name on perfom, vary on each host monitored, and can't be used as items in template.

        Comment

        • albort
          Junior Member
          • Feb 2013
          • 8

          #5
          If you are using 2.0.3, the low-level discovery willl adapt you windows

          Comment

          • m_gularte
            Member
            Zabbix Certified Specialist
            • Jul 2012
            • 85

            #6
            No no...

            Use as i said:

            net.if.in[{IPADDRESS},bytes]

            And not

            net.if.in[{x.x.x.x},bytes]

            IPADDRESS is a global macro and works in your case. I use this in 2.0.3 or 2.0.4, but i think this work since 1.8.x.

            Comment

            • eoquintao
              Junior Member
              • Mar 2013
              • 8

              #7
              As I use active agents, outside my LAN, I configure hosts with 0.0.0.0 address. So this macro doesn't work for me...

              But thanks for idea!

              Anyone has any other idea???


              Originally posted by m_gularte
              No no...

              Use as i said:

              net.if.in[{IPADDRESS},bytes]

              And not

              net.if.in[{x.x.x.x},bytes]

              IPADDRESS is a global macro and works in your case. I use this in 2.0.3 or 2.0.4, but i think this work since 1.8.x.

              Comment

              Working...