Guys. IM trying to create a template trigger. Being that this is a template I want to be able to have the expression grab the hostname from the device the template is tied to. What I have is:
Name: {HOST.NAME} Trap: {ITEM.VALUE}
Expression: {*want hostname here*:trap.str(water)}=0
The item key is trap of type character. The name field works fine with the above, its just the hostname in the expression im looking for.
Thanks
Name: {HOST.NAME} Trap: {ITEM.VALUE}
Expression: {*want hostname here*:trap.str(water)}=0
The item key is trap of type character. The name field works fine with the above, its just the hostname in the expression im looking for.
Thanks