Ad Widget

Collapse

Zabbix API and Proxy server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • GertJensen
    Junior Member
    • Aug 2007
    • 13

    #1

    Zabbix API and Proxy server

    Hello,

    Is it possible to create a zabbix host using a curl command and connecting to a zabbix proxy ?

    I have a curl command that create the host when i am connecting to the zabbix server, but i would like to connect to a proxy as there are no zabbix server on the site, and autodiscover is not posslible, as all hosts are on different networks, and no route to zabbix server.

    I have a script to extract all the config i need from the servers, and this i can send using zabbix_send, but create a host...... :O)


    Kind regards Gert
  • Colttt
    Senior Member
    Zabbix Certified Specialist
    • Mar 2009
    • 878

    #2
    hello a zabbix proxy is only for collect data from other zabbix agents no more..

    its not possible to create a host via api call to the zabbix proxy
    Debian-User

    Sorry for my bad english

    Comment

    • glebs.ivanovskis
      Senior Member
      • Jul 2015
      • 237

      #3
      API is a part of PHP frontend, so, to use API, you need to install Zabbix frontend on that particular machine.

      Comment

      Working...