You got it, big man -- just remember to "pitch" what you know you can "catch". Since the catcher script KNOWS which test it is parsing, you can be as sloppy as you want.
-----Original Message----- From: Rob Munsch [mailto:rmunsch at solutionsforprogress.com] Sent: Thursday, October 19, 2006 10:15 AM To: hobbit at hswn.dk Subject: Re: [hobbit] Sending data from script to an rrd
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hubbard, Greg L wrote:
Hey Rob,
What is being passed is all the text you so carefully sent in your client-side text. That is why it is important to "pitch" what you can
"catch."
OH, so, you know how to craft your greps and awks based on the MSG you are sending from the client, is that it? I don't need to find and examine that passed data, because i can see its structure based on the $MSG i am sending at the end of the client script. Right?
(please don't laugh at my code):
shyeah, like i'm qualified to do so.
case $TESTNAME in
foo) # Snag each foo data line FOO_ALL=`grep "FOO_Events:" $FNAME | awk '{print $3}'`
this is where i was getting conf00zed. I was wondering what psychic powers you people were employing to know how to pick out what you wanted blindly :).
# Print out RRD Foo Dataset definitions echo "DS:Events:GAUGE:600:0:U" echo "DS:Notifications:GAUGE:600:0:U" echo "foo.rrd" echo "$FOO_ALL:$FOO_NOTIFY"
and this i'll just have to look up to make sure of.
Thank you! I think it's starting to coalesce in my congealed brain...
-----Original Message----- From: Rob Munsch [mailto:rmunsch at solutionsforprogress.com] Sent: Thursday, October 19, 2006 9:33 AM To: hobbit at hswn.dk Subject: Re: [hobbit] Sending data from script to an rrd
I'm askin' the wrong questions, i just realized.
For custom test Foo which has Custom Script Foo.sh, which is a clientside script living in ~/client/ext;
assuming all other .cfg acrobatics have been accomplished, where on the server am i going to find the raw $host.foo data/numbers for me to
parse and pass on?
I understand i can maybe copy someone else's macro for it, but i need to see what the raw data looks like so i know what i'm parsing :D.
tia,
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
iD8DBQFFN5ZnBvBcJFK6xYURAoAsAJ9RcsbnlCxv6hvxh9X3faafQ3pJmQCcDIKO QrAIouK6rFoiE2bBA15wlU4= =2WEU -----END PGP SIGNATURE-----
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk