showing interface name on the dude

Hello ,
is there any way to make the dude to show me name of interface inside the device?
so if in the RB have a ppp-client interface called Modem
I want to see it under the name\status of the device
[quote
][Device.Name]
[Device.Status]
[???Device.Modem\ppp???] - this is what i’m searching for
[/quote]

Thanks ,

Best option is probably to display status/name with SNMP oid.

  • In device look for right interface and it’s oid: /interface print oid where name=(SomeInterface)
    and get the “name” and “admin-status” oid.
  • In device label add: INT_something: [oid(“(name_oid)”)] - [oid(“(admin_status_oid)”)]

Note: Just make sure that interface that you want to monitor is static and not dynamic or else oids will change on each interface down/up event.

Example (with just status oid):
*

[admin@crs109.lan] > int pr oid where name=vlan204-hs   
Flags: D - dynamic, X - disabled, R - running, S - slave 
 0  RS name=.1.3.6.1.2.1.2.2.1.2.17 actual-mtu=.1.3.6.1.2.1.2.2.1.4.17 mac-address=.1.3.6.1.2.1.2.2.1.6.17 
       admin-status=.1.3.6.1.2.1.2.2.1.7.17 oper-status=.1.3.6.1.2.1.2.2.1.8.17 
       bytes-in=.1.3.6.1.2.1.31.1.1.1.6.17 packets-in=.1.3.6.1.2.1.31.1.1.1.7.17 
       discards-in=.1.3.6.1.2.1.2.2.1.13.17 errors-in=.1.3.6.1.2.1.2.2.1.14.17 
       bytes-out=.1.3.6.1.2.1.31.1.1.1.10.17 packets-out=.1.3.6.1.2.1.31.1.1.1.11.17 
       discards-out=.1.3.6.1.2.1.2.2.1.19.17 errors-out=.1.3.6.1.2.1.2.2.1.20.
vlan204 status: [oid("1.3.6.1.2.1.2.2.1.7.17")]

Result:
link-status.png