Hi…
Firstly, I have been using LibreNMS for a little while now and am very impressed.
One of the things I am monitoring is our air conditioning units which are controlled via a Carel controller.
When our controller was installed, the labels of various measurable metrics were changed to something meaningful…for example, one of the labels is ‘Unit Setpoint’ which is a fixed temperature value which the controller uses to decide when to switch between different types of cooling.
The problem I have is that when LibreNMS polls/discovers the air con controller, it automatically labels the values I would like to monitor as per whatever is defined in the SNMP MIB.
In the ‘Unit Setpoint’ example above, LibreNMS labels this as ‘Room Temperature’ on all graphs, logs etc. presumably because the SNMP OID corresponding to the value for ‘Unit Setpoint’ is defined like this in the MIB:
-- 1.3.6.1.4.1.9839.2.1.2.1
roomTemp OBJECT-TYPE
SYNTAX Integer32 (-32767..32767)
UNITS "degrees C"
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Room Temperature"
::= { analogObjects 1 }
I guess the feature I’d like to request is the ability to override the label which LibreNMS reads from the MIB with a custom value.
If I go to the device’s health settings there is a column for ‘Desc’ which has all the automatically defined labels (see screenshot at end of this topic)…would it be possible to make the values in this column editable?
If this were possible, would entering a custom value here be reflected everywhere for that device (on graphs, in logs etc.), or is it more complicated than that?
I’d have a try at this myself, but I wouldn’t know where to start. I am not a coder myself, but I can do some php, mysql etc. In any case, if this were to be implemented as a new feature, I would certainly be willing to help in any way I can.
Anyway, I hope I have explained all this in a way that makes sense.
Thanks in advance.
Chris.