Dear all =)
According to https://www.zabbix.com/documentation...object#trigger a trigger should have a triggerid, however when I do
I get
Notice there are no trigger ID's.
Question
How come there are no trigger ID's? How can it get the trigger ID, so I e.g. can delete it?
Hugs
Sandra =)
According to https://www.zabbix.com/documentation...object#trigger a trigger should have a triggerid, however when I do
Code:
[FONT=Courier New]const dataudstil = await zabbix.request('configuration.export', {
format: 'json',
options: {
hosts: ["12261"]
}
})
console.log(JSON.stringify(JSON.parse(dataudstil), null, 2))[/FONT]
I get
Code:
...
[FONT=Courier New]"triggers": [
{
"expression": "{ex:web.test.fail[Web:ex].last()}<>0",
"name": "Trigger:ex",
"priority": "HIGH",
"tags": [
{
"tag": "Alert"
},
{
"tag": "Sandra"
}
]
},[/FONT]
...
Question
How come there are no trigger ID's? How can it get the trigger ID, so I e.g. can delete it?
Hugs
Sandra =)