Xymon Mailing List Archive search

NooB questions - Status not Available

list Paul McIlrath
Thu, 4 Oct 2007 15:12:06 -0700
Message-Id: <user-cbee300d64a8@xymon.invalid>

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? 
 
Paul

	-----Original Message----- 
	From: Galen Johnson [mailto:user-87f955643e3d@xymon.invalid] 
	Sent: Tue 9/25/2007 3:47 PM 
	To: user-ae9b8668bcde@xymon.invalid 
	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:user-03ec167d2f2d@xymon.invalid]
	Sent: Tuesday, September 25, 2007 5:06 PM
	To: user-ae9b8668bcde@xymon.invalid
	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:user-87f955643e3d@xymon.invalid]
	        Sent: Tue 9/25/2007 2:41 PM
	        To: user-ae9b8668bcde@xymon.invalid
	        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:user-03ec167d2f2d@xymon.invalid]
	        Sent: Tuesday, September 25, 2007 3:57 PM
	        To: user-ae9b8668bcde@xymon.invalid; user-ae9b8668bcde@xymon.invalid
	        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:user-f1ebafb19faf@xymon.invalid]
	                Sent: Tue 9/25/2007 1:36 PM
	                To: user-ae9b8668bcde@xymon.invalid
	                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
	                /XXX-XXX-XXXX
	              
	              
-----Original Message-----
From: McIlrath, Paul [mailto:user-03ec167d2f2d@xymon.invalid]
Sent: Tuesday, September 25, 2007 15:29
To: user-ae9b8668bcde@xymon.invalid
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

user-03ec167d2f2d@xymon.invalid

</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 user-732e5d44368c@xymon.invalid

	        </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 user-732e5d44368c@xymon.invalid
	       
	       
	</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 user-732e5d44368c@xymon.invalid
	
	
</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 user-732e5d44368c@xymon.invalid