Restore repo
This commit is contained in:
29
check_email_delivery/zabbix_jrpc_files/host.create.json
Executable file
29
check_email_delivery/zabbix_jrpc_files/host.create.json
Executable file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"method": "host.create",
|
||||
"params": {
|
||||
"host": "HOSTNAME",
|
||||
"interfaces": [
|
||||
{
|
||||
"type": 1,
|
||||
"main": 1,
|
||||
"useip": 1,
|
||||
"ip": "127.0.0.1",
|
||||
"dns": "",
|
||||
"port": "10050"
|
||||
}
|
||||
],
|
||||
"groups": [
|
||||
{
|
||||
"groupid": "HOSTGROUPID"
|
||||
}
|
||||
],
|
||||
"templates": [
|
||||
{
|
||||
"templateid": "TEMPLATE_ID"
|
||||
}
|
||||
]
|
||||
},
|
||||
"auth": AUTHID,
|
||||
"id": 1
|
||||
}
|
9
check_email_delivery/zabbix_jrpc_files/host.exists.json
Executable file
9
check_email_delivery/zabbix_jrpc_files/host.exists.json
Executable file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"method": "host.exists",
|
||||
"params": {
|
||||
"host": "HOSTNAME"
|
||||
},
|
||||
"auth": AUTHID,
|
||||
"id": 1
|
||||
}
|
13
check_email_delivery/zabbix_jrpc_files/host.get.json
Executable file
13
check_email_delivery/zabbix_jrpc_files/host.get.json
Executable file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"method": "host.get",
|
||||
"params": {
|
||||
"filter": {
|
||||
"host": [
|
||||
"HOSTNAME"
|
||||
]
|
||||
}
|
||||
},
|
||||
"auth": AUTHID,
|
||||
"id": 1
|
||||
}
|
9
check_email_delivery/zabbix_jrpc_files/hostgroup.create.json
Executable file
9
check_email_delivery/zabbix_jrpc_files/hostgroup.create.json
Executable file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"method": "hostgroup.create",
|
||||
"params": {
|
||||
"name": "HOSTGROUP"
|
||||
},
|
||||
"auth": AUTHID,
|
||||
"id": 1
|
||||
}
|
15
check_email_delivery/zabbix_jrpc_files/hostgroup.get.json
Executable file
15
check_email_delivery/zabbix_jrpc_files/hostgroup.get.json
Executable file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"method": "hostgroup.get",
|
||||
"params": {
|
||||
"output": "groupid",
|
||||
"filter": {
|
||||
"name": [
|
||||
"HOSTGROUP"
|
||||
]
|
||||
}
|
||||
},
|
||||
"auth": AUTHID,
|
||||
"id": 1
|
||||
}
|
||||
|
30
check_email_delivery/zabbix_jrpc_files/template.create.json
Executable file
30
check_email_delivery/zabbix_jrpc_files/template.create.json
Executable file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"method": "configuration.import",
|
||||
"params": {
|
||||
"format": "xml",
|
||||
"rules": {
|
||||
"templates": {
|
||||
"createMissing": true
|
||||
},
|
||||
"items": {
|
||||
"createMissing": true
|
||||
},
|
||||
"discoveryRules": {
|
||||
"createMissing": true
|
||||
},
|
||||
"triggers": {
|
||||
"createMissing": true
|
||||
},
|
||||
"graphs": {
|
||||
"createMissing": true
|
||||
},
|
||||
"applications": {
|
||||
"createMissing": true
|
||||
}
|
||||
},
|
||||
"source": "XMLSTRING"
|
||||
},
|
||||
"auth": AUTHID,
|
||||
"id": 1
|
||||
}
|
14
check_email_delivery/zabbix_jrpc_files/template.get.json
Executable file
14
check_email_delivery/zabbix_jrpc_files/template.get.json
Executable file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"method": "template.get",
|
||||
"params": {
|
||||
"output": "extend",
|
||||
"filter": {
|
||||
"host": [
|
||||
"TEMPLATE_NAME"
|
||||
]
|
||||
}
|
||||
},
|
||||
"auth": AUTHID,
|
||||
"id": 1
|
||||
}
|
9
check_email_delivery/zabbix_jrpc_files/user.login.json
Executable file
9
check_email_delivery/zabbix_jrpc_files/user.login.json
Executable file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"method": "user.login",
|
||||
"params": {
|
||||
"user": "USER",
|
||||
"password": "PASSWORD"
|
||||
},
|
||||
"id": 1
|
||||
}
|
Reference in New Issue
Block a user