Hi,
I've a question about possibility of use "Custom Intervals" as a substitute of instant checks (which is a crucial feature in my opinion).
My idea is to change checking interval for specific item on demand to decrease time between checks. For example I have a check that is perform each 10 minutes and I got an alert about a problem X from item Y.
I fixed, what was the cause of this problem and I would like to recheck/clear alert by decreasing check interval to 10 seconds. After it cleared I'm restoring to previous value.
Is it possible to implement this feature by using API for specific "itemid" or changing records in database or use some class/method from application itself? or may be someone has better way to implement instant checks?
API item.get call result for random host (results are similar as from ver. 2.x):
Thanks!
I've a question about possibility of use "Custom Intervals" as a substitute of instant checks (which is a crucial feature in my opinion).
My idea is to change checking interval for specific item on demand to decrease time between checks. For example I have a check that is perform each 10 minutes and I got an alert about a problem X from item Y.
I fixed, what was the cause of this problem and I would like to recheck/clear alert by decreasing check interval to 10 seconds. After it cleared I'm restoring to previous value.
Is it possible to implement this feature by using API for specific "itemid" or changing records in database or use some class/method from application itself? or may be someone has better way to implement instant checks?
API item.get call result for random host (results are similar as from ver. 2.x):
Code:
{
"itemid": "23276",
"type": "5",
"snmp_community": "",
"snmp_oid": "",
"hostid": "10084",
"name": "Zabbix $2 write cache, % free",
"key_": "zabbix[wcache,trend,pfree]",
"delay": "60",
"history": "7",
"trends": "365",
"status": "0",
"value_type": "0",
"trapper_hosts": "",
"units": "%",
"multiplier": "0",
"delta": "0",
"snmpv3_securityname": "",
"snmpv3_securitylevel": "0",
"snmpv3_authpassphrase": "",
"snmpv3_privpassphrase": "",
"formula": "1",
"error": "",
"lastlogsize": "0",
"logtimefmt": "",
"templateid": "22185",
"valuemapid": "0",
"delay_flex": "",
"params": "",
"ipmi_sensor": "",
"data_type": "0",
"authtype": "0",
"username": "",
"password": "",
"publickey": "",
"privatekey": "",
"mtime": "0",
"flags": "0",
"interfaceid": "0",
"port": "",
"description": "",
"inventory_link": "0",
"lifetime": "0",
"snmpv3_authprotocol": "0",
"snmpv3_privprotocol": "0",
"state": "0",
"snmpv3_contextname": "",
"evaltype": "0",
"lastclock": "1448972039",
"lastns": "627049812",
"lastvalue": "99.5325",
"prevvalue": "99.5325"
},