test api zabbix
This commit is contained in:
parent
ca6d1d2e09
commit
d88044350a
@ -28,3 +28,6 @@
|
||||
state: restarted
|
||||
enabled: yes
|
||||
|
||||
- name: remonter les machines
|
||||
command: curl -X POST -H "Content-Type: application/json" -d '{ "jsonrpc":"2.0","method":"host.create","params": {"host": "s-adm","groups": [{"groupid": "6"}],"templates": [{"templateid": "10343"}],"inventory_mode": 0,"inventory": {"type": 0}},"auth": "a44e2a4977d61a869437739cb6086ae42f4b9937fbb96aed24bbad028469a1cf","id": 1}' http://192.168.99.8/zabbix/api_jsonrpc.php
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user