Ad Widget

Collapse

Create zabbix host/item remotely

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Darkhunter
    Junior Member
    • Sep 2014
    • 8

    #1

    Create zabbix host/item remotely

    Hello, I really need help with this stuff.
    I have backup check script, which runs every night and detects new nodes, which should be backed up.
    I use zabbix monitoring for backup status and I need to create item for one host, when another node is added. I use this script on backup server, which is not the zabbix server.
    Is there any way to do that?
  • gleepwurp
    Senior Member
    • Mar 2014
    • 119

    #2
    Hi,

    There are 2 ways:

    1- You can use the Zabbix API to interface with the zabbix server and create the new hosts you require in Zabbix: https://www.zabbix.com/documentation/2.4/manual/api

    Or

    2- You can make use of the Zabbix Discovery feature: https://www.zabbix.com/documentation...work_discovery

    The second option is not exactly what you're looking for, but its nice to know it exists...

    G.

    Comment

    • Darkhunter
      Junior Member
      • Sep 2014
      • 8

      #3
      Thanks!
      I know about discovery, but I didnt find a way, how to use it for something else than discovering hosts/interfaces.

      Comment

      Working...