What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

mapobject background color

Votes:

0

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 ..... 1.3.6.1.4.1.3375.2.1.14.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 .... 1.3.6.1.4.1.3375.2.1.14.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.

thanks.

background color-state snmp

Created on Apr 9, 2020 11:04:25 AM

Last change on Apr 10, 2020 4:19:46 AM by  Sven Roggenhofer [Paessler Technical Support]



1 Reply

Votes:

0

Hello,

A Sensor can be set in different States (and their colors) according to the OID results by using custom Lookup files. The map object will then use the same color as the sensor.

Kind Regards,
Timo Dambach
Paessler Tech Support

Created on Apr 10, 2020 9:29:56 AM by  Timo Dambach [Paessler Support]

Last change on Apr 10, 2020 9:30:50 AM by  Timo Dambach [Paessler Support]




Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.