hello!
I have a problem vs host that have 70080 resources. It is cause i have made error in template for this host. Now i cant delete this host from anywhere: i have tried web interface, zapi ( zabbix api for python), and, the last is bash.
My bash script:
and i have error when executing this:
.
Please help my anybody
PS: all log is here https://yadi.sk/d/YBn68TAJhQQdp
I have a problem vs host that have 70080 resources. It is cause i have made error in template for this host. Now i cant delete this host from anywhere: i have tried web interface, zapi ( zabbix api for python), and, the last is bash.
My bash script:
Code:
[ #!/bin/bash
curl -v -i -X GET -H 'Content-Type:application/json' -d'{
"jsonrpc": "2.0",
"method": "host.delete",
"params": [
"10118"
],
"auth": "8b956af903d6ded5d467ddf10d1bb329",
"id": 1
}' http://127.0.0.1/zabbix/api_jsonrpc.php
~
Code:
":"SQL statement execution has failed \"DELETE FROM screens_items WHERE (resourceid IN (
Please help my anybody

PS: all log is here https://yadi.sk/d/YBn68TAJhQQdp
Comment