Всё что связанно с zabbix и мониторингом различных сервисов
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
581 B

  1. {
  2. "jsonrpc": "2.0",
  3. "method": "host.create",
  4. "params": {
  5. "host": "HOSTNAME",
  6. "interfaces": [
  7. {
  8. "type": 1,
  9. "main": 1,
  10. "useip": 1,
  11. "ip": "127.0.0.1",
  12. "dns": "",
  13. "port": "10050"
  14. }
  15. ],
  16. "groups": [
  17. {
  18. "groupid": "HOSTGROUPID"
  19. }
  20. ],
  21. "templates": [
  22. {
  23. "templateid": "TEMPLATE_ID"
  24. }
  25. ]
  26. },
  27. "auth": AUTHID,
  28. "id": 1
  29. }