Hello everyone
I’m new on zabbix and I get stuck in a problem. I’m using zabbix and grafana in the last versions.
I have one API that returns me a date, this return means that I have data until this date. The problem is that this date changes eventually, and I have to calc this for when it remains less than 2 days of data (2 days from the date), it will alarm critical, 3 to 2 days it will be warning and more than 3 days will be OK.
I tried it many ways (calc itens, triggers etc), but unsuccessfully. Actually, I have on my zabbix the return of this API, it is in epoch time, but I converted and zabbix is giving me the correct date (the "Expiration_Test on first image, that means I have data until 2021-12-17 23:35:00). I’ve made one of the current date too.
There is a way to do this (not using external scripts)?
I’m new on zabbix and I get stuck in a problem. I’m using zabbix and grafana in the last versions.
I have one API that returns me a date, this return means that I have data until this date. The problem is that this date changes eventually, and I have to calc this for when it remains less than 2 days of data (2 days from the date), it will alarm critical, 3 to 2 days it will be warning and more than 3 days will be OK.
I tried it many ways (calc itens, triggers etc), but unsuccessfully. Actually, I have on my zabbix the return of this API, it is in epoch time, but I converted and zabbix is giving me the correct date (the "Expiration_Test on first image, that means I have data until 2021-12-17 23:35:00). I’ve made one of the current date too.
There is a way to do this (not using external scripts)?
Comment