Ad Widget

Collapse

Zabbix 1.6 Discovering Windows Agents - Port 0?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • whowd
    Junior Member
    • Jul 2007
    • 28

    #1

    Zabbix 1.6 Discovering Windows Agents - Port 0?

    I setup auto discovery for my Windows servers. Zabbix finds the servers and adds the host, but always sets the port for the host to "0" instead of 10050. I have to manually go in and change the port before the agent will communicate. Has anyone else seen this?

    Discovery rule:


    Discovery action:


    Hosts without correct ports:


    Thanks!
    w
  • whowd
    Junior Member
    • Jul 2007
    • 28

    #2
    Fixed.

    I looked through the source and found add_discovered_host(). It doesn't seem to have any logic to specify the port when adding the host.

    I went to the database and specified "10050" as the default value for "port" in the "hosts" table. This seems to work for my servers and my SNMP gear doesn't seem to be adversely affected if it's port is set to 10050 as well.

    w

    Comment

    Working...