cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
hatrantator
Engaged Sweeper II

Hi there!

Is there a full list of action parameters for custom actions like {assetname} and {ipaddress}?

1 ACCEPTED SOLUTION
stuart_white
Engaged Sweeper II
About the variables in custom actions: You can use the following placeholders in the command which calls your asset action from the asset page of a specific asset:
{actionpath}, {smartname}, {assetname}, {dnsname}, {computer}, {domain}, {tag} (which means serial number), {username}, {userdomain}, {ipaddress}, {fqdn}, {scanserver}, {assetid}

{smartname} changes to IP address, FQDN or Assetname based on asset type.

Just an FYI: available parameters are listed in the popup you see when hitting the Add Asset Action or Add User Action button.

Stole from Susan.A and Daniel.B on another forum post.

View solution in original post

3 REPLIES 3
Tomas
Engaged Sweeper III
Is {username} the user logged in to the Asset or the user performing the action from the console?
hatrantator
Engaged Sweeper II
Thank you!

While I was aware of the list under 'Add Asset Action' I figured there might be way more parameters because somewhere on this forum you will find a post where someone mentions the parameter {mac] which is not listed under 'Add Asset Action'.
stuart_white
Engaged Sweeper II
About the variables in custom actions: You can use the following placeholders in the command which calls your asset action from the asset page of a specific asset:
{actionpath}, {smartname}, {assetname}, {dnsname}, {computer}, {domain}, {tag} (which means serial number), {username}, {userdomain}, {ipaddress}, {fqdn}, {scanserver}, {assetid}

{smartname} changes to IP address, FQDN or Assetname based on asset type.

Just an FYI: available parameters are listed in the popup you see when hitting the Add Asset Action or Add User Action button.

Stole from Susan.A and Daniel.B on another forum post.