Hi!
For showing text instead of code in events and alarms, you can use script in script library and macro like %[script_name]. For example, if you have some code as parameter number 5 in trap-generated event, you can create script called CodeToText in library:
and then use
%[CodeToText]
in event and alarm message template.
Best regards,
Victor
For showing text instead of code in events and alarms, you can use script in script library and macro like %[script_name]. For example, if you have some code as parameter number 5 in trap-generated event, you can create script called CodeToText in library:
Code Select
switch($5)
{
case 1: return "CODE 1";
case 2: return "CODE 2";
// and so on...
default: return "Unknown code " . $5;
}
and then use
%[CodeToText]
in event and alarm message template.
Best regards,
Victor