Hey,
I want to replace the default hobbit disk tests with a script I've
written that allows me to group partitions as a single volume. I know I
need to disable Hobbit's built-in monitor but I also want my script to
use the disk column...what would be the best way to accomplish this?
Unless I'm missing something, I don't see an easy way to do this.
=G=
There's no requirement that you use a different column name in your status reports. Can you just not configure disk tests for that host and let your script report "status hostname disk etc" instead?
You would have to keep sending responses at the same intervals expected for your other disk tests, or risk getting purples, but I figure that's not a problem.
Tod Hansmann Network Engineer
-----Original Message----- From: Galen Johnson [mailto:gjohnson at trantor.org] Sent: Thursday, May 17, 2007 6:07 PM To: hobbit at hswn.dk Subject: [hobbit] disk tests
Hey,
I want to replace the default hobbit disk tests with a script I've written that allows me to group partitions as a single volume. I know I
need to disable Hobbit's built-in monitor but I also want my script to
use the disk column...what would be the best way to accomplish this?
Unless I'm missing something, I don't see an easy way to do this.
=G=
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
On Thursday 17 May 2007 22:35, Tod Hansmann wrote:
There's no requirement that you use a different column name in your status reports. Can you just not configure disk tests for that host and let your script report "status hostname disk etc" instead?
You would have to keep sending responses at the same intervals expected for your other disk tests, or risk getting purples, but I figure that's not a problem.
Tod Hansmann Network Engineer
-----Original Message----- From: Galen Johnson [mailto:gjohnson at trantor.org] Sent: Thursday, May 17, 2007 6:07 PM To: hobbit at hswn.dk Subject: [hobbit] disk tests
Hey,
I want to replace the default hobbit disk tests with a script I've written that allows me to group partitions as a single volume. I know I
need to disable Hobbit's built-in monitor but I also want my script to use the disk column...what would be the best way to accomplish this? Unless I'm missing something, I don't see an easy way to do this.
=G=
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
I believe the disk report is created by the Hobbit server. It feeds off the client data [df]. To stop the hobbit server from creating the disk report for a client use the bbtag, "NOCOLUMNS:disk". But since you want to replace the disk report, with one generated by an ext script, this may be tricky. If your ext script sends in disk reports, this maybe squelched by that bbtag. But since the following is said in the bb-hosts man page, "Note: If the columns already exist, you must use the bb(1) utility to drop them, or they will go purple." I believe it won't squelch the the disk report generated by your ext script.
If that doesn't work, 2nd option would be to edit the client/bin/hobbitclient-OS.sh on the client, and comment out the [df] area. I do not think the Hobbit server will generate a disk report if it doesn't have any [df] clientdata. but only testing will tell.
Let us know how your testing goes, and good luck, ~Steve
I would not disable the regular hobbit-server processing. I think you should go into the hobbit-client code for the system you want to change and modify its processing that build the [df] section of the client-data stream. You can sum up multiple partitions or ignore particular mount-points and as long as the output you build is in the [df] format, the hobbit-server backend code will build the webpage and rrd files/graph the right way.
/Thomas Kern /301-903-2211
-----Original Message----- From: Galen Johnson [mailto:gjohnson at trantor.org] Sent: Thursday, May 17, 2007 6:07 PM To: hobbit at hswn.dk Subject: [hobbit] disk tests
Hey,
I want to replace the default hobbit disk tests with a script I've written that allows me to group partitions as a single volume. I know I
need to disable Hobbit's built-in monitor but I also want my script to use the disk column...what would be the best way to accomplish this?
Unless I'm missing something, I don't see an easy way to do this.=G=
participants (4)
-
gjohnson@trantor.org
-
s_aiello@comcast.net
-
thansmann@directpointe.com
-
Thomas.Kern@hq.doe.gov