このページの翻訳:
- 日本語 (ja)
- English (en)
最近の更新
Tag Cloud
このページへのアクセス
今日: 1 / 昨日: 1
総計: 578
- Dokuwiki.fl8.jp(184)
- 13 CentOS6メール設定(13)
- 02 ProFTPD(10)
- 14 rsync(9)
- dig(8)
最近の更新
このページへのアクセス
今日: 1 / 昨日: 1
総計: 578
user: hogehoge
password: hogehgoepass
# curl -XPOST http://hogehoge.net/zabbix/api_jsonrpc.php \ -H "Content-Type: application/json-rpc" \ -d '{ "jsonrpc": "2.0", "method": "user.login", "params": {"user": "hogehoge","password": "hogehogepass"}, "id": 1 }' {"jsonrpc":"2.0","result":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","id":1}
curl -XPOST http://hogehoge.net/zabbix/api_jsonrpc.php \ -H "Content-Type: application/json-rpc" \ -d '{ "jsonrpc": "2.0", "method": "alert.get", "params": { "output": "extend", "limit": "3", "sortfield": "alertid", "sortorder": "DESC" }, "auth": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "id": 1 }'