Hello all,
I'm trying to implement a trigger on a hardware status, with that numerical values status:
PROBLEM = unknown(1), ready(3), reset(4), down(6)
OK = running(2), runningAtFullSpeed(5), standby(7)
Is it possible to define a regex into the expression constant to avoid to repeat the expression for each status?
I tried several expressions but nothing seems to work:
{ZabbixServer:HardwareStatuskey.last(#1)} = @HardwareRegex
{ZabbixServer:HardwareStatuskey.last(#1)} = (1 or 3 or 4 or 6)
{ZabbixServer:HardwareStatuskey.last(#1)} = [1346]
{ZabbixServer:HardwareStatuskey.last(#1)} = {$callHardwareRegex}
Is someone have an idea?
Thanks
I'm trying to implement a trigger on a hardware status, with that numerical values status:
PROBLEM = unknown(1), ready(3), reset(4), down(6)
OK = running(2), runningAtFullSpeed(5), standby(7)
Is it possible to define a regex into the expression constant to avoid to repeat the expression for each status?
I tried several expressions but nothing seems to work:
{ZabbixServer:HardwareStatuskey.last(#1)} = @HardwareRegex
{ZabbixServer:HardwareStatuskey.last(#1)} = (1 or 3 or 4 or 6)
{ZabbixServer:HardwareStatuskey.last(#1)} = [1346]
{ZabbixServer:HardwareStatuskey.last(#1)} = {$callHardwareRegex}
Is someone have an idea?
Thanks
Comment