I intent to use the zabbix agent on multiple windows workstations. In two places i have to adjust the config file for each machine:
- the hostname (obviously) I need this to do autoregistration
- the PerfCounter settings for network traffic, need the name of the NIC
Is there any way to use the same config on each machine? Can't the zabbix agent get the hostname from Windows? Is there any way to get network traffic without using the NIC name?
At the moment i'm creating a script to create an accurate config for a machine...
- the hostname (obviously) I need this to do autoregistration
- the PerfCounter settings for network traffic, need the name of the NIC
Code:
PerfCounter = NETwrite,"\Network Interface(Intel[R] PRO_100 VE Network Connection)\Bytes Sent/sec",60 PerfCounter = NETread,"\Network Interface(Intel[R] PRO_100 VE Network Connection)\Bytes Received/sec",60
At the moment i'm creating a script to create an accurate config for a machine...