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

Re: [hobbit] Installing Release 4.3



Hi DNS,

Does your www directory contain a bb.html file? If you placed your hobbit
installation in the /usr/lib/hobbit directory then this file should exist in
/usr/lib/hobbit/server/www

If this file does not exist, then the hobbit process is not running correctly or
has been configured in a way that the www directory is somewhere else. Try doing
'find | grep bb.html' to determine whether the file has been created and what
directory it is located in.

If the file does exist, make sure the /hobbit/ alias in your apache config (or
referenced hobbit-apache.conf)  points to the directory bb.html is in.

Regards

Matthew



                                                                                
             DNS                                                                
             <dns1407 (at) yahoo.com>                                                
                                                                             To 
             14/04/2008 10:01 AM         hobbit (at) hswn.dk                         
                                                                             cc 
                                                                                
              Please respond to                                         Subject 
               hobbit (at) hswn.dk            Re: [hobbit] Installing Release 4.3    
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                




Hi Phil,





I did include the training slash... and hobbit dit start correctly I just get a
directory listing instead of a webpage... i'm a little lost here....nevermind...
i'll stay using the released version....





thanks anyway...





BTW....is there a GUI version of BBWIN? or how can i automaticly get running
services of windows machines monitored?





Thanks..

DNS
----- Original Message ----
From: Phil Wild <philwild (at) gmail.com>
To: hobbit (at) hswn.dk
Sent: Sunday, April 13, 2008 1:42:44 PM
Subject: Re: [hobbit] Installing Release 4.3

Hi DNS,

It should all work. you need to browse to http://localhost/hobbit/ after an
install is complete. You MUST include the training slash...

Can you confirm that you started hobbit correctly? Are there hobbit processes
running so that the bb.html page has been generated?

What is in your apache logs?

And what about the hobbit log directory, is there anything being logged there to
confirm that data is being collected and processed?

Cheers

Phil




2008/4/13 DNS <dns1407 (at) yahoo.com>:
  When i browse to http://localhost or wiht /hobbit directory listing show up
  instead of the webpage...


  ----- Original Message ----
  From: Josh Luthman <josh (at) imaginenetworksllc.com>
  To: hobbit (at) hswn.dk
  Sent: Sunday, April 13, 2008 8:06:56 AM
  Subject: Re: [hobbit] Installing Release 4.3

  What happens when you browse to /hobbit/ (note the trailing slash!)

  On Sun, Apr 13, 2008 at 1:12 AM, DNS <dns1407 (at) yahoo.com> wrote:
   Hi All,





   I've installed librrd2-dev and voila...the install process is
   running..but...what do i have to change in apache so that i can access to the
   GUI? I've install the Hobbit to /usr/lib/hobbit and leave every thing default
   during installation...my make file look like this..:








   # Toplevel Makefile for Hobbit


   BUILDTOPDIR=`pwd`


   # configure settings for Hobbit


   #


   # Toplevel dir


   BBTOPDIR = /usr/lib/hobbit


   # Server home dir for etc/, bin/


   BBHOME = /usr/lib/hobbit/server


   # Server data dir for hist/ etc.


   BBVAR = /usr/lib/hobbit/data


   # CGI scripts go in CGIDIR


   CGIDIR = /usr/lib/hobbit/cgi-bin


   # Admin CGI scripts go in SECURECGIDIR


   SECURECGIDIR = /usr/lib/hobbit/cgi-secure


   # Where to put logfiles


   BBLOGDIR = /var/log/hobbit


   # Where to install manpages


   MANROOT = /usr/local/man


   # How to run fping or hobbitping


   FPING = /usr/bin/fping


   # Username running hobbit


   BBUSER = hobbit


   # Hobbit server hostname


   BBHOSTNAME = HobbitServer


   # Hobbit server IP-address


   BBHOSTIP = 127.0.0.1


   # Hobbit server OS


   BBHOSTOS = linux


   # URL for Hobbit webpages


   BBHOSTURL = /hobbit


   # URL for Hobbit CGIs


   BBCGIURL = /hobbit-cgi


   # URL for Hobbit Admin CGIs


   SECUREBBCGIURL = /hobbit-seccgi


   # Webserver group-ID


   HTTPDGID=adm


   # RRDtool settings


   RRDDEF = -DRRDTOOL12


   RRDINCDIR = -I/usr/include


   RRDLIBS = -L/usr/lib -lrrd -L/usr/lib -lpng


   # PCRE settings


   PCREINCDIR = -I/usr/local/include


   PCRELIBS = -L/usr/local/lib -lpcre


   #


   # ZLIB settings


   ZLIBINCDIR = -I/usr/include


   HOBBITZLIB = -L/usr/lib -lz


   #


   # OpenSSL settings


   SSLFLAGS =


   #


   # OpenLDAP settings


   LDAPFLAGS =


   #


   # Net-SNMP settings


   DOSNMP = yes


   # Large File Support settings


   LFSDEF = -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64


   # Limit the size of status message texts passed to external alert scripts


   MAXALERTMSGSZ = 4096


   # Build a shared library for common Hobbit code


   # NOTE: Only tested on Linux


   # HOBBITLIBRARY = libhobbit.so


   RPATHVAL += /usr/lib /usr/lib/hobbit/server/bin /usr/local/lib


   include build/Makefile.Linux





   # Add local CFLAGS etc. settings here


   include build/Makefile.rules



   My apache2-config.conf:



   Include /usr/lib/hobbit/server/etc/hobbit-apache.conf


   RedirectMatch "^/$" "/hobbit/"



   My hobbit-apache.conf:





   # This file is for Apache 1.3.x and Apache 2.0.x


   #


   # Add this to your Apache configuration, it makes


   # the Hobbit webpages and cgi-scripts available in the


   # "/hobbit" and "/hobbit-cgi" URLs.





   # NB: The "Alias" line below must NOT be used if you have


   # the Hobbit webfiles as the root URL. In that case,


   # you should instead set this:


   #


   # DocumentRoot /var/lib/hobbit/www


   Alias /hobbit/ "/var/lib/hobbit/www/"


   <Directory "/var/lib/hobbit/www">


   Options Indexes FollowSymLinks Includes MultiViews


   Order allow,deny


   Allow from all


   </Directory>


   ScriptAlias /hobbit-cgi/ "/usr/lib/hobbit/cgi-bin/"


   <Directory "/usr/lib/hobbit/cgi-bin">


   AllowOverride None


   Options ExecCGI Includes


   Order allow,deny


   Allow from all


   </Directory>


   ScriptAlias /hobbit-seccgi/ "/usr/lib/hobbit/cgi-secure/"


   <Directory "/usr/lib/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"


   #


   # You can also use a group file to restrict admin access to members of a


   # group, instead of anyone who is logged in. In that case you must setup


   # the "hobbitgroups" file, and change the "Require" settings to require


   # a specific group membership. See the Apache docs for more details.


   AuthUserFile /etc/hobbit/hobbitpasswd


   AuthGroupFile /etc/hobbit/hobbitgroups


   AuthType Basic


   AuthName "Hobbit Administration"


   # "valid-user" restricts access to anyone who is logged in.


   Require valid-user


   # "group admins" restricts access to users who have logged in, AND


   # are members of the "admins" group in hobbitgroups.


   # Require group admins


   </Directory>



   What do I do wrong????

   Please help...I want to try version 4.3.....

   Thanks...

   DNS
   ----- Original Message ----
   From: Quinton Jansen <Quinton.Jansen (at) ec.gc.ca>
   To: hobbit (at) hswn.dk
   Sent: Friday, April 11, 2008 11:15:14 PM
   Subject: Re: [hobbit] Installing Release 4.3

   Do you have the librrd2-dev package installed?

   DNS wrote:
   > Hi All,
   >
   > I've a question:
   >
   > How do I compile the snapshot and install it on CentOs 5 or Debian R4?
   > I get RRDTool error when trying to install the snapshot, but the tool
   > is install...
   >
   > What version of RRDTool is needed for Hobbit 4.3??? and what do i need
   > for installation on Debian R4?
   >
   > Many thanks...
   >
   > Greetz,
   >
   > DNS
   >
   > __________________________________________________
   > Do You Yahoo!?
   > Tired of spam? Yahoo! Mail has the best spam protection around
   > http://mail.yahoo.com

   To unsubscribe from the hobbit list, send an e-mail to
   hobbit-unsubscribe (at) hswn.dk




   __________________________________________________
   Do You Yahoo!?
   Tired of spam? Yahoo! Mail has the best spam protection around
   http://mail.yahoo.com



  --
  Josh Luthman
  Office: 937-552-2340
  Direct: 937-552-2343
  1100 Wayne St
  Suite 1337
  Troy, OH 45373

  Those who don't understand UNIX are condemned to reinvent it, poorly.
  --- Henry Spencer


  __________________________________________________
  Do You Yahoo!?
  Tired of spam? Yahoo! Mail has the best spam protection around
  http://mail.yahoo.com



--
Tel: 0400 466 952
Fax: 0433 123 226
email: philwild (at) gmail.com


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com