Hi,
I am looking for some help with the dayofweek() Expression.
I'm monitoring the time since last database backup (mssql) which returns time values (in hours).
Now i want to create a trigger to notify when the last backup ist older than 25 hours - but only on weekdays.
I can't figure out the right syntax for that dayofweek Expression.
What am i doing wrong?
I am looking for some help with the dayofweek() Expression.
I'm monitoring the time since last database backup (mssql) which returns time values (in hours).
Now i want to create a trigger to notify when the last backup ist older than 25 hours - but only on weekdays.
I can't figure out the right syntax for that dayofweek Expression.
What am i doing wrong?
Code:
{server:backup.lastfull['dbname'].last()}>25h & {server:backup.lastfull['dbname'].dayofweek(0)}<6