Ad Widget

Collapse

Traffic of interface whit DNS name ( no IP )

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zabbixx
    Member
    • Jul 2012
    • 71

    #1

    Traffic of interface whit DNS name ( no IP )

    Hello,
    i have a lot of hosts, the IP's of this hosts changes from time to time, but the DNS name of this Machine is always the same.

    I need the traffic that going through this Host interface.
    If you create a Host (Agent interfaces) whit DNS name (no IP).
    I can’t use the item “net.if.in[{IPADDRESS},bytes]” (because no IP is given)
    And if I enter a IP address it works, but the IP is not always the same (DHCP Server) . “net.if.in[{HOST.CONN}bytes]” Fails to because the host uses DNS as Interface.

    Can zabbix resolve this IP trough the DNS name? makro like {HOST.DNS.IP} ??
    Any suggestions how can I use this item whit DNS name ?

    reg zabbix
  • BDiE8VNy
    Senior Member
    • Apr 2010
    • 680

    #2
    The key 'net.if.in' expects the network interface name, not IP address or domain name.

    See corresponding comment for that key in documentation of agent's items

    Comment

    • zabbixx
      Member
      • Jul 2012
      • 71

      #3
      Hello BDiE8VNy,
      thx for the reply!

      of corse net.if.in wants as the firs parameter the name of the interface, but if ou enter a Ip of this interface it works to.

      its very important if you are making a template... i have diferent hosts and they have diferent Interfaces "Name of Interfaces".

      if you realy have to use the exact name of the interface ( windows clients ) you cant template this....

      any suggestions ?

      Comment

      • zabbixx
        Member
        • Jul 2012
        • 71

        #4
        I added a request for this one : https://support.zabbix.com/browse/ZBXNEXT-1886

        Comment

        • BDiE8VNy
          Senior Member
          • Apr 2010
          • 680

          #5
          Why not using Low-level discovery?

          Comment

          Working...