Search Result

Collapse
8 results in 0.0024 seconds.
Keywords
Members
Tags
api host.create
  •  

  • No permissions to call "host.create".

    Hello,

    I am using the Zabbix API through Ansible... it's basically python generating JSON and sending it to the API.

    My zabbix server is version 6.4 .

    I have the issue that my request is failing:
    Code:
    {
      "jsonrpc": "2.0",
      "method":
    ...
    See more | Go to post
    Last edited by JureSah; 05-12-2023, 13:18.

  • Adding new tag via API to a host created via host.create, resulting not successful

    Hi, I have a host created via API (host.create) including 5 initial tags.
    I'm trying to add a new tag for a host, but the API host.update replaces all the 5 old tags with the new one. So instead of having 6 tags, the host ended up with only 1.
    Any suggestions to add a new tag via APIs?...
    See more | Go to post
    Last edited by verde; 31-08-2022, 18:26.

  • Inventory Fields not populating via Zabbix API

    I am unable to populate any fields in the "Inventory" tab via the Zabbix API. The below call will create the host, as well as, the tags, but will not touch the "Inventory" fields. This is an example using the python module pyzabbix, but I have tried the same call with curl and...
    See more | Go to post

  • VojuCZ
    started a topic version 5.0 API (hsot.create)

    version 5.0 API (hsot.create)

    Hello,
    can somebody help? I can login, I can send host.get method and everything is OK. But host.create response me with error :
    Code:
    {
     "jsonrpc":"2.0",
     "method":"host.create",
     "params":{
       "host": "10.200.200.6",
    ...
    See more | Go to post

  • moshe
    started a topic How to install and configure the zabbix api

    How to install and configure the zabbix api

    Hello all .
    we are new in Zabbix and would like to use the Zabbix API to add/create a list of given hosts in the network.
    our zabbix version is 4 and is installed on Centos 7
    please advice what should be installed in the server to support this activity,
    and how to configure...
    Starts
    28-01-2019
    Ends
    28-01-2019
    Location
    Israel
    See more | Go to post

  • Checking if host/ip exists before creating new one using API

    Hello All,
    I couldn't find anything related to hosts.exists or something similar on zabbix 3.0 api.
    I am trying to automate something like creating new hosts ( adding ) - just wanted to check if hosts exists before adding - so that duplicates doesn't happen - i have had the cases where two...
    See more | Go to post

  • thepilot21
    started a topic Problem Creating Host with API

    Problem Creating Host with API

    I am using ZabbixPHPApi with Zabbix 2.2 and trying to Create a Host. The code emitted looks like this :-

    {"jsonrpc":"2.0","method":"host.create","params":{ "host":"abcdef","interfaces":{"useip":1,"ip":"192. 168.1.1","port":"10050"},"groups":{"groupid":9}}," auth":"f9df263591bad7164a1aa2a4b9bcbce1","id":"140 57696552381"}...
    See more | Go to post

  • Problem with API host.create

    Hi,

    I'm working on an automate to add host in zabbix. I use API but I have a problem beetween two request very similar.
    The first one is :
    {"jsonrpc":"2.0","method":"host.create","params":{ "host":"localhost","interfaces":{"type":1,"main":1 ,"useip":0,"ip":"127.0.0.1","dns":"localhost","por t":"10050"},"groups":{"groupid":"2"},"templates":{ "templateid":"10001"}},"auth":"ede78a7c25cd00bc3ef acf68a6a04051","id":"13548799648877"}...
    See more | Go to post
Working...