[mrtg] Two devices, one graph?

Alex van den Bogaerdt alex at vandenbogaerdt.nl
Fri May 10 00:14:01 CEST 2013


> I have two temperature probes. I would like probe #1 (indoor temp) 
> displayed
> as the I value and probe #2 (outdoor temperature) as the O value.
>
> Currently I am monitoring the indoor temp with the noo option enabled.
>
> Target[ncr-temp]:
> 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.16.1.8.0:public at 1
> 0.44.1.60
>
> I also have a second temp probe (also noo option) on a different IP 
> address
> measuring outdoor temperature.
>
> Target[outdoor-temp]:
> 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.16.1.8.0:public at 1
> 0.1.1.60

I am not an MRTG expert but I think I've seen this one several years ago. 
Try this:

Target[indoor-and-outdoor-temp]: 
1.3.6.1.4.1.3854.1.2.2.1.16.1.3.0&PseudoZero:public at 10.44.1.60 + 
PseudoZero&1.3.6.1.4.1.3854.1.2.2.1.16.1.8.0:public at 10.1.1.60




More information about the mrtg mailing list