Ad Widget

Collapse

6.4 Windows AutoRegistering Issue

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • wiliamL
    Junior Member
    • Feb 2022
    • 28

    #1

    6.4 Windows AutoRegistering Issue

    With window servers they are registering with dns for interface, but shortly afterwards, it adds another interface with ip as connect to instead of dns.

    Our auto registration action is

    Click image for larger version

Name:	image.png
Views:	130
Size:	20.1 KB
ID:	483314

    our zabbix agent config

    LogType=system
    LogFile=C:\Program Files\Zabbix Agent\zabbix_agentd.log
    AllowKey=system.run[*]
    EnableRemoteCommands=1
    LogRemoteCommands=1
    Server=x.x.x.x
    ListenPort=10050
    ServerActive=x.x.x.x
    HostnameItem=system.hostname
    HostMetadata=WindowsServer
    HostInterfaceItem=system.run[powershell.exe -command $c=@(); $c += (gpv HKLM:\SYSTEM\CurrentControlSet\services\Tcpip\Para meters HostName);$c+=(gpv HKLM:\SYSTEM\CurrentControlSet\services\Tcpip\Para meters Domain);$c -join '.']
    Include=C:\Program Files\Zabbix Agent\zabbix_agentd.d\​


    How can we stop this from happening?

    Thank you in Advance.
    William
Working...