Hi all,
is there any way to get system identity and add it to device name in dude ?
Thanks
Hi,Yes! of course... I think the better way is change the variable on label. Right click on device -> appearance -> at the general tab you should to see a field "Label". Change the [Device.Name] to use the OID function [oid("iso.org.dod.internet.mgmt.mib-2.system.sysName.0")]
Another alternative IF you are using ROS login. In label appearance use ros_command function: Identity: [ros_command(":put [/system identity get name]")]
Hi, both options on the dude monitor works good, this one you say and with "oid" option too i got correct device name, but i have a detail when i try to send a notification with these, for example email or telegram dont work i get the "command line parameter" in the notification message, so i have to use "Device.name" variable in notification it results as "device ip address" thats the problem.Another alternative IF you are using ROS login. In label appearance use ros_command function: Identity: [ros_command(":put [/system identity get name]")]
I have the same problem and would like to record the name of the device in Device.Name and not the ip.Hi, both options on the dude monitor works good, this one you say and with "oid" option too i got correct device name, but i have a detail when i try to send a notification with these, for example email or telegram dont work i get the "command line parameter" in the notification message, so i have to use "Device.name" variable in notification it results as "device ip address" thats the problem.Another alternative IF you are using ROS login. In label appearance use ros_command function: Identity: [ros_command(":put [/system identity get name]")]
my question, is there a way to get the value with function and put it on Device name field? i think it would be awesome thanks!!
:local neighbor;
:foreach device in=[/dude device find] do={
:set neighbor [/ip neighbor find address=[/dude device get $device name]];
if ($neighbor != "") do={
/dude device set $device name=[/ip neighbor get $neighbor value-name=identity];
}
}
I would like this as well. The map can get a lot cluttered and we use the device list a lot. Just looking 1.5k of IPs and not knowing the name of the devices is horrible.Displaying the device identity in RouterOS is not happening.
The above instructions for Appearance only affect the Map diagram. How can the Device Identities be shown in the Device list under the RouterOS tab view?
I would like this as well !I would like this as well. The map can get a lot cluttered and we use the device list a lot. Just looking 1.5k of IPs and not knowing the name of the devices is horrible.Displaying the device identity in RouterOS is not happening.
The above instructions for Appearance only affect the Map diagram. How can the Device Identities be shown in the Device list under the RouterOS tab view?