Regarding "expandDescription" parameter, not expanding description for triggers related to "selectDependencies".
Can anyone help how to make it work?
Query example
Output example (description not expanding for triggers related to dependencies)
Can anyone help how to make it work?
Query example
HTML Code:
r = requests.post(ZABBIX_API_URL,
json={
"jsonrpc": "2.0",
"method": "trigger.get",
"params": {
"expandDescription": "1",
"output": [
"triggerid",
"description"
],
"dependent": True,
"selectDependencies": ["triggerid", "description"],
"filter":
{
"host":
[
"backups"
]
}
},
"id": 2,
"auth": AUTHTOKEN
})
Output example (description not expanding for triggers related to dependencies)
HTML Code:
result": [
{
"dependencies": [
{
"description": "{HOST.NAME} is Unreachable !",
"triggerid": "30934"
}
],
"description": "Zabbix agent on backups is unreachable for 10 minutes",
"triggerid": "27176"
}