-
Incident report
-
Resolution: Fixed
-
Minor
-
None
-
1.8.10
-
centos 5.4
Hi,
I'm trying to define MACROS which define periods, for example (using a "double?" hack):
{$PERIOD_8X5} = (
{Zabbix::vfs.file.exists[/etc/hosts].time(0)}>070000 &
{Zabbix::vfs.file.exists[/etc/hosts].time(0)}<150000)
So I can use a trigger expression like:
{Host:key.last(0)}& {$PERIOD_8X5}
But it doesn't work
If it is not supposed to work, please add a note about complex macros in http://www.zabbix.com/documentation/1.8/manual/config#user_macros
For the moment I will follow Richvl tip (define START and END times with macros, and expand only that numbers)
Thanks!