[mrtg] Customise the Legend.

Brown, James (IP) jbbrown at lehman.COM
Mon Dec 16 12:58:53 MET 2002


Dear All,

I am trying to graph a Cisco router CPU utilization as follows:
   >  Target[graph]:
1.3.6.1.4.1.9.2.1.57.0&1.3.6.1.4.1.9.2.1.58.0:lbi at router

This correctly generates a graph with 2 lines, as expected.

However, as there are only 2 lines on the graph, I was hoping there would be
only two colours in the legend.
Unfortunately, the following is displayed:

GREEN ### Average 1 minute CPU Utilization 
BLUE ### Average 5 minute CPU Utilization 
ORANGE###   
VIOLET###   

My legend config looks like this:
  > Colours[graph]: GREEN#00eb0c,BLUE#1000ff,ORANGE#ff6600,VIOLET#ff00ff
  > Legend1[graph]: Average 1 minute CPU Utilization
  > Legend2[graph]: Average 5 minute CPU Utilization
  > Legend3[graph]:  
  > Legend4[graph]:  
  > LegendI[graph]:  CPU:
  > LegendO[graph]:  CPU:

Could anyone tell me whether it is possible to remove the "ORANGE###" and
"VIOLET###" from the legend, as these are not being graphed? (I have tried
deleting the Legend3 and Legend 4 tags without success).

Many thanks to anyone who can help.
Kind regards,

James.

----------------------------------------------------------------------------
--
James Brown
Network Systems, Lehman Brothers.

------------------------------------------------------------------------------
This message is intended only for the personal and confidential use of the designated recipient(s) named above.  If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited.  This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers.  Email transmission cannot be guaranteed to be secure or error-free.  Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such.  All information is subject to change without notice.


--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list