Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

M

mikiplus

@mikiplus
Unfollow Follow
About
Posts
3
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • UseInterfaceAliases
    M mikiplus
    Support

    thank you very much for your help!


  • UseInterfaceAliases
    M mikiplus
    Support

    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;
    }
    

  • UseInterfaceAliases
    M mikiplus
    Support

    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

  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups