83 lines
1.6 KiB
JSON
83 lines
1.6 KiB
JSON
{
|
|
"info": {
|
|
"_postman_id": "b89eb59d-2657-441d-97fd-6c35fe48a0d4",
|
|
"name": "Elastic - Create User Zabbix",
|
|
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json",
|
|
"_exporter_id": "29069947"
|
|
},
|
|
"item": [
|
|
{
|
|
"name": "Roles Local - Criar - Monitoramento",
|
|
"request": {
|
|
"method": "PUT",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"cluster\": [\"monitor\"]\n}"
|
|
},
|
|
"url": "{{URL_ELASTIC}}/_security/role/zabbix_monitoring"
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Usuários Local - Criar - Monitoramento",
|
|
"request": {
|
|
"method": "PUT",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"password\" : \"{{SENHA_MONITORAMENTO}}\",\n \"full_name\" : \"Zabbix Monitoring User\",\n \"roles\": [\"zabbix_monitoring\"]\n}"
|
|
},
|
|
"url": "{{URL_ELASTIC}}/_security/user/zbx_monitor"
|
|
},
|
|
"response": []
|
|
}
|
|
],
|
|
"auth": {
|
|
"type": "basic",
|
|
"basic": {
|
|
"password": "Ipm@123456789",
|
|
"username": "elastic"
|
|
}
|
|
},
|
|
"event": [
|
|
{
|
|
"listen": "prerequest",
|
|
"script": {
|
|
"type": "text/javascript",
|
|
"exec": [
|
|
""
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"listen": "test",
|
|
"script": {
|
|
"type": "text/javascript",
|
|
"exec": [
|
|
""
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"variable": [
|
|
{
|
|
"key": "URL_ELASTIC",
|
|
"value": "https://192.168.13.23:5100"
|
|
},
|
|
{
|
|
"key": "SENHA_MONITORAMENTO",
|
|
"value": "Ipm@Zabbix"
|
|
}
|
|
]
|
|
} |