[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [hobbit] NooB questions - Status not Available



I would compile it by hand (but that's just me)...I hate when package maintainers spread everything hither and yon (what's really wrong with it living under /usr/local or /opt?...at least you know where everything is that pertains to that application)...like apache...you might find it's actually easier to configure that way.  I'm fairly certain that there are some readme's, etc that come with the tarball that may or may not be included in the packages...if they are in the packages, I really doubt they've been updated to describe the package distribution and what/where to change things.

=G=

-----Original Message-----
From: McIlrath, Paul [mailto:pmcilrath (at) marketron.com] 
Sent: Wednesday, September 26, 2007 9:28 AM
To: hobbit (at) hswn.dk
Subject: RE: [hobbit] NooB questions - Status not Available

Tod, 
 
Thank you for your response...this seems to be the right track. On your advice I checked the /hobbit/data directory and it is indeed empty, owned by hobbit.hobbit with 755 permissions. 
 
I do not know why the rpm installer I used spread the directories around....the main install at first glance seems to be in /usr/libexec/hobbit which contains the cgi-bin, cgi-secure and server directories. A closer look in the /usr/libexec/hobbit/server directory however shows the soft links:
 
etc  -> /etc/hobbit
tmp -> /var/lib/hobbit/tmp
web -> /etc/hobbit/web
www -> /var/lib/hobbit/www
 
the bin and ext directories are not soft linked and reside in /usr/libexec/hobbit/server.
 
I guess I made a bad assumption that this was just how every hobbit installation was set up. When I ran BB, I used to install everything to /bb/bb19c.
 
Perhaps the best question now would be, is it worth the time to try and patch up this installation to make everything work? Or would it be more productive to scrap in and use a binary installer and make/make install to build it on the environment it will be running on?
 
Paul

	-----Original Message----- 
	From: Tod Hansmann [mailto:thansmann (at) directpointe.com] 
	Sent: Tue 9/25/2007 4:54 PM 
	To: hobbit (at) hswn.dk 
	Cc: 
	Subject: RE: [hobbit] NooB questions - Status not Available
	
	

	"Status Unavailable" is a result given by the CGI script running.  I
	usually get this on new nodes when there is no data in the data
	directory (usually /home/hobbit/data, at least on my servers).  You
	might want to check the permissions on these directories and make sure
	there are files getting written to the this directory (or more
	specifically, the subfolders in it). 
	
	I don't know why you have your directories all over the place.  Our
	entire installation of hobbit on all three servers is in /home/hobbit,
	with subdirectories going out from there.  Makes things easier to secure
	and easier to manage.  Did you divide those up on purpose?
	
	Regardless, check on the permissions of the directory that you have
	setup for data compilation.  These would be the $BBVAR and the variables
	in the same section as it in your hobbitserver.cfg
	
	Tod Hansmann
	Network Engineer
	
	
	-----Original Message-----
	From: Galen Johnson [mailto:Galen.Johnson (at) sas.com]
	Sent: Tuesday, September 25, 2007 3:48 PM
	To: hobbit (at) hswn.dk
	Subject: RE: [hobbit] NooB questions - Status not Available
	
	Most likely.  There are some permission changes that have to happen in
	the hobbit www area and maybe a couple of other areas to allow the user
	apache runs as to write there...it has been a while since I set up
	hobbit but you might be able to glean the info from the hobbit help/man
	pages.
	
	=G=
	
	-----Original Message-----
	From: McIlrath, Paul [mailto:pmcilrath (at) marketron.com]
	Sent: Tuesday, September 25, 2007 5:06 PM
	To: hobbit (at) hswn.dk
	Subject: RE: [hobbit] NooB questions - Status not Available
	
	Galen,
	
	When I first set it up, it was using the include statement to point to
	the \etc\httpd\conf.d\hobbit-apache.conf file. That wasnt working
	however, so I commented out where apache point to conf.d and pasted the
	following in at the end of my \etc\httpd\conf\httpd.conf file:
	
	
	Alias /hobbit/  "/var/lib/hobbit/www/"
	<Directory "/var/lib/hobbit/www">
	    Options Indexes FollowSymLinks Includes MultiViews
	    Order allow,deny
	    Allow from all
	</Directory>
	<VirtualHost *>
	DocumentRoot "/var/lib/hobbit/www"
	ServerName hobbit
	<Directory "/var/lib/hobbit/www">
	allow from all
	Options +Indexes
	</Directory>
	</VirtualHost>
	ScriptAlias /hobbit-cgi/ "/usr/libexec/hobbit/cgi-bin/"
	<Directory "/usr/libexec/hobbit/cgi-bin">
	    AllowOverride None
	    Options ExecCGI Includes
	    Order allow,deny
	    Allow from all
	</Directory>
	ScriptAlias /hobbit-seccgi/ "/usr/libexec/hobbit/cgi-secure/"
	<Directory "/usr/libexec/hobbit/cgi-secure">
	    AllowOverride None
	    Options ExecCGI Includes
	    Order allow,deny
	    Allow from all
	    # Password file where users with access to these scripts are kept.
	    # Create it with "htpasswd -c /etc/hobbit/hobbitpasswd USERNAME"
	    # Add more users / change passwords with "htpasswd
	/etc/hobbit/hobbitpasswd USERNAME"
	    AuthUserFile /etc/hobbit/hobbitpasswd
	    AuthType Basic
	    AuthName "Hobbit Administration"
	    Require valid-user
	</Directory>
	
	
	Then I restarted httpd and hobbitd and everything started working, with
	the exception of the pages showing Status not Available and the 2
	reports, as stated below.   Now that you mention it though, its not
	requiring any kind of login right now....so maybe its a rights thing
	because it doesnt know who is trying to create/view the pages. Is that a
	possibility?
	
	Paul
	
	
	
	        -----Original Message-----
	        From: Galen Johnson [mailto:Galen.Johnson (at) sas.com]
	        Sent: Tue 9/25/2007 2:41 PM
	        To: hobbit (at) hswn.dk
	        Cc:
	        Subject: RE: [hobbit] NooB questions - Status not Available
	       
	       
	
	        I don't use the packages but I'm wondering if your apache
	httpd.conf file has the hobbit include info...either via an Include
	directive or pasted in directly.  Look in there and see if there is
	anything hobbit related.
	       
	        =G=
	       
	        -----Original Message-----
	        From: McIlrath, Paul [mailto:pmcilrath (at) marketron.com]
	        Sent: Tuesday, September 25, 2007 3:57 PM
	        To: hobbit (at) hswn.dk; hobbit (at) hswn.dk
	        Subject: RE: [hobbit] NooB questions - Status not Available
	       
	        Thanks for your response Thomas,
	       
	        unfortunately, I get it on every test, all the time, regardless
	of how many times I refresh. Im sure I have over looked something
	simple, I just dont know what it is yet!
	       
	        Paul
	       
	                -----Original Message-----
	                From: Kern, Thomas [mailto:Thomas.Kern (at) hq.doe.gov]
	                Sent: Tue 9/25/2007 1:36 PM
	                To: hobbit (at) hswn.dk
	                Cc:
	                Subject: RE: [hobbit] NooB questions - Status not
	Available
	              
	              
	       
	                I get the blank 'Status Not Available' screen
	occasionally. I think it
	                is just the hobbit server being busy or the network
	slow. When I
	                'refresh' the page, I get a regular screen of data.
	              
	                /Thomas Kern
	                /301-903-2211
	              
	              
	                > -----Original Message-----
	                > From: McIlrath, Paul [mailto:pmcilrath (at) marketron.com]
	                > Sent: Tuesday, September 25, 2007 15:29
	                > To: hobbit (at) hswn.dk
	                > Subject: [hobbit] NooB questions - Status not
	Available
	                >
	                > Hi,
	                >
	                > Im a NooB to Hobbit. I have some Big Brother
	background which
	                > is why I chose Hobbit for a new monitoring project at
	my company.
	                >
	                > Im running CentOS 5, and I installed Apache 2, and
	                > rrdtool-1.0.50-3.el5.rf.i386.rpm and Hobbit from
	                > hobbit-4.1.2p1-1e14.re.i386.
	                >
	                > The installations all went smoothly, no error
	messages, I put
	                > some hosts in my bb-hosts file and fired up hobbitd.
	                >
	                > The main page comes up, but when I click on any of the
	tests
	                > icons, instead of getting the current status for that
	hosts
	                > tests, I get a blank page with "Status not Available".
	                > However, if I click on "all Non-Green view" from the
	view
	                > menus and look at the tests historically they are all
	there
	                > and can be viewed normally. I checked the files for
	the hosts
	                > in the hist, hislogs and logs directories and they are
	                > growing and receiving data from the clients.  A ps -ef
	| grep
	                > hobbitd seems to indicate that hobbitd is up and
	running.
	                >
	                > I suspect its a permissions thing, but the structure
	of
	                > Hobbit is different enough from BB Im not sure where
	to look.
	                >   I am also seeing a couple of odd behaviors in
	reports that
	                > makes me suspect that as well.  If I try to run a
	snapshot
	                > report I get a blank page with "Cannot create output
	                > directory", and the config report says it cannot
	contact the
	                > Hobbit server.
	                >
	                > If this is the wrong place for this post, please let
	me know
	                > and I will go where I should. And if anyone has a
	little
	                > patience to help a NooB along for awhile, I will
	promise to
	                > do my time helping other NooBs along when the shoe is
	on the
	                > other foor and support this forum.
	                >
	                > Paul
	                >
	                > pmcilrath (at) marketron.com
	                >
	                > </PRE>The information contained in this e-mail message
	may be
	                > confidential and protected from disclosure. If you are
	not
	                > the intended recipient, any dissemination,
	distribution or
	                > copying is strictly prohibited. If you think that you
	have
	                > received this e-mail message in error, please e-mail
	the
	                > sender at exadmins (at) marketron.com
	                >
	                >
	              
	              
	                To unsubscribe from the hobbit list, send an e-mail to
	                hobbit-unsubscribe (at) hswn.dk
	              
	              
	              
	       
	       
	        </PRE>The information contained in this e-mail message may be
	confidential and protected from disclosure. If you are not the intended
	recipient, any dissemination, distribution or copying is strictly
	prohibited. If you think that you have received this e-mail message in
	error, please e-mail the sender at exadmins (at) marketron.com
	       
	       
	
	
	</PRE>The information contained in this e-mail message may be
	confidential and protected from disclosure. If you are not the intended
	recipient, any dissemination, distribution or copying is strictly
	prohibited. If you think that you have received this e-mail message in
	error, please e-mail the sender at exadmins (at) marketron.com
	
	
	To unsubscribe from the hobbit list, send an e-mail to
	hobbit-unsubscribe (at) hswn.dk
	
	
	


</PRE>The information contained in this e-mail message may be confidential and protected from disclosure. If you are not the intended recipient, any dissemination, distribution or copying is strictly prohibited. If you think that you have received this e-mail message in error, please e-mail the sender at exadmins (at) marketron.com