Hello, I'm trying to understand how I can change the background color of an object according to the snmp mib. Default prtg is green as long as the snmp query get an ok response and that is not always the the correct representation. Not all queries are up or down status. For example i'd like to represent failover status with different color and f5 default color scheme is from the MIB
"The failover status ID on the system. unknown - the failover status of the device is unknown; offline - the device is offline; forcedOffline - the device is forced offline; standby - the device is standby; active - the device is active." "The color of the failover status on the system. green - the system is functioning correctly; yellow - the system may be functioning suboptimally; red - the system requires attention to function correctly; blue - the system's status is unknown or incomplete; gray - the system is intentionally not functioning (offline); black - the system is not connected to any peers."
And as you can see by the snmpwalk, one machine is active and the other is standby and what color that would represent. But PRTG is displaying green background color on both of the icons just because it gets an ok response from the query.
[root] # snmpwalk ..... 188.8.131.52.4.1.33184.108.40.206.3 F5-BIGIP-SYSTEM-MIB::sysCmFailoverStatusId.0 = INTEGER: standby(3) F5-BIGIP-SYSTEM-MIB::sysCmFailoverStatusStatus.0 = STRING: STANDBY F5-BIGIP-SYSTEM-MIB::sysCmFailoverStatusColor.0 = INTEGER: gray(4) F5-BIGIP-SYSTEM-MIB::sysCmFailoverStatusSummary.0 = STRING: 1/1 standby
[root] # snmpwalk .... 220.127.116.11.4.1.3318.104.22.168.3 F5-BIGIP-SYSTEM-MIB::sysCmFailoverStatusId.0 = INTEGER: active(4) F5-BIGIP-SYSTEM-MIB::sysCmFailoverStatusStatus.0 = STRING: ACTIVE F5-BIGIP-SYSTEM-MIB::sysCmFailoverStatusColor.0 = INTEGER: green(0) F5-BIGIP-SYSTEM-MIB::sysCmFailoverStatusSummary.0 = STRING: 1/1 active
So my question is how do I represent this in a map snmp object.