Hi,
I'm trying to create a trigger (to ignore regularly rebooted host), so that I won't be notified about automatically rebooted hosts.
But have been trying to get it right and used the VMWare Guest template trigger as an example:
So I want the trigger to be fired if the first part of the hostname doesn't match "linux-t" and the machine isn't powered-off
So lets say the machine "linux-test" is rebooted .... this trigger should not fire.
Has anyone else made such a trigger or does anybody see what I'm doing wrong ?
TIA
I'm trying to create a trigger (to ignore regularly rebooted host), so that I won't be notified about automatically rebooted hosts.
But have been trying to get it right and used the VMWare Guest template trigger as an example:
Code:
last(/Template VM VMware Guest/vmware.vm.uptime[{$VMWARE.URL},{HOST.HOST}])<10 and
last(/Template VM VMware Guest/vmware.vm.powerstate[{$VMWARE.URL},{HOST.HOST}])<>0 and
left("{HOST.NAME}",7)<>"linux-t"
So lets say the machine "linux-test" is rebooted .... this trigger should not fire.
Has anyone else made such a trigger or does anybody see what I'm doing wrong ?
TIA