-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Henrik Stoerner wrote:
On Thu, Oct 19, 2006 at 02:46:37PM -0400, Rob Munsch wrote:
Lets see your hobbitlaunch.cfg setup for the [rrdstatus] and [rrddata] tasks.
here y'go: [rrdstatus] ENVFILE /home/hobbit/server/etc/hobbitserver.cfg NEEDS hobbitd CMD hobbitd_channel --channel=status - --log=$BBSERVERLOGS/rrd-status.log hobbitd_rrd --rrddir=$BBVAR/rrd - --extra-script=/home/hobbit/server/ext/cputemp.sh --extra-tests=cputemp # "rrddata" updates RRD files with information that arrives as "data" messages. # If you want RRD graphs of your monitoring BB data, then you want to run this. [rrddata] ENVFILE /home/hobbit/server/etc/hobbitserver.cfg NEEDS hobbitd CMD hobbitd_channel --channel=data - --log=$BBSERVERLOGS/rrd-data.log hobbitd_rrd --rrddir=$BBVAR/rrd - --extra-script=/home/hobbit/server/ext/cputemp.sh --extra-tests=cputemp
Also, could you run this command for 10 minutes (as the hobbit user) and let us see what it reports:
bbcmd hobbitd_channel --channel=status \ hobbitd_capture --tests=YOUR-COLUMN-NAME
hobbit at randomaccess ~/server/bin $ ./bbcmd hobbitd_channel - --channel=status hobbitd_capture --tests=cputemp 2006-10-20 11:48:54 Using default environment file /home/hobbit/server/etc/hobbitserver.cfg ## @@status#148 1161359362.326942 10.10.10.12 currant.tbb cputemp 1161361162 green green 1161269556 0 0 1161359311 status currant,tbb.cputemp green Fri Oct 20 11:49:22 EDT 2006 Current CPU Temperature: 100 degrees Fahrenheit. Chillin' like a Villain. ## @@status#156 1161359370.741441 10.10.10.12 currant.tbb cputemp 1161361170 green green 1161269556 0 0 1161359363 status currant,tbb.cputemp green Fri Oct 20 11:49:30 EDT 2006 Current CPU Temperature: 100 degrees Fahrenheit. Chillin' like a Villain. ## @@status#171 1161359422.240126 10.10.10.12 currant.tbb cputemp 1161361222 green green 1161269556 0 0 1161359372 status currant,tbb.cputemp green Fri Oct 20 11:50:22 EDT 2006 Current CPU Temperature: 100 degrees Fahrenheit. Chillin' like a Villain. etc.
That will tell us what kind of data arrives from your test script.
Does your server-side script run at all ? Put a line like echo "This is my script" >/tmp/itruns and see if the /tmp/itruns file appears when the status is updated.
hobbit at randomaccess /tmp $ ls -lah cp* - -rw-r--r-- 1 hobbit nogroup 29 Oct 20 11:52 cputemp.runs
Have you checked the Hobbit log-files in ~hobbit/server/logs/ ? The hobbitlaunch.log file and rrd-status.log file.
I have, found a type or two and corrected them. beyond that just the ubiquitous mysterious 2006-10-20 12:02:55 Tried to down BOARDBUSY: Invalid argument seems amiss. Everything else is pretending to work ,-) I think i'm out of actual "mechanical" errors; i think i'm just feeding Hobbit garbage data. And i still only have a text link instead of a graph, sigh. Anyone recommend any good RRD books..? :) thanks Henrik and everyone, - -- Rob Munsch Solutions For Progress IT www.solutionsforprogress.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFOPOVBvBcJFK6xYURAp+RAJ9X5hMvKUCQAIUtArf+UE+kSCq42wCfU/jA aSL/wWJ+dCd9CZJXJsS34DQ= =zvFt -----END PGP SIGNATURE-----