Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - mikiplus

#1
General Support / Re: UseInterfaceAliases
May 27, 2016, 06:32:27 PM
thank you very much for your help!
#2
General Support / Re: UseInterfaceAliases
May 27, 2016, 05:12:16 PM
Hi,

I have tested the following script but I don't know if it's the best way to obtain the alias attribute:


sub main()
{
aliasNAME = "no info";

if ($event->parameters[1] != null)
{
id = $event->parameters[1];

interfaces = GetNodeInterfaces($node);
foreach(i : interfaces)
{
if (i->id == id)
{
aliasNAME = i->alias;
}
}
}

return aliasNAME;
}


#3
General Support / UseInterfaceAliases
May 25, 2016, 02:55:17 PM
Hi all,

is it possible send by email (when action is configured) the variable "alias"?

I have set the variable "UseInterfaceAliases" to value = 3 but the action email only sends  the name interface.

Thanks