Ad Widget

Collapse

AWS EC2 instances discovery and Zabbix Agents set instance-id in HostnameItemin

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mariano.obarrio
    Junior Member
    • May 2022
    • 3

    #1

    AWS EC2 instances discovery and Zabbix Agents set instance-id in HostnameItemin

    Good all, I am using the EC2 instances discovery tuned to create host prototypes with the private IP of the instance to be able to connect with the zabbix agents on them, but I have the problem that the zabbix server gives errors of all Zabbix Agents as “host [xxxx] not found” because the hosts are created with the instance-id of AWS. ... can you think of a way to make the zabbix agent set the HostnameItem= with the instance ID (e.g. i-0cc6a80fc032fdb35)... I try with system.run[] and a curl query to the APIPA address... the curl works in bash but inside the zabbix agent it doesn't...

    Can you think of any other way to solve this?

    Thxs,

    M.
Working...