Hi,
you can transform it when form event message. Instead of %1, %2, etc. for inserting trap parameters you can use macro %[script_name], and create appropriate script in script library. Whatever this script returns will be inserted. For example, if you have parameter 2 set to either 0 or 1 and you want to return true/false, you can create script like this:
Best regards,
Victor
you can transform it when form event message. Instead of %1, %2, etc. for inserting trap parameters you can use macro %[script_name], and create appropriate script in script library. Whatever this script returns will be inserted. For example, if you have parameter 2 set to either 0 or 1 and you want to return true/false, you can create script like this:
Code Select
switch($event->parameters[2])
{
case 0:
return "true";
case 1:
return "false";
}
return "unknown";
Best regards,
Victor
For polling time change could be quite easy - server can measure and store polling time for last status poll, which can be made available through internal DCI. Having this value exposed you'll be able to do usual stuff like set thresholds and generate alarms.