View Full Version : Monitorar Trafego de rede windows
Pessoal pelo que vi no changlog da versão 1.8.1 foi adicionado os contadores net.if para windows, mas não consegui faze-los funcionar.
Abri um post no forum internacional podem acompanhar por http://www.zabbix.com/forum/showthread.php?t=15734
Se alguem já consegui ´fazer funcionar dá um help ai..
Eu consegui fazer funcionar da seguinte forma:
zabbix_get -s 192.168.0.16 -k "net.if.list"
A lista de interfaces retornou:
Ethernet enabled 172.18.7.16 BASP Virtual Adapter #18
Ethernet enabled 10.1.0.16 BASP Virtual Adapter #17
Ethernet enabled 169.254.200.239 BASP Virtual Adapter #5
Ethernet enabled 172.17.0.16 BASP Virtual Adapter #4
Ethernet enabled 172.16.1.16 BASP Virtual Adapter #3
Ethernet enabled 10.3.0.16 BASP Virtual Adapter #2 - Network Load Balancing Filter Device
Ethernet enabled 192.168.0.16 BASP Virtual Adapter
Software Loopback enabled 127.0.0.1 MS TCP Loopback interface
Isso pq eu uso vlan no windows. Até ontem eu havia conseguido pegar apenas uma interface com a seguinte chave:
net.if.in[BASP Virtual Adapter,bytes]
Porém eu vi que funciona o seguinte:
net.if.out[10.1.0.16,bytes]
Então eu criei as chaves de net.if.in e net.if.out utilizando o IP como parâmetro e está funcionando.