[hobbit] NooB questions - Status not Available

Trent Melcher trent.melcher at sitel.com
Fri Oct 5 02:35:50 CEST 2007


On Thu, 2007-10-04 at 15:12 -0700, McIlrath, Paul wrote:
> Ok, I got rid of the rpm install and started over. 
>  
> I downloaded the latest hobbit binary and freetyp2, libart, libpng and rrdtool binaries and started from scratch. 
>  
> Everything is installed and I used the hobbit-apache.conf example created by the install to configure apache. 
>  
> Fired it all up, and hobbit seemed to be running fine...but when I click on any link, I get a strange error that says Internet Explorer (or Firefox) cannot download the file....instead of following the link to the details page for that test. I get the same thing with reports, trends, etc, etc. Only non-green seems to be working. 
>  
> Im pretty sure that it has to be something to do with cgi-bin or seccgi, so Im poring over my httpd.conf file line by line to see if something somewhere is conflicting with the example setup from the hobbit install (pasted into the bottom of my httpd.conf). 
>  
> Has anyone seen this before? 

Make sure your bb-hostsvc.sh  is pointing to the right location for your
binaries

here is an example of mine
---------------------------------------------------------------
#!/bin/sh

# This is a wrapper for the Hobbit hobbitsvc.cgi script

. /usr/local/hobbit/server/etc/hobbitcgi.cfg
 exec /usr/local/hobbit/server/bin/hobbitsvc.cgi $CGI_SVC_OPTS
-----------------------------------------------------------------------


Another test would be see if you can execute the shell script yourself
and see what you get for an error
Trent


>  
> Paul
> 
> 	-----Original Message----- 
> 	From: Galen Johnson [mailto:Galen.Johnson at sas.com] 
> 	Sent: Tue 9/25/2007 3:47 PM 
> 	To: hobbit at hswn.dk 
> 	Cc: 
> 	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
> 	
> 	
> 
> 
> </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
> 



More information about the Xymon mailing list