Hobbit 4.1.1 released
list Henrik Størner
Hot on the heels of 4.1.0 comes 4.1.1, fixing the bugs that have been reported today by the courageous people who dare to install a ".0" release. Of course, now that it has become ".1" it is perfect :-) This should actually build on systems that have PCRE headers in a non-default location or use Korn shell; it will get the "disk" status color right; it won't flood your Hobbit server with "vmstat" processes; and a couple of annoying crashes got fixed as well. My apologies - this one should be a lot better. Regards, Henrik. -------------- next part -------------- Changes from 4.1.0 -> 4.1.1 Bugfixes: * The Hobbit client mis-interpreted the "df" output from filesystems with longer-than-usual device names (e.g. network-mounted filesystems, resulting in some rather incredible values for the disk utilisation. * hobbitsvc.cgi could crash if some of the input parameters from the URL were missing. This would only happen if you accessed it via a URL that was not created by Hobbit. * The hobbitlaunch.cfg file for the server was missing a line, causing it to run the local client much more often than intended. * A faulty initialisation when reloading the Hobbit daemon state could leave a broken pointer in a log-record. If this was then accessed by a "hobbitdxboard" or a "drop" command, hobbitd would crash. Build problems: * The "configure" script failed on certain systems with a "cannot shift" error. * Building the client on systems without the PCRE headers would fail. * Building Hobbit - client or server - would fail on a system if the PCRE headers were in a non-standard location.
list Michael Nemeth
I think hobbitclient-hpux.sh should be hobbitclient-hp-ux.sh next where is bb-hp-memsz ? /usr/sbin/swapinfo is root x only (so I chmod +x ) Also I started the client on my server but no "extra tests" like cpu or disk are showning Did I miss something to configiure? Lastly the client IS compliling with out the pcre header, great job!
▸
Henrik Stoerner wrote:
Hot on the heels of 4.1.0 comes 4.1.1, fixing the bugs that have been reported today by the courageous people who dare to install a ".0" release. Of course, now that it has become ".1" it is perfect :-) This should actually build on systems that have PCRE headers in a non-default location or use Korn shell; it will get the "disk" status color right; it won't flood your Hobbit server with "vmstat" processes; and a couple of annoying crashes got fixed as well. My apologies - this one should be a lot better. Regards, Henrik. Changes from 4.1.0 -> 4.1.1 Bugfixes: * The Hobbit client mis-interpreted the "df" output from filesystems with longer-than-usual device names (e.g. network-mounted filesystems, resulting in some rather incredible values for the disk utilisation. * hobbitsvc.cgi could crash if some of the input parameters from the URL were missing. This would only happen if you accessed it via a URL that was not created by Hobbit. * The hobbitlaunch.cfg file for the server was missing a line, causing it to run the local client much more often than intended. * A faulty initialisation when reloading the Hobbit daemon state could leave a broken pointer in a log-record. If this was then accessed by a "hobbitdxboard" or a "drop" command, hobbitd would crash. Build problems: * The "configure" script failed on certain systems with a "cannot shift" error. * Building the client on systems without the PCRE headers would fail. * Building Hobbit - client or server - would fail on a system if the PCRE headers were in a non-standard location.
-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
| _p_ Mike Nemeth | ___| |_____ email(w) user-609d3fab5b2d@xymon.invalid Work: XXX XXX-XXXX |><___________) | Home Page:http://www.geocities.com/mjnemeth/ | Work Page:http://faraday.motown.lmco.com:3000/~nemethm/ | Work Page:http://ortsweb/~mnemeth/ |++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
list Michael Nemeth
The Solaris 8 client produce trends graphs but with no data . There are no "dots" for client test (cpu disk ...) The HP 11.0 client produce NO client trends graphs . There are no "dots" for client test (cpu disk ...) The HP is the hobbit server . I run the sever as myself in /home/nemethm/hobbit and I complied the client into /home/nemethm/hobbit./client and run as myself . There are server Trend graphs.
▸
Changes from 4.1.0 -> 4.1.1 Bugfixes: * The Hobbit client mis-interpreted the "df" output from filesystems with longer-than-usual device names (e.g. network-mounted filesystems, resulting in some rather incredible values for the disk utilisation. * hobbitsvc.cgi could crash if some of the input parameters from the URL were missing. This would only happen if you accessed it via a URL that was not created by Hobbit. * The hobbitlaunch.cfg file for the server was missing a line, causing it to run the local client much more often than intended. * A faulty initialisation when reloading the Hobbit daemon state could leave a broken pointer in a log-record. If this was then accessed by a "hobbitdxboard" or a "drop" command, hobbitd would crash. Build problems: * The "configure" script failed on certain systems with a "cannot shift" error. * Building the client on systems without the PCRE headers would fail. * Building Hobbit - client or server - would fail on a system if the PCRE headers were in a non-standard location.
-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | _p_ Mike Nemeth | ___| |_____ email(w) user-609d3fab5b2d@xymon.invalid Work: XXX XXX-XXXX |><___________) | Home Page:http://www.geocities.com/mjnemeth/ | Work Page:http://faraday.motown.lmco.com:3000/~nemethm/ | Work Page:http://ortsweb/~mnemeth/ |++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
list Daniel J McDonald
▸
On Tue, 2005-07-26 at 06:53 -0400, Michael Nemeth wrote:
The Solaris 8 client produce trends graphs but with no data . There are no "dots" for client test (cpu disk ...) The HP 11.0 client produce NO client trends graphs . There are no "dots" for client test (cpu disk ...) The HP is the hobbit server . I run the sever as myself in /home/nemethm/hobbit and I complied the client into /home/nemethm/hobbit./client and run as myself . There are server Trend graphs.
Any useful errors in /var/log/hobbit/hobbitclient.log? On the two clients I've installed I've had to change permissions on the /usr/lib/hobbit/client/tmp directory in order to get it to run. -- Daniel J McDonald, CCIE # 2495, CNX, CISSP # 78281 Austin Energy user-290ce4e24e19@xymon.invalid
list Michael Nemeth
on the hp I get : bb-hp-memsz: not found I email about that before . on the sun the log is empty, and I just realize the trend graphs I saw may be from when I was running bb client!
▸
Daniel J McDonald wrote:
On Tue, 2005-07-26 at 06:53 -0400, Michael Nemeth wrote:The Solaris 8 client produce trends graphs but with no data . There are no "dots" for client test (cpu disk ...) The HP 11.0 client produce NO client trends graphs . There are no "dots" for client test (cpu disk ...) The HP is the hobbit server . I run the sever as myself in /home/nemethm/hobbit and I complied the client into /home/nemethm/hobbit./client and run as myself . There are server Trend graphs.Any useful errors in /var/log/hobbit/hobbitclient.log? On the two clients I've installed I've had to change permissions on the /usr/lib/hobbit/client/tmp directory in order to get it to run.
-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | _p_ Mike Nemeth | ___| |_____ email(w) user-609d3fab5b2d@xymon.invalid Work: XXX XXX-XXXX |><___________) | Home Page:http://www.geocities.com/mjnemeth/ | Work Page:http://faraday.motown.lmco.com:3000/~nemethm/ | Work Page:http://ortsweb/~mnemeth/ |++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
list Michael Nemeth
▸
on the hp I get : bb-hp-memsz: not found I email about that before . on the sun the log is empty, and I just realize the trend graphs I saw may be from when I was running bb client!
I just open up perms to 777 client/tmp
still no luck!
▸
Daniel J McDonald wrote:
On Tue, 2005-07-26 at 06:53 -0400, Michael Nemeth wrote:The Solaris 8 client produce trends graphs but with no data . There are no "dots" for client test (cpu disk ...) The HP 11.0 client produce NO client trends graphs . There are no "dots" for client test (cpu disk ...) The HP is the hobbit server . I run the sever as myself in /home/nemethm/hobbit and I complied the client into /home/nemethm/hobbit./client and run as myself . There are server Trend graphs.Any useful errors in /var/log/hobbit/hobbitclient.log? On the two clients I've installed I've had to change permissions on the /usr/lib/hobbit/client/tmp directory in order to get it to run.
-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | _p_ Mike Nemeth | ___| |_____ email(w) user-609d3fab5b2d@xymon.invalid Work: XXX XXX-XXXX |><___________) | Home Page:http://www.geocities.com/mjnemeth/ | Work Page:http://faraday.motown.lmco.com:3000/~nemethm/ | Work Page:http://ortsweb/~mnemeth/ |++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
list Anatoli Bogajewski
Hi,
▸
on the hp I get : bb-hp-memsz: not found I email about that before .
You can get this one by downloading the "bb-memory" extension from deadcat, i guess. Greetings, Anatoli Bogajewski
list Michael Nemeth
Thanks ! user-4d3800b5a33a@xymon.invalid wrote:
Hi,on the hp I get : bb-hp-memsz: not found I email about that before .You can get this one by downloading the "bb-memory" extension from deadcat, i guess. Greetings, Anatoli Bogajewski
-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | _p_ Mike Nemeth | ___| |_____ email(w) user-609d3fab5b2d@xymon.invalid Work: XXX XXX-XXXX |><___________) | Home Page:http://www.geocities.com/mjnemeth/ | Work Page:http://faraday.motown.lmco.com:3000/~nemethm/ | Work Page:http://ortsweb/~mnemeth/ |++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
list Michael Nemeth
ok SOMEHOW I got the solaris clients to work! I was wondering if the old existing rrds were a problem so I brought up the client on a sun that never had bb runing. Everything worked! Now I did open perms on tmp just to be sure! I had to remove the sun that was not working (bb drop and comment out of bb-host) and then put it back in! Also I changed the name from Fulll dwvob.lmco.com to just dwbob . I don't know which "fixed" it! But the hp is not working and since it is the server I cann't remove it! ( I did get the mem test from deadcat).
▸
Michael Nemeth wrote:
on the hp I get : bb-hp-memsz: not found I email about that before . on the sun the log is empty, and I just realize the trend graphs I saw may be from when I was running bb client! I just open up perms to 777 client/tmp still no luck! Daniel J McDonald wrote:On Tue, 2005-07-26 at 06:53 -0400, Michael Nemeth wrote:The Solaris 8 client produce trends graphs but with no data . There are no "dots" for client test (cpu disk ...) The HP 11.0 client produce NO client trends graphs . There are no "dots" for client test (cpu disk ...) The HP is the hobbit server . I run the sever as myself in /home/nemethm/hobbit and I complied the client into /home/nemethm/hobbit./client and run as myself . There are server Trend graphs.Any useful errors in /var/log/hobbit/hobbitclient.log? On the two clients I've installed I've had to change permissions on the /usr/lib/hobbit/client/tmp directory in order to get it to run.-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | _p_ Mike Nemeth | ___| |_____ email(w) user-609d3fab5b2d@xymon.invalid Work: XXX XXX-XXXX |><___________) | Home Page:http://www.geocities.com/mjnemeth/ | Work Page:http://faraday.motown.lmco.com:3000/~nemethm/ | Work Page:http://ortsweb/~mnemeth/ |++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | _p_ Mike Nemeth | ___| |_____ email(w) user-609d3fab5b2d@xymon.invalid Work: XXX XXX-XXXX |><___________) | Home Page:http://www.geocities.com/mjnemeth/ | Work Page:http://faraday.motown.lmco.com:3000/~nemethm/ | Work Page:http://ortsweb/~mnemeth/ |++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
list Michael Nemeth
hobbitclient-hpux.sh should be hobbitclient-hp-ux.sh
for hp-ux 11.0 and below (I don't have hpux 11.11) configure scripts could(should?) have :
USERDATA=`getent passwd $BBUSER 2>/dev/null || ypmatch $BBUSER passwd 2>/dev/null || grep "^${BBUSER}:" /etc/passwd`
A there no getent for hpux running yp (maybe one with nis+? ) .
I was luck and was compiling mu hpux client on the yp server so it work by grap /etc/passwd !
Compile problems :
hp-ux 10.20
sendmsg.c: In function `sendtobbd':
sendmsg.c:318: `socklen_t' undeclared (first use in this function)
sendmsg.c:318: (Each undeclared identifier is reported only once
sendmsg.c:318: for each function it appears in.)
sendmsg.c:318: parse error before `connressize'
sendmsg.c:320: `connressize' undeclared (first use in this function)
gmake[1]: *** [sendmsg.o] Error 1
gmake[1]: Leaving directory `/tmp_mnt/home/mnemeth/hob20/lib'
gmake: *** [lib-client] Error 2
hp-ux 11.0 works fine ; I saw Anatoli Bogajewski had minor (?) problems with sendmsg.c on hpux 11.11
solaris 2.6
sendmsg.c: In function `sendtobbd':
sendmsg.c:245: warning: implicit declaration of function `inet_aton'
sendmsg.c:318: `socklen_t' undeclared (first use in this function)
sendmsg.c:318: (Each undeclared identifier is reported only once
sendmsg.c:318: for each function it appears in.)
sendmsg.c:318: parse error before `connressize'
sendmsg.c:320: `connressize' undeclared (first use in this function)
sendmsg.c:320: warning: passing arg 4 of `getsockopt' from incompatible pointer type
gmake[1]: *** [sendmsg.o] Error 1
gmake[1]: Leaving directory `/home/mnemeth/sol26/lib'
solaris 2.8 worked fine ; I have try 2.9 but then the 2.8 build should work on it.
IM not C programmer at all maybe these are easy fixes , like a missing include?
Has one got these to work? ( I actually have Sol 2.5.1 , hpux 9.5 hpux9.7 and hpux 10.10 clients to support
that are runing bb clients but they are few are not as importain )!
Last , I wondering how easy it will be to build a cilent and tar it for use on another system AND change if need BBHOME;
I not look at this yet as anyone else?
list Michael Nemeth
Still no luck I DID find this error in: clientdata.log: No client backend for OS 'hp-ux' Could it be something is parsing for hpux rather that hp-ux ? (uname -s = HP-UX)
▸
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | _p_ Mike Nemeth | ___| |_____ email(w) user-609d3fab5b2d@xymon.invalid Work: XXX XXX-XXXX |><___________) | Home Page:http://www.geocities.com/mjnemeth/ | Work Page:http://faraday.motown.lmco.com:3000/~nemethm/ | Work Page:http://ortsweb/~mnemeth/ |++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
list Henrik Størner
On Mon, Jul 25, 2005 at 01:45:17PM -0400, Michael Nemeth wrote:
I think hobbitclient-hpux.sh should be hobbitclient-hp-ux.sh
Right.
next where is bb-hp-memsz ?
I grabbed it from the bb-memory.sh package, but later renamed it so match the other "meminfo" tools in the Hobbit client. Just forgot to change the script.
/usr/sbin/swapinfo is root x only (so I chmod +x )
OK.
▸
Also I started the client on my server but no "extra tests" like cpu or disk are showning Did I miss something to configiure?
It's possible that the hostname determined by the client via "uname -n" doesn't match the one in the bb-hosts file. (Some systems report the fully qualified name via "uname -n", some dont). The easiest is to either add a "CLIENT:clienthostname" tag to the bb-hosts file on the Hobbit server, OR you can add a line with MACHINEDOTS="my.client.hostname" to the client/etc/hobbitclient.cfg file on your Hobbit client system. Henrik
list Henrik Størner
▸
On Fri, Jul 29, 2005 at 11:02:46AM -0400, Michael Nemeth wrote:
Still no luck I DID find this error in: clientdata.log: No client backend for OS 'hp-ux' Could it be something is parsing for hpux rather that hp-ux ?
Right on the head with that one. Fixed in my code now. Henrik
list Henrik Størner
On Wed, Jul 27, 2005 at 02:35:22PM -0400, Michael Nemeth wrote:
hobbitclient-hpux.sh should be hobbitclient-hp-ux.sh
Yep, fixed.
▸
for hp-ux 11.0 and below (I don't have hpux 11.11) configure scripts could(should?) have :
USERDATA=`getent passwd $BBUSER 2>/dev/null || ypmatch $BBUSER passwd 2>/dev/null || grep "^${BBUSER}:" /etc/passwd`
A there no getent for hpux running yp (maybe one with nis+? ) .
I was luck and was compiling mu hpux client on the yp server so it work by grap /etc/passwd !Heh, this shows I never had to work much with NIS. Thanks, I've added this to the configure-scripts.
▸
Compile problems : hp-ux 10.20 sendmsg.c: In function `sendtobbd': sendmsg.c:318: `socklen_t' undeclared (first use in this function) sendmsg.c:318: parse error before `connressize' sendmsg.c:320: `connressize' undeclared (first use in this function) solaris 2.6 sendmsg.c: In function `sendtobbd': sendmsg.c:245: warning: implicit declaration of function `inet_aton' sendmsg.c:318: `socklen_t' undeclared (first use in this function) sendmsg.c:318: parse error before `connressize' sendmsg.c:320: `connressize' undeclared (first use in this function) sendmsg.c:320: warning: passing arg 4 of `getsockopt' from incompatible pointer type
socklen_t is an unknown datatype on both of these systems. This appears to be a common "problem", so I'll do some configuration stuff to try and figure this out automatically.
IM not C programmer at all maybe these are easy fixes , like a missing include?
If only it were that simple ... it's more an issue of the various Unix vendors interpreting the POSIX specification differently. "socklen_t" is actually defined in POSIX, but as you can see Solaris and HP-UX doesn't know about it until some later versions.
▸
Last , I wondering how easy it will be to build a cilent and tar it for use on another system AND change if need BBHOME; I not look at this yet as anyone else?
The files in the client/etc/ directory have the BBHOME settting embedded in them - if you look at the hobbit source-files you'll see that hobbitclient.cfg and clientlaunch.cfg are generated by "make", by replacing "@BBHOME@" in the ...DIST file with the location you configured the client for. So you can tar up a client directory and move it to a different machine, but if you change the location of the client you'll need to modify these files to reflect the new BBHOME setting. Regards, Henrik
list Michael Nemeth
I think I temperally fixed this by adding "tr -d '-' in the runclient.sh script so it parses . Question is the client thatson the hobbit server suppose to start when you start the main server? or do you need to do a runclient.sh start?
▸
Henrik Stoerner wrote:
On Fri, Jul 29, 2005 at 11:02:46AM -0400, Michael Nemeth wrote:Still no luck I DID find this error in: clientdata.log: No client backend for OS 'hp-ux' Could it be something is parsing for hpux rather that hp-ux ?Right on the head with that one. Fixed in my code now. Henrik
-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | _p_ Mike Nemeth | ___| |_____ email(w) user-609d3fab5b2d@xymon.invalid Work: XXX XXX-XXXX |><___________) | Home Page:http://www.geocities.com/mjnemeth/ | Work Page:http://faraday.motown.lmco.com:3000/~nemethm/ | Work Page:http://ortsweb/~mnemeth/ |++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
list Anatoli Bogajewski
user-609d3fab5b2d@xymon.invalid schrieb am 01.08.2005 13:40:32:
▸
Question is the client thatson the hobbit server suppose to start when you start the main server?
As far as i understand - Yes. The client is started by "hobbitlaunch" module. Check the [hobbitclient] section. Have you got the server running on your hpux machines? Greetings, Anatoli Bogajewski
list Michael Nemeth
Yes the server runs, but I AM using hp-ux 11.0 not 11.11 I Had the client running but now it nor working and when its was working I think is was crashing. the hobbitd_client alternate between puple and red. I think it work run one then crash then get relaunched.
▸
user-4d3800b5a33a@xymon.invalid wrote:
user-609d3fab5b2d@xymon.invalid schrieb am 01.08.2005 13:40:32:Question is the client thatson the hobbit server suppose to start when you start the main server?As far as i understand - Yes. The client is started by "hobbitlaunch" module. Check the [hobbitclient] section. Have you got the server running on your hpux machines? Greetings, Anatoli Bogajewski
-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | _p_ Mike Nemeth | ___| |_____ email(w) user-609d3fab5b2d@xymon.invalid Work: XXX XXX-XXXX |><___________) | Home Page:http://www.geocities.com/mjnemeth/ | Work Page:http://faraday.motown.lmco.com:3000/~nemethm/ | Work Page:http://ortsweb/~mnemeth/ |++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
list Michael Nemeth
Ok I got the client working again. Seem to be differnece from runing it with hobbit server start up or running stand alone! Maybe to to mods I made! Aslo at one time I had a hobbit_client dot . it was going between red an purple, I did a "drop" on this test so to better track what was going on . IT has not reappeared.
▸
Michael Nemeth wrote:
Yes the server runs, but I AM using hp-ux 11.0 not 11.11 I Had the client running but now it nor working and when its was working I think is was crashing. the hobbitd_client alternate between puple and red. I think it work run one then crash then get relaunched. user-4d3800b5a33a@xymon.invalid wrote:user-609d3fab5b2d@xymon.invalid schrieb am 01.08.2005 13:40:32:Question is the client thatson the hobbit server suppose to start when you start the main server?As far as i understand - Yes. The client is started by "hobbitlaunch" module. Check the [hobbitclient] section. Have you got the server running on your hpux machines? Greetings, Anatoli Bogajewski-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | _p_ Mike Nemeth | ___| |_____ email(w) user-609d3fab5b2d@xymon.invalid Work: XXX XXX-XXXX |><___________) | Home Page:http://www.geocities.com/mjnemeth/ | Work Page:http://faraday.motown.lmco.com:3000/~nemethm/ | Work Page:http://ortsweb/~mnemeth/ |++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | _p_ Mike Nemeth | ___| |_____ email(w) user-609d3fab5b2d@xymon.invalid Work: XXX XXX-XXXX |><___________) | Home Page:http://www.geocities.com/mjnemeth/ | Work Page:http://faraday.motown.lmco.com:3000/~nemethm/ | Work Page:http://ortsweb/~mnemeth/ |++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++