Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Nov 2001 18:58:55 -0500
From:      "David Loszewski" <stealth215@mediaone.net>
To:        <freebsd-questions@freebsd.org>
Subject:   help with monitoring healthd with mrtg plz???
Message-ID:  <001201c17156$27ab04d0$3000b1d8@sickness>

next in thread | raw e-mail | index | archive | help
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]: <H1>Chipset vs. CPU #1 Temperature</H1>
 <TABLE>
   <TR><TD>Maintainer:</TD><TD>James Housley
>jim@thehousleys.net<</TD></TR>
   <TR><TD>Interface:</TD><TD>Chipset vs. CPU #1 Temperature</TD></TR>
   <TR><TD>Max:</TD><TD>70 Degrees</TD></TR>
  </TABLE>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001201c17156$27ab04d0$3000b1d8>