NetXMS Support Forum

English Support => General Support => Topic started by: David on July 24, 2013, 05:58:07 PM

Title: Help with Tools and Custom Attributes
Post by: David on July 24, 2013, 05:58:07 PM
Hi, I need help with "Custom Attributes".

I have Mikrotik devices with diferent passwords. I have one "object tool" for run winbox with the device IP and one password.

How can I configure Custom Attributes in any device for use custom password for each one.

For example device 192.168.150.20 password=12345 and device 192.168.150.30 password=98765:

object Tool: winbox %OBJECT_IP_ADDR% %password%

Device 192.168.150.20 Custom Attribute: %password% = 12345
Device 192.168.150.30 Custom Attribute: %password% = 98765

Sorry for my english  :-\
Title: Re: Help with Tools and Custom Attributes
Post by: Victor Kirhenshtein on July 24, 2013, 09:24:00 PM
Hi!

It's very simple - set custom attribute with name password, and then use it as %password% in tool command line (you need version 1.2.8 for this).

Best regards,
Victor
Title: Re: Help with Tools and Custom Attributes
Post by: David on July 26, 2013, 07:20:56 PM
Thank you :) it works

I was using %password% for name, instead only password