Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Sep 1999 13:16:12 +0200
From:      Jesper Skriver <jesper@skriver.dk>
To:        Dan Moschuk <dan@freebsd.org>
Cc:        Leif Neland <leifn@neland.dk>, mrtg@list.ee.ethz.ch, freebsd-hackers@hub.FreeBSD.ORG
Subject:   Re: mrtg,FreeBSD, asus p2b temperature
Message-ID:  <19990927131612.F2429@skriver.dk>
In-Reply-To: <19990927020335.A26862@november.jaded.net>; from Dan Moschuk on Mon, Sep 27, 1999 at 02:03:35AM -0400
References:  <02fb01bf086a$dae8aae0$0e00a8c0@neland.dk> <19990927020335.A26862@november.jaded.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Sep 27, 1999 at 02:03:35AM -0400, Dan Moschuk wrote:
> 
> | Does anybody have any tips for using the above combination for graphing temperatures?
> | 
> | Leif
> 
> As far as I know, MRTG is only able to fetch data from SNMP MIBs.  Which,
> in order to get the information you're looking for, two things have to happen.
> You need to first have the kernel fetch that information from the 
> motherboard, and then some userland program to return it in the form of an SNMP
> response.
> 
> So, unless you are prepared to dust off that C compiler, you're out of
> luck.  

In the past I've used a syntax like

Target[abc]: `cat file`

or

Target[abc]: `program`

Where the program has output like (or the file contains)

----
First number\n
Second number\n
\n
\n
----

/Jesper

-- 
Jesper Skriver (JS4261-RIPE), Network manager      
Tele Danmark DataNet, IP section (AS3292)

One Unix to rule them all, One Resolver to find them,
One IP to bring them all and in the zone to bind them.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990927131612.F2429>