From owner-freebsd-questions Mon Nov 19 17:58:31 2001 Delivered-To: freebsd-questions@freebsd.org Received: from chmls05.mediaone.net (chmls05.mediaone.net [24.147.1.143]) by hub.freebsd.org (Postfix) with ESMTP id 91D9837B418 for ; Mon, 19 Nov 2001 17:58:23 -0800 (PST) Received: from sickness (test4.peter.Metro2000.NET [216.177.0.48]) by chmls05.mediaone.net (8.11.1/8.11.1) with ESMTP id fAK1wBk14894 for ; Mon, 19 Nov 2001 20:58:12 -0500 (EST) From: "David Loszewski" To: Subject: healthd help with mrtg plz... Date: Mon, 19 Nov 2001 20:57:07 -0500 Message-ID: <002f01c17166$ac8a9250$3000b1d8@sickness> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG K, I took a look at the healthd site and this is what it said to do to monitor temperature: Target[temp]: `/usr/local/bin/healthdc cat | /usr/bin/awk '/^/ {print $2*10; print $3*10; print "a long time"; print $1}'` MaxBytes[temp]: 700 Options[temp]: gauge, noinfo, nopercent Title[temp]: cat.int.thehousleys.net (cat.int.thehousleys.net): temp YTicsFactor[temp]: 0.1 Factor[temp]: 0.1 YLegend[temp]: Celsius LegendI[temp]: Temp LegendO[temp]: Temp ShortLegend[temp]: C PageTop[temp]:

Chipset vs. CPU #1 Temperature

Maintainer:James Housley >jim@thehousleys.net<
Interface:Chipset vs. CPU #1 Temperature
Max:70 Degrees
so I put that in my mrtg.cfg, ran it and this is what I get: healthdc: cat: No address associated with hostname WARNING: Could not get any data from external command '/usr/local/bin/healthdc cat | /usr/bin/awk '/^/ {print $2*10; print $3*10; print "a long time"; print $1}'' Maybe the external command did not even start. () Ideas on what to do? And yes it is running because if I try healthdc then it returns the values. Dave To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message