NetXMS Support Forum

English Support => General Support => Topic started by: squeezypiano on January 25, 2017, 12:51:26 PM

Title: Network map link speed colours
Post by: squeezypiano on January 25, 2017, 12:51:26 PM
Apologies if this has been covered before but I am not managing to find the details.

I am looking to colour the links on a network map based on the throughput as a percentage of the link speed.  Is this possible and, if so, how do I do it?

Many thanks.
Title: Re: Network map link speed colours
Post by: Alex Kirhenshtein on January 25, 2017, 12:59:10 PM
There are two options (all accessible in link properties, right click on the link to open):

1) you add label on the link (in "Data Sources"), label color will reflect active threshold on the DCI
2) create dummy node (with IP=0.0.0.0), and add it to General->Color->Based on object status
Then create scripted DCI on this node. Select Other Options -> Use this DCI for node status calculation. Script should return 0-4 (normal-critical) based on current link usage. Don't forget to set retention time to "Do not save to the database"