Re: Two devices, one graph?

Christian Arnaut <[email protected]>
Newsgroups gmane.network.mrtg.user
Message-ID <[email protected]>
The PseudoZero solution worked perfectly!


Thank you,
~Christian

-----Original Message-----
From: Tobias Oetiker [mailto:[email protected]] 
Sent: Friday, May 10, 2013 1:47 AM
To: Christian Arnaut
Cc: [email protected]
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@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@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:[email protected]&1.3.6.1.4.1.3854.1
> .2.2.1
> .16.1.3.0:[email protected]
>
>

Target[temp]: PseudoZero&1.3.6.1.4.1.3854.1.2.2.1.16.1.8.0:[email protected]
 + 1.3.6.1.4.1.3854.1.2.2.1.16.1.3.0&PseudoZero:[email protected]

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 [email protected] ++41 62 775 9902 / sb: -9900
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.