[mrtg] One MRTG graph, two datasources

Jay Hennigan jay at west.net
Wed Jun 3 15:48:38 CEST 2009


Stokkenes Vidar wrote:
> Hello guys,
> 
> I'm trying to graph both temperature and humidity to the same graph by using MRTG. However, when I do it as advised in your documentation, I only see the temperature (first OID in the "& chain") and not the second one (which is humidity)
> 
> Here is my config for the particular probe:
> 
> Target[probe1]:1.3.6.1.4.1.3854.1.2.2.1.16.1.3.0&1.3.6.1.4.1.3854.1.2.2.1.17.1.3.0:public at sensorprobe.domain.com
> Title[probe1]: Soyle Generell Temp
> Options[probe1]: nopercent,gauge,noinfo,nolegend,noo,growright
> PageTop[probe1]: <H1>Probe 1</H1>
> Ylegend[probe1]: Temperature in Celsius
> LegendI[probe1]: Temperature:
> ShortLegend[probe1]: 'C
> MaxBytes[probe1]: 100
> XSize[probe1]: 500
> YSize[probe1]: 175
> YTics[probe1]: 5
> #Colours[probe1]: BLUE#61A7E2, BLUE#6188E2, BLUE#6268E2, BLUE#7B61E2
> 
> Why am I only seeing the first OID (1.3.6.1.4.1.3854.1.2.2.1.16.1.3.0) and not the second one (1.3.6.1.4.1.3854.1.2.2.1.17.1.3.0)?

Delete the "noo" in your options line.  That is "no out" and suppresses 
display of the second variable.


--
Jay Hennigan - CCIE #7880 - Network Engineering - jay at impulse.net
Impulse Internet Service  -  http://www.impulse.net/
Your local telephone and internet company - 805 884-6323 - WB6RDV



More information about the mrtg mailing list