PDA

View Full Version : Feature Request: Macros in triggers names


rvillaca
14-02-2006, 17:04
Hi all,

I have sucessfully created the following macro in actions:
{{HOSTNAME}:{TRIGGER.KEY}.last(0)}

But, when I try to use that on a trigger name it does'n work. I thought it will work because of the {HOSTNAME} macro that i use in every trigger.

I think its a very useful macro. For example, you can setup a trigger for monitoring the CPU usage and alert if you have more than 70% used, than you add that host to a map and you can see a message like "host01 - CPU Util 90%".

Anyway, I think that the same macros avaliable for actions should be availiable for the triggers title and comments.

Thanks for building a great NMS,

Rodrigo

mary nancy
16-03-2006, 00:51
Hi

I alsp badly need solution to the same problem wherein i want the valure of the trigger. I used the Macro TRIGGER.KEY it is not working.

Somebody please point solution.....

Thanking you

Regards
Nancy