Skip to content

Instantly share code, notes, and snippets.

View timtsj's full-sized avatar

WrittenWord timtsj

View GitHub Profile
@timtsj
timtsj / gist:c57d0d659db5eac3aec5405de98431c8
Last active September 22, 2017 03:29 — forked from jsidhu/gist:766e4e85193f89c94640495959eb5620
Curl post to zabbix api (api_jsonrpc.php)
curl -i -X POST -H 'Content-Type: application/json-rpc' -d '{"jsonrpc":"2.0","method":"hostgroup.get", "params":{"output":["groupid", "name"]},"id":3,"auth":"2fc44689924341bc5b589d303cab8f1a"}' http://IP/zabbix/api_jsonrpc.php