Ad Widget

Collapse

Hostname in zabbix_agentd.conf

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mauibay
    Junior Member
    • Jan 2008
    • 23

    #1

    Hostname in zabbix_agentd.conf

    The comment in zabbix_agentd.conf for the Hostname says:

    # Unique hostname. Required for active checks.

    Does this mean it does not have to be unique for passive checks? I'm planning on deploying zabbix_agentd to a number of windows desktops to be monitored via zabbix_proxy and would like to avoid needing to customize each agent conf file to be unique.

    I haven't noticed any problems with the hostname in the server not matching the hostname in the agent for passive checks, or any sign that it uses the agent hostname at all and want to make sure I'm not missing something important.
  • nelsonab
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2006
    • 1233

    #2
    Yes the hostname must be unique for each host doing active checks. It must tie into the hostname used by the server for that host.

    If you disable active checks with DisableActive=1 you can probably comment out that line.
    RHCE, author of zbxapi
    Ansible, the missing piece (Zabconf 2017): https://www.youtube.com/watch?v=R5T9NidjjDE
    Zabbix and SNMP on Linux (Zabconf 2015): https://www.youtube.com/watch?v=98PEHpLFVHM

    Comment

    Working...