Ad Widget

Collapse

Discover all proxy servers and create item for each

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ndrius
    Junior Member
    • Dec 2021
    • 8

    #1

    Discover all proxy servers and create item for each

    Hello All,


    I hope you would be able to help me with this issue My Zabbix version is 5.0.13. In environment I have 1 main Zabbix server and ~ 10 proxy servers(and it's increasing). My task is somehow automatically discover already existing and new proxy servers and create item for each proxy server on main Zabbix server. E.g. Right now I have manually created item for 1 proxy server for lastaccess.

    Key: zabbix[proxy, MyProxy1ServerName,lastaccess]
    Trigger: (last(/MainZabbixServerName/zabbix[proxy,MyProxy1ServerName,lastaccess],#1)<>last(/MainZabbixServerName/zabbix[proxy, MyProxy1ServerName,lastaccess],#2))=0

    So if proxy server is not reachable - i get a problem, all good. Tested it and it's working.

    Question How can i do discovery to have all proxy servers (1 proxy server= 1 new item on main zabbix server).

    if my question is not clear - please let me know, will provide more details.


    Thank you in advance
Working...