Community discussions

MikroTik App
just joined
Topic Author
Posts: 3
Joined: Mon Dec 28, 2020 5:23 pm

Substituting values on the device label.

Wed Dec 30, 2020 1:10 pm

I want to monitor switches with a large number of ports (48). I have found SNMP IOD for each port and I am successfully getting values.
The problem is that I have to have 48 functions for each sample. It would be great to be able to pass the port number as a parameter to the function, but the custom functions don't seem to be able to do that.
A concatenation on the device label by type would do as a last resort.
Device.Name is set to 48.
But unfortunately, nested values are not substituted.

Can you tell me how to get by with one function instead of 48?

Who is online

Users browsing this forum: No registered users and 2 guests