Are you able to do an snmpget on both OID's and get values? That would be my first guess, that the second OID is not returning a value, or just 0.
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Stokkenes Vidar Sent: Wednesday, June 03, 2009 8:28 AM To: '[email protected]' Subject: [mrtg] One MRTG graph, two datasources 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:[email protected] 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)? Preferably I want one green filled graph for the temperature, and then a solid blue thin line for the humidity. How can I accomplish this? I've tried looking up some historical threads about this, but it didn't really help me much. Any ideas? Best regards, Vidar S _______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg _______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
