i'm trying to check if a backup is updating a value in the last 25 hours.
the item is put in with zabbix_sender from a server in the backup script.
i noticed that a trigger is only checked when the value has changed.
so i made a dummy trigger that is updating every 30 sec, and in that trigger i want to check the other items date:
{server1:agent.ping.last(0)}=1&
{server1:backup.date(0)}#{server1:agent.ping.date( 0)}
so now i can check if the .date of the last agent.ping not is the .date of my backup.
the problem is that the backup is always a day old (as the backup starts in the evening)
how can i check that agent.ping.date not is backup.date + 1?
or am i going the wrong way?
the item is put in with zabbix_sender from a server in the backup script.
i noticed that a trigger is only checked when the value has changed.
so i made a dummy trigger that is updating every 30 sec, and in that trigger i want to check the other items date:
{server1:agent.ping.last(0)}=1&
{server1:backup.date(0)}#{server1:agent.ping.date( 0)}
so now i can check if the .date of the last agent.ping not is the .date of my backup.
the problem is that the backup is always a day old (as the backup starts in the evening)
how can i check that agent.ping.date not is backup.date + 1?
or am i going the wrong way?

Comment