Ad Widget

Collapse

Hostname Change Windows Agent

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • logistix
    Junior Member
    • Oct 2015
    • 1

    #1

    Hostname Change Windows Agent

    If we rename a Windows server that has the agent installed, will Zabbix alert us stating it cannot reach the old server name? Is there some logic in the config file that will update the Zabbix dashboard or is it a manual process to remove the old server name from the Zabbix dashboard?
  • ingus.vilnis
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Mar 2014
    • 908

    #2
    Hello and welcome to Zabbix forums!

    You have the following fields to configure:

    In agent configuration file:
    Server - IP or DNS of Zabbix servers that are allowed to poll data from this agent. Used typically for Zabbix agent "passive" checks
    ServerActive - IP or DNS name of Zabbix servers to which agent will connect in case you are using Zabbix agent "active checks"
    Hostname - name that has to exactly case sensitive match the Host name in frontend. It can be also obtained automatically and you don't have to set it manually. Zabbix will grab the netbios name of Windows machine.

    In Zabbix web interface:
    Host name - used to identify agents that connect to active checks
    Agent interface (IP or DNS) - used in passive checks to which server will connect

    So this all depends on what type of checks are you using on the host. In ideal case all those fields must match in agent and server configuration.

    If you changed the physical name of windows host and you are using active checks then you have to change the name also in web interface host name. However the host name is ignored in passive checks - only IP or DNS is used for connections.

    Hope this explains a bit.

    Best Regards,
    Ingus

    Comment

    Working...