[hobbit] RRD data not being created.
Rob Munsch
rmunsch at solutionsforprogress.com
Fri Oct 20 17:38:46 CEST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hubbard, Greg L wrote:
> Is this when you are running the script by hand? $2 is the second
> parameter. So to run the script by hand, you have to:
>
> $ ./script node test some.test.file.name
>
> And then you *should* see "test.rrd" written out.
it looks like i have .rrd files now, but the data points are all NaN.
Still no graph, not even a blank one.
I'll see what kind of raw output i get (i must have broken parsing while
messing with this...).
> The way I tested this was to capture the output of a client side script
> (just cut from the browser and paste in a text file),
Oh cute. Okay, i'll try that now. Thanks!
then run it by
> hand using the above method. The RRD commands are written to the
> terminal, and any griping is in the log.
>
> Glad you are making progress.
>
> GLH
>
> -----Original Message-----
> From: Rob Munsch [mailto:rmunsch at solutionsforprogress.com]
> Sent: Thursday, October 19, 2006 2:48 PM
> To: hobbit at hswn.dk
> Subject: Re: [hobbit] RRD data not being created.
>
> Hubbard, Greg L wrote:
>> Rob, if you implemented the script example I posted, you should be
>> able to look in the script log to see if it is doing anything. Just
>> remember not to refer to NCV anywhere in the configuration.
>
>> The log will tell you if the script is being called at all -- you can
>> enable any debug you want -- just make sure you write it to the log,
>> since you will never see STDOUT. You can even cat the incoming file
>> out to the log.
>
>> This is what I had to do to get it working -- sort of organically.
>
> I have .rrd files! huzzah. Now i just need to get the actual graph to
> appear, instead of a text link.
>
> Also, something Odd is happening such that variables are not being
> expanded. Frex,
>
> TESTNAME="$2"
> echo $TESTNAME.rrd
>
> is coming out as just
>
> .rrd
>
> o_O
> still, it's progress :D
>
>> GLH
>
>> -----Original Message-----
>> From: Rob Munsch [mailto:rmunsch at solutionsforprogress.com]
>> Sent: Thursday, October 19, 2006 1:47 PM
>> To: hobbit at hswn.dk
>> Subject: [hobbit] RRD data not being created.
>
>> I'm pretty sure this is the trouble. Ladies and gentlemen, i am
>> stumped. Following all the instructions in the docs, manpages, faqs
>> and alien communications, as well as the very helpful samples provided
>
>> by list members... no new file ever gets created in
> ~/data/rrd/<hostname>.
>> I have status, so i know client info is reaching server.
>> I have copied almost verbatim the sample server-side script needed to
>> parse this info and spit it back out to RRD.
>> And i have eschewed NCV and gone in favor of hobbitd_channel --options
>
>> to make this all work right, or so I thought.
>
>> If you make a custom script and the rrd file never happens, where
>> would you look first? The serverside script itself? hobbitlaunch. or
>
>> -graph.cfg options? Somewhere else? Mars? I'd be willing to check
>> Mars at this point.
>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
>
>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
>
>
>
>
To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk
- --
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
iD8DBQFFOO2GBvBcJFK6xYURAs8+AJ9SATCMb1MNDyuynM9p7ck7DLnDHgCgjp+o
GbFPoIYazzxqkSCeXeIOgDo=
=1gPl
-----END PGP SIGNATURE-----
More information about the Xymon
mailing list