[mrtg] Two devices, one graph?
Christian Arnaut
n8tgc at msn.com
Fri May 10 14:33:58 CEST 2013
The PseudoZero solution worked perfectly!
Thank you,
~Christian
-----Original Message-----
From: Tobias Oetiker [mailto:tobi at oetiker.ch]
Sent: Friday, May 10, 2013 1:47 AM
To: Christian Arnaut
Cc: mrtg at lists.oetiker.ch
Subject: Re: [mrtg] Two devices, one graph?
Yesterday Christian Arnaut wrote:
> Have what could be a simple question. When monitoring an SNMP device
> w/MRTG, is it possible to plot the data from two devices on a single
graph?
>
>
>
> 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:pu
> blic 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:pu
> blic at 1
> 0.1.1.60
>
>
>
> Would love to modify the syntax of the Target line in the cfg file to
> support polling the I & O values from different devices.
>
> Something like below, but this doesn't seem to work.
>
>
>
> 1.3.6.1.4.1.3854.1.2.2.1.16.1.3.0:public at 10.44.1.60&1.3.6.1.4.1.3854.1
> .2.2.1
> .16.1.3.0:public at 10.1.1.60
>
>
Target[temp]: PseudoZero&1.3.6.1.4.1.3854.1.2.2.1.16.1.8.0:public at 10.44.1.60
+ 1.3.6.1.4.1.3854.1.2.2.1.16.1.3.0&PseudoZero:public at 10.1.1.60
should do the trick
cheers
tobi
>
>
>
> Thank you, in advance, for any assistance. I have search the forums
> and found that others have asked the same fundamental, however the
> links to the solutions are dead links.
>
>
>
>
>
> ~Christian
>
>
>
>
--
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900
More information about the mrtg
mailing list