Hi all,
Firstly sorry this could be a really stupid question and I am just not getting it, but I need some help around triggers and using user macros in them.
I have a host and it has macro called {$CLASS_A}
I want to setup a Trigger that goes off when {$CLASS_A} = "HUGE" and free memory is less the 5G {my_test_server.vm.memory.size[available].last()}<5G
Can I not just do
{$CLASS_A} = "HUGE" AND {my_test_server.vm.memory.size[available].last()}<5G
For the life of me I can not see what I should be doing to get this to work.
Any help would be great.
Thanks
Phil
Firstly sorry this could be a really stupid question and I am just not getting it, but I need some help around triggers and using user macros in them.
I have a host and it has macro called {$CLASS_A}
I want to setup a Trigger that goes off when {$CLASS_A} = "HUGE" and free memory is less the 5G {my_test_server.vm.memory.size[available].last()}<5G
Can I not just do
{$CLASS_A} = "HUGE" AND {my_test_server.vm.memory.size[available].last()}<5G
For the life of me I can not see what I should be doing to get this to work.
Any help would be great.
Thanks
Phil