Ad Widget

Collapse

How to rerun autoregistration

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • maloz
    Junior Member
    • Feb 2018
    • 10

    #1

    How to rerun autoregistration

    Hi all.

    - Host "host1" already exists in Zabbix
    - I create an autoregistration action which is woking for new hosts with name like "host"
    - In host1's Zabbix Agent config file I add...
    Code:
    HostMetadata=update
    ...and restart the service

    - There was previously no
    Code:
    HostMetadata
    configured in Zabbix Agent config file

    - Nothing happens - host1 is not getting updated in Zabbix with my created action (I also waited minium time for
    Code:
    RefreshActiveChecks
    interval)

    Help says:
    Autoregistration is rerun:
    • if host metadata information changes:
      • due to HostMetadata changed and agent restarted
      • due to value returned by HostMetadataItem changed
    So what am I doing wrong?

    I am using autoregistration and asking me how do I update existing hosts in Zabbix for example if I want to add another template or do some other actions.

    /edit
    Noone?
    Last edited by maloz; 10-12-2019, 16:21.
  • maloz
    Junior Member
    • Feb 2018
    • 10

    #2
    Anyone? (10chars)

    Comment

    Working...