Hi all!
I upgraded zabbix from version 4.4.4 > 6.4.6 and everything went well.
I have an SLA report and in version 4.4.4 it worked fine.
My report works through requests and it accesses "selectParentDependencies": "extend" which is described in the documentation https://www.zabbix.com/documentation...ce/service/get
When debugging, I send JSON which is what it does
answer
but if I remove "selectParentDependencies": "extend",
then I get closer to the correct answer
In the SLA report, everything is fine with me
Why doesn't selectParentDependencies work? How can this problem be solved? Help who faced this problem))
I upgraded zabbix from version 4.4.4 > 6.4.6 and everything went well.
I have an SLA report and in version 4.4.4 it worked fine.
My report works through requests and it accesses "selectParentDependencies": "extend" which is described in the documentation https://www.zabbix.com/documentation...ce/service/get
When debugging, I send JSON which is what it does
Code:
{
"jsonrpc": "2.0",
"method": "service.get",
"params": {
"output": "extend",
"sortfield": "sortorder"
"selectParentDependencies": "extend",
},
"auth": "90253303437e1bbb5somesomesome4405dc1b6423f6",
"id": 1
}
Code:
{
"jsonrpc": "2.0",
"error": {
"code": -32700,
"message": "Parse error",
"data": "Invalid JSON. An error occurred on the server while parsing the JSON text."
},
"id": null
}
but if I remove "selectParentDependencies": "extend",
then I get closer to the correct answer
Code:
{
"jsonrpc": "2.0",
"method": "service.get",
"params": {
"output": "extend",
"sortfield": "sortorder"
},
"auth": "93250some37some someb64ee62a440523ef0ef6",
"id": 1
}
Code:
{
"jsonrpc": "2.0",
"result": [
{
"serviceid": "250",
"name": "L2",
"status": "-1",
"algorithm": "1",
"sortorder": "0",
"weight": "0",
"propagation_rule": "0",
"propagation_value": "0",
"description": "",
"uuid": "7e6aa2d53f6e42b1a34b017fa403cb76",
"created_at": "946684800",
"readonly": true
},
{
"serviceid": "256",
"name": "L2",
"status": "-1",
"algorithm": "1",
"sortorder": "0",
"weight": "0",
"propagation_rule": "0",
"propagation_value": "0",
"description": "",
"uuid": "7e6aa2d53f6e42b1a34b017fa403cb76",
"created_at": "946684800",
"readonly": true
},
In the SLA report, everything is fine with me
Why doesn't selectParentDependencies work? How can this problem be solved? Help who faced this problem))
Comment