Answer the question
In order to leave comments, you need to log in
Zabbix. How to make a discovery rule?
Good afternoon.
A script is running on the server in the Zabbix agent. Which, through the custom.test data key, spits out the json made for discovery.
But then I don’t understand a little how to make a discovery rule?
{
"data": [{
"{#ColName}": "Col1",
"{#ProjName}": "Proj1",
"{#Name}": "Service1",
"{#Status}": "enabled"
}, {
"{#ColName}": "Col1",
"{#ProjName}": "Proj2",
"{#Name}": "Service1",
"{#Status}": "disabledBySystem"
}, {
"{#ColName}": "Col1",
"{#ProjName}": "Proj3",
"{#Name}": "Service2",
"{#Status}": "enabled"
}, {
"{#ColName}": "Col2",
"{#ProjName}": "Proj1",
"{#Name}": "Service43234",
"{#Status}": "enabled"
}, {
"{#ColName}": "Col2",
"{#ProjName}": "Proj2",
"{#Name}": "Service1324",
"{#Status}": "enabled"
}, {
"{#ColName}": "Col3",
"{#ProjName}": "Proj1",
"{#Name}": "Service12323",
"{#Status}": "enabled"
}]
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question