Xymon Mailing List Archive search

Hobbit 4.2.0

23 messages in this thread

list Robert Manocchia · Wed, 30 May 2007 13:54:30 -0400 ·
I have the main screen for hobbit up and running on a Linux 2 server.
However when I click on any of the colored icons I get the message Page Not
Found. Is this a permissions problem or is it that apache does not know
where to look for the page?

 
  Thanks

 
Robert Manocchia

UNIX System Administrator

IDEXX Laboratories

XXX XXX-XXXX

EMail user-615a9b935f98@xymon.invalid
list Bob Gordon · Wed, 30 May 2007 11:03:35 -0700 ·
quoted from Robert Manocchia
On 5/30/07, Manocchia, Robert <user-615a9b935f98@xymon.invalid> wrote:
 I have the main screen for hobbit up and running on a Linux 2 server.
However when I click on any of the colored icons I get the message Page Not
Found. Is this a permissions problem or is it that apache does not know
where to look for the page?

When I had the problem it was a permissions issue.

-- 
--==[ Bob Gordon ]==--
list Hobbit User · Wed, 30 May 2007 14:07:16 -0400 (EDT) ·
quoted from Bob Gordon
On Wed, May 30, 2007 13:54, Manocchia, Robert wrote:
I have the main screen for hobbit up and running on a Linux 2 server.
However when I click on any of the colored icons I get the message Page
Not
Found. Is this a permissions problem or is it that apache does not know
where to look for the page?
They're all (or mostly) calls to hobbit-cgi/bb-hostsvc.sh with various
arguments.  It sounds like you don't have the ScriptAlias set up for
hobbit-cgi in the Apache config.  "Linux 2" is not a recognizable distro
to me, in Red Hat flavored distros this is done via
/etc/httpd/conf.d/hobbit-apache.conf.

Could be a permissions problem on the directory or files within, though. 
You typically want 755 on them.  If they're readable but not executable by
the hobbit user, you'll find browsers prompting about what you want to
open "xxxxxx.sh" with.
list Robert Manocchia · Wed, 30 May 2007 14:07:22 -0400 ·
Thanks Bob. Where do I look for the data files?

 
Robert Manocchia

UNIX System Administrator

IDEXX Laboratories

XXX XXX-XXXX

EMail user-615a9b935f98@xymon.invalid

-----Original Message-----
From: Bob Gordon [mailto:user-488dbf322a4e@xymon.invalid] 
Sent: Wednesday, May 30, 2007 2:04 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Hobbit 4.2.0

 
On 5/30/07, Manocchia, Robert <user-615a9b935f98@xymon.invalid
quoted from Hobbit User
<mailto:user-615a9b935f98@xymon.invalid> > wrote:

I have the main screen for hobbit up and running on a Linux 2 server.
However when I click on any of the colored icons I get the message Page Not
Found. Is this a permissions problem or is it that apache does not know
where to look for the page?

 
When I had the problem it was a permissions issue.  

-- 
--==[ Bob Gordon ]==--
list Robert Manocchia · Wed, 30 May 2007 14:16:35 -0400 ·
Bob:

  The bb-hostsvc.sh file and others are in /usr/local/cgi-bin all owner by
hobbit:users with 755 as the permissions mask.
signature

Robert Manocchia
UNIX System Administrator
IDEXX Laboratories
XXX XXX-XXXX
EMail user-615a9b935f98@xymon.invalid

-----Original Message-----

quoted from Hobbit User
From: Hobbit User [mailto:user-24d6f8323faa@xymon.invalid] 
Sent: Wednesday, May 30, 2007 2:07 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Hobbit 4.2.0

On Wed, May 30, 2007 13:54, Manocchia, Robert wrote:
I have the main screen for hobbit up and running on a Linux 2 server.
However when I click on any of the colored icons I get the message Page
Not
Found. Is this a permissions problem or is it that apache does not know
where to look for the page?
They're all (or mostly) calls to hobbit-cgi/bb-hostsvc.sh with various
arguments.  It sounds like you don't have the ScriptAlias set up for
hobbit-cgi in the Apache config.  "Linux 2" is not a recognizable distro
to me, in Red Hat flavored distros this is done via
/etc/httpd/conf.d/hobbit-apache.conf.

Could be a permissions problem on the directory or files within, though. 
You typically want 755 on them.  If they're readable but not executable by
the hobbit user, you'll find browsers prompting about what you want to
open "xxxxxx.sh" with.
list Steve Holmes · Wed, 30 May 2007 14:21:01 -0400 ·
Bob, I think you want to look in /var/hobbit/data (or the equivalent for
your configuration).

Steve.
quoted from Robert Manocchia


On 5/30/07, Manocchia, Robert <user-615a9b935f98@xymon.invalid> wrote:
 Thanks Bob. Where do I look for the data files?


Robert Manocchia

UNIX System Administrator

IDEXX Laboratories

XXX XXX-XXXX

EMail user-615a9b935f98@xymon.invalid

-----Original Message-----
*From:* Bob Gordon [mailto:user-488dbf322a4e@xymon.invalid]
*Sent:* Wednesday, May 30, 2007 2:04 PM
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* Re: [hobbit] Hobbit 4.2.0


On 5/30/07, *Manocchia, Robert* <user-615a9b935f98@xymon.invalid> wrote:

I have the main screen for hobbit up and running on a Linux 2 server.
However when I click on any of the colored icons I get the message Page Not
Found. Is this a permissions problem or is it that apache does not know
where to look for the page?


When I had the problem it was a permissions issue.

--
--==[ Bob Gordon ]==--
-- 

Lots of people think they're charitable if they give away their old clothes
and things they don't want. It isn't charity to give away things you want
to get rid of and it isn't a sacrifice to do things you don't mind doing.
-Myrtle Reed, author (1874-1911)
list Epperson · Wed, 30 May 2007 14:28:56 -0400 (EDT) ·
quoted from Robert Manocchia
On Wed, May 30, 2007 14:16, Manocchia, Robert wrote:
Bob:

  The bb-hostsvc.sh file and others are in /usr/local/cgi-bin all owner by
hobbit:users with 755 as the permissions mask.
Bob's not here. ;)

Perhaps the ScriptAlias for /hobbit-cgi/ is pointed somewhere other than
/usr/local/cgi-bin where you have the scripts.  In the rpm distribution
built for Fedora 5, this is done in the hobbit-apache.conf file I
mentioned earlier.  It could also be done directly in the the httpd.conf
file.

Looks something like:
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>
list Robert Manocchia · Wed, 30 May 2007 14:39:24 -0400 ·
Steve:

 
  I've looked at the data files and they look of owner by hobbit:users and
all 755. It must be something else I'm missing.
signature

 
Robert Manocchia

UNIX System Administrator

IDEXX Laboratories

XXX XXX-XXXX

EMail user-615a9b935f98@xymon.invalid

-----Original Message-----

quoted from Steve Holmes
From: Steve Holmes [mailto:user-ec1bf77b1b44@xymon.invalid] Sent: Wednesday, May 30, 2007 2:21 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Hobbit 4.2.0

 
Bob, I think you want to look in /var/hobbit/data (or the equivalent for
your configuration). 
Steve.


On 5/30/07, Manocchia, Robert < user-615a9b935f98@xymon.invalid
<mailto:user-615a9b935f98@xymon.invalid> > wrote:

Thanks Bob. Where do I look for the data files?

 
Robert Manocchia

UNIX System Administrator

IDEXX Laboratories

XXX XXX-XXXX

EMail user-615a9b935f98@xymon.invalid <mailto:user-615a9b935f98@xymon.invalid> 
quoted from Bob Gordon
-----Original Message-----
From: Bob Gordon [mailto:user-488dbf322a4e@xymon.invalid <mailto:user-488dbf322a4e@xymon.invalid> ] Sent: Wednesday, May 30, 2007 2:04 PM
To: user-ae9b8668bcde@xymon.invalid <mailto:user-ae9b8668bcde@xymon.invalid> Subject: Re: [hobbit] Hobbit 4.2.0

 

On 5/30/07, Manocchia, Robert < <mailto:user-615a9b935f98@xymon.invalid>
quoted from Steve Holmes
user-615a9b935f98@xymon.invalid> wrote:

I have the main screen for hobbit up and running on a Linux 2 server.
However when I click on any of the colored icons I get the message Page Not
Found. Is this a permissions problem or is it that apache does not know
where to look for the page?

 
When I had the problem it was a permissions issue.  
-- 
--==[ Bob Gordon ]==-- 


-- 
Lots of people think they're charitable if they give away their old clothes
and things they don't want. It isn't charity to give away things you want
to get rid of and it isn't a sacrifice to do things you don't mind doing. -Myrtle Reed, author (1874-1911)
list Stewart Larsen · Wed, 30 May 2007 16:17:21 -0400 ·
Might I suggest checking the apache log files to see what he thinks he's
serving versus what you think he should be serving?

--
Stewart Larsen 
quoted from Robert Manocchia

From: Manocchia, Robert [mailto:user-615a9b935f98@xymon.invalid] 
Sent: Wednesday, May 30, 2007 2:39 PM
To: 'user-ae9b8668bcde@xymon.invalid'
Subject: RE: [hobbit] Hobbit 4.2.0


Steve:

 
  I've looked at the data files and they look of owner by hobbit:users
and all 755. It must be something else I'm missing.

 
Robert Manocchia

UNIX System Administrator

IDEXX Laboratories

XXX XXX-XXXX

EMail user-615a9b935f98@xymon.invalid

-----Original Message-----
From: Steve Holmes [mailto:user-ec1bf77b1b44@xymon.invalid] 
Sent: Wednesday, May 30, 2007 2:21 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Hobbit 4.2.0

 
Bob, I think you want to look in /var/hobbit/data (or the equivalent for
your configuration). 

Steve.


On 5/30/07, Manocchia, Robert < user-615a9b935f98@xymon.invalid
<mailto:user-615a9b935f98@xymon.invalid> > wrote:

Thanks Bob. Where do I look for the data files?

 
Robert Manocchia

UNIX System Administrator

IDEXX Laboratories

XXX XXX-XXXX

EMail user-615a9b935f98@xymon.invalid

-----Original Message-----
From: Bob Gordon [mailto:user-488dbf322a4e@xymon.invalid] 
Sent: Wednesday, May 30, 2007 2:04 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Hobbit 4.2.0

 
On 5/30/07, Manocchia, Robert < user-615a9b935f98@xymon.invalid
<mailto:user-615a9b935f98@xymon.invalid> > wrote:

I have the main screen for hobbit up and running on a Linux 2 server.
However when I click on any of the colored icons I get the message Page
Not Found. Is this a permissions problem or is it that apache does not
know where to look for the page?

 
When I had the problem it was a permissions issue.  

-- 
--==[ Bob Gordon ]==-- 


-- 
Lots of people think they're charitable if they give away their old
clothes
and things they don't want. It isn't charity to give away things you
want
to get rid of and it isn't a sacrifice to do things you don't mind
doing. 
-Myrtle Reed, author (1874-1911) 


Spam
<https://antispam.doh.ad.state.fl.us/canit/b.php?c=s&i=147126557&m=89898
37f6691> 
Not spam
<https://antispam.doh.ad.state.fl.us/canit/b.php?c=n&i=147126557&m=89898
37f6691> 
Forget previous vote
<https://antispam.doh.ad.state.fl.us/canit/b.php?c=f&i=147126557&m=89898
37f6691>
list Robert Manocchia · Wed, 30 May 2007 16:36:01 -0400 ·
I tried accessing cpu from the main screen and it failed. Here is the
access_log entry. I can't make any sense out of it.

 
172.31.38.62 - - [30/May/2007:16:27:19 -0400] "GET
/hobbit-cgi/bb-hostsvc.sh?HOST=batman&SERVICE=cpu HTTP/1.1" 404 297
"http://batman/hobbit/"; "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;
SV1; .NET CLR 1.1.4322)"
signature

 
Robert Manocchia

UNIX System Administrator

IDEXX Laboratories

XXX XXX-XXXX

EMail user-615a9b935f98@xymon.invalid

-----Original Message-----

quoted from Stewart Larsen
From: user-6f5382941e41@xymon.invalid [mailto:user-6f5382941e41@xymon.invalid]

Sent: Wednesday, May 30, 2007 4:17 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Hobbit 4.2.0

 
Might I suggest checking the apache log files to see what he thinks he's
serving versus what you think he should be serving?

--
Stewart Larsen 


From: Manocchia, Robert [mailto:user-615a9b935f98@xymon.invalid] 
Sent: Wednesday, May 30, 2007 2:39 PM
To: 'user-ae9b8668bcde@xymon.invalid'
Subject: RE: [hobbit] Hobbit 4.2.0

Steve:

 
  I've looked at the data files and they look of owner by hobbit:users and
all 755. It must be something else I'm missing.

 
Robert Manocchia

UNIX System Administrator

IDEXX Laboratories

XXX XXX-XXXX

EMail user-615a9b935f98@xymon.invalid

-----Original Message-----
From: Steve Holmes [mailto:user-ec1bf77b1b44@xymon.invalid] 
Sent: Wednesday, May 30, 2007 2:21 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Hobbit 4.2.0

 
Bob, I think you want to look in /var/hobbit/data (or the equivalent for
your configuration). 

Steve.

On 5/30/07, Manocchia, Robert < user-615a9b935f98@xymon.invalid
<mailto:user-615a9b935f98@xymon.invalid> > wrote:

Thanks Bob. Where do I look for the data files?

 
Robert Manocchia

UNIX System Administrator

IDEXX Laboratories

XXX XXX-XXXX

EMail user-615a9b935f98@xymon.invalid <mailto:user-615a9b935f98@xymon.invalid> 

-----Original Message-----
From: Bob Gordon [mailto:user-488dbf322a4e@xymon.invalid <mailto:user-488dbf322a4e@xymon.invalid> ] 
Sent: Wednesday, May 30, 2007 2:04 PM
To: user-ae9b8668bcde@xymon.invalid <mailto:user-ae9b8668bcde@xymon.invalid> 
Subject: Re: [hobbit] Hobbit 4.2.0

 
On 5/30/07, Manocchia, Robert < user-615a9b935f98@xymon.invalid
<mailto:user-615a9b935f98@xymon.invalid> > wrote:

I have the main screen for hobbit up and running on a Linux 2 server.
However when I click on any of the colored icons I get the message Page Not
Found. Is this a permissions problem or is it that apache does not know
where to look for the page?

 
When I had the problem it was a permissions issue.  

-- 
--==[ Bob Gordon ]==-- 


-- 
Lots of people think they're charitable if they give away their old clothes
and things they don't want. It isn't charity to give away things you want
to get rid of and it isn't a sacrifice to do things you don't mind doing. 
-Myrtle Reed, author (1874-1911) 


Spam

<https://antispam.doh.ad.state.fl.us/canit/b.php?c=s&i=147126557&m=8989837f6
691> 
Not
<https://antispam.doh.ad.state.fl.us/canit/b.php?c=n&i=147126557&m=8989837f6
691>  spam
Forget
<https://antispam.doh.ad.state.fl.us/canit/b.php?c=f&i=147126557&m=8989837f6
691>  previous vote
list Robert Manocchia · Wed, 30 May 2007 16:40:19 -0400 ·
This is the entry in hobbit-apache.conf:

ScriptAlias /hobbit-cgi/ "/usr/local/cgi-bin/"
<Directory "/usr/local/cgi-bin">
    AllowOverride None
    Options ExecCGI Includes
    Order allow,deny
    Allow from all
</Directory>

here is a long listing from /usr/local/cgi-bin:

-rwxrwxrwx    1 hobbit   apache        178 May 30 11:13 bb-csvinfo.sh
-rwxrwxrwx    1 hobbit   apache        181 May 30 11:13 bb-datepage.sh
-rwxrwxrwx    1 hobbit   apache        171 May 30 11:13 bb-eventlog.sh
-rwxrwxrwx    1 hobbit   apache        176 May 30 11:13 bb-findhost.sh
-rwxrwxrwx    1 hobbit   apache        204 May 30 11:13 bb-histlog.sh
-rwxrwxrwx    1 hobbit   apache        161 May 30 11:13 bb-hist.sh
-rwxrwxrwx    1 hobbit   apache        163 May 30 11:13 bb-hostsvc.sh
-rwxrwxrwx    1 hobbit   apache        168 May 30 11:13 bb-replog.sh
-rwxrwxrwx    1 hobbit   apache        213 May 30 11:13 bb-rep.sh
-rwxrwxrwx    1 hobbit   apache        212 May 30 11:13 bb-snapshot.sh
-rwxrwxrwx    1 hobbit   apache        331 May 30 11:13 hobbit-certreport.sh
-rwxrwxrwx    1 hobbit   apache        201 May 30 11:13 hobbitcolumn.sh
-rwxrwxrwx    1 hobbit   apache        257 May 30 11:13 hobbit-confreport.sh
-rwxrwxrwx    1 hobbit   apache        162 May 30 11:13 hobbit-ghosts.sh
-rwxrwxrwx    1 hobbit   apache        240 May 30 11:13 hobbitgraph.sh
-rwxrwxrwx    1 hobbit   apache        174 May 30 11:13 hobbit-hostgraphs.sh
-rwxrwxrwx    1 hobbit   apache        174 May 30 11:13 hobbit-nkview.sh
-rwxrwxrwx    1 hobbit   apache        348 May 30 11:13 hobbit-nongreen.sh

Hope this helps.
signature

Robert Manocchia
UNIX System Administrator
IDEXX Laboratories
XXX XXX-XXXX
EMail user-615a9b935f98@xymon.invalid

-----Original Message-----

quoted from Epperson
From: user-97cfc20104f4@xymon.invalid [mailto:user-97cfc20104f4@xymon.invalid] 
Sent: Wednesday, May 30, 2007 2:29 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Hobbit 4.2.0

On Wed, May 30, 2007 14:16, Manocchia, Robert wrote:
Bob:

  The bb-hostsvc.sh file and others are in /usr/local/cgi-bin all owner by
hobbit:users with 755 as the permissions mask.
Bob's not here. ;)

Perhaps the ScriptAlias for /hobbit-cgi/ is pointed somewhere other than
/usr/local/cgi-bin where you have the scripts.  In the rpm distribution
built for Fedora 5, this is done in the hobbit-apache.conf file I
mentioned earlier.  It could also be done directly in the the httpd.conf
file.

Looks something like:
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>
list Henrik Størner · Wed, 30 May 2007 23:02:58 +0200 ·
quoted from Bob Gordon
On Wed, May 30, 2007 at 11:03:35AM -0700, Bob Gordon wrote:
On 5/30/07, Manocchia, Robert <user-615a9b935f98@xymon.invalid> wrote:
I have the main screen for hobbit up and running on a Linux 2 server.
However when I click on any of the colored icons I get the message Page Not
Found. Is this a permissions problem or is it that apache does not know
where to look for the page?

When I had the problem it was a permissions issue.
Check that CGI support is enabled in the webserver config. Some distros
have it as an option.

If your distribution enables SElinux (Security Enhanced Linux), you
normally have to configure this to allow CGI execution.

Anyway, this is a webserver/OS config issue, not really a Hobbit
specific problem.


Regards,
Henrik
list Galen Johnson · Wed, 30 May 2007 17:33:18 -0400 ·
Your access_log is not going to be much help. You need to check your error logs...

=G=
quoted from Robert Manocchia

Manocchia, Robert wrote:
I tried accessing cpu from the main screen and it failed. Here is the access_log entry. I can’t make any sense out of it.

172.31.38.62 - - [30/May/2007:16:27:19 -0400] "GET /hobbit-cgi/bb-hostsvc.sh?HOST=batman&SERVICE=cpu HTTP/1.1" 404 297 "http://batman/hobbit/"; "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"

Robert Manocchia

UNIX System Administrator

IDEXX Laboratories

XXX XXX-XXXX

EMail user-615a9b935f98@xymon.invalid

-----Original Message-----
*From:* user-6f5382941e41@xymon.invalid [mailto:user-6f5382941e41@xymon.invalid]
*Sent:* Wednesday, May 30, 2007 4:17 PM
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* RE: [hobbit] Hobbit 4.2.0

Might I suggest checking the apache log files to see what he thinks he's serving versus what you think he should be serving?

--
Stewart Larsen


*From:* Manocchia, Robert [mailto:user-615a9b935f98@xymon.invalid]
*Sent:* Wednesday, May 30, 2007 2:39 PM
*To:* 'user-ae9b8668bcde@xymon.invalid'
*Subject:* RE: [hobbit] Hobbit 4.2.0

Steve:

I’ve looked at the data files and they look of owner by hobbit:users and all 755. It must be something else I’m missing.

Robert Manocchia

UNIX System Administrator

IDEXX Laboratories

XXX XXX-XXXX

EMail user-615a9b935f98@xymon.invalid

-----Original Message-----
*From:* Steve Holmes [mailto:user-ec1bf77b1b44@xymon.invalid]
*Sent:* Wednesday, May 30, 2007 2:21 PM
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* Re: [hobbit] Hobbit 4.2.0

Bob, I think you want to look in /var/hobbit/data (or the equivalent for your configuration).

Steve.

On 5/30/07, *Manocchia, Robert* < user-615a9b935f98@xymon.invalid <mailto:user-615a9b935f98@xymon.invalid>> wrote:

Thanks Bob. Where do I look for the data files?

Robert Manocchia

UNIX System Administrator

IDEXX Laboratories

XXX XXX-XXXX

EMail user-615a9b935f98@xymon.invalid <mailto:user-615a9b935f98@xymon.invalid>

-----Original Message-----
*From:* Bob Gordon [mailto:user-488dbf322a4e@xymon.invalid <mailto:user-488dbf322a4e@xymon.invalid>]
*Sent:* Wednesday, May 30, 2007 2:04 PM
*To:* user-ae9b8668bcde@xymon.invalid <mailto:user-ae9b8668bcde@xymon.invalid>
*Subject:* Re: [hobbit] Hobbit 4.2.0

On 5/30/07, *Manocchia, Robert* < user-615a9b935f98@xymon.invalid <mailto:user-615a9b935f98@xymon.invalid>> wrote:

I have the main screen for hobbit up and running on a Linux 2 server. However when I click on any of the colored icons I get the message Page Not Found. Is this a permissions problem or is it that apache does not know where to look for the page?


When I had the problem it was a permissions issue.

-- 
--==[ Bob Gordon ]==--
list Maik Heinelt · Thu, 31 May 2007 19:12:12 +0900 ·
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I installed a Hobbid server 4.2 by compiling all needed packets.
The server is running well, so I can see the green points of the server,
when I check the Hobbit server.
But if I click on one of this green marks, for excample CPU, a download
of a file (bb-hostsvc.sh) will start.

Why? I checked my apache config, but I could not find any wrong entrys.
If I click on the mark for "trends", I can see the page and all standard
entrys of it. rrd  is also working well!

Maik
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGXp98r4r+EhimPOURApnRAJ9HuhyupJTLUsS7616hAKfh2iXE+QCgjm2T
wVN7Y8pPDn2G0TzO579I5pM=
=xdkE
-----END PGP SIGNATURE-----
list Sello Tlabela · Thu, 31 May 2007 12:22:10 +0200 ·
Hi

Is either the permissions on your cgi files or selinux is blocking you,
try to set selinux to allow you

[root at cntrra20-rh-hobbit ~]# ls -l /usr/lib/hobbit/cgi-bin/
total 144
-rwxr-xr-x 1 root root 188 Aug  9  2006 bb-csvinfo.sh
-rwxr-xr-x 1 root root 191 Aug  9  2006 bb-datepage.sh
-rwxr-xr-x 1 root root 181 Aug  9  2006 bb-eventlog.sh
-rwxr-xr-x 1 root root 186 Aug  9  2006 bb-findhost.sh
-rwxr-xr-x 1 root root 214 Aug  9  2006 bb-histlog.sh
-rwxr-xr-x 1 root root 171 Aug  9  2006 bb-hist.sh
-rwxr-xr-x 1 root root 173 Aug  9  2006 bb-hostsvc.sh
-rwxr-xr-x 1 root root 178 Aug  9  2006 bb-replog.sh
-rwxr-xr-x 1 root root 228 Aug  9  2006 bb-rep.sh
-rwxr-xr-x 1 root root 227 Aug  9  2006 bb-snapshot.sh
-rwxr-xr-x 1 root root 341 Aug  9  2006 hobbit-certreport.sh
-rwxr-xr-x 1 root root 211 Aug  9  2006 hobbitcolumn.sh
-rwxr-xr-x 1 root root 267 Aug  9  2006 hobbit-confreport.sh
-rwxr-xr-x 1 root root 172 Aug  9  2006 hobbit-ghosts.sh
-rwxr-xr-x 1 root root 250 Aug  9  2006 hobbitgraph.sh
-rwxr-xr-x 1 root root 184 Aug  9  2006 hobbit-hostgraphs.sh
-rwxr-xr-x 1 root root 184 Aug  9  2006 hobbit-nkview.sh
-rwxr-xr-x 1 root root 358 Aug  9  2006 hobbit-nongreen.sh
[root at cntrra20-rh-hobbit ~]#
 

I don't like selinux you can permenantly diable it in
the /etc/sysconfig/selinux file
quoted from Maik Heinelt

On Thu, 2007-05-31 at 19:12 +0900, Maik Heinelt wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I installed a Hobbid server 4.2 by compiling all needed packets.
The server is running well, so I can see the green points of the server,
when I check the Hobbit server.
But if I click on one of this green marks, for excample CPU, a download
of a file (bb-hostsvc.sh) will start.

Why? I checked my apache config, but I could not find any wrong entrys.
If I click on the mark for "trends", I can see the page and all standard
entrys of it. rrd  is also working well!

Maik
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGXp98r4r+EhimPOURApnRAJ9HuhyupJTLUsS7616hAKfh2iXE+QCgjm2T
wVN7Y8pPDn2G0TzO579I5pM=
=xdkE
-----END PGP SIGNATURE-----

-- 

Sello Tlabela <user-68d80b7df288@xymon.invalid>
Telkom SA


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This e-mail and its contents are subject to the Telkom SA Limited
e-mail legal notice available at 
http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
list Michael Wiegard · Thu, 31 May 2007 12:23:32 +0200 ·
Hi Maik,

here is a response from an older thread:

I had the same problem, but this worked for me:
We use the NAME tag in bb-hosts and this value is -wrongly- given as 
param. to
the hobbitsvc.cgi.

Here an example with NAME="arwen (ESX Server for Linux)":
Have you tried it without the parentheses??  They can make a shell
script do unexpected things...
Yes I did.
The thing is the code should use the hostname not what is specified with 
the NAME tag.

The problem was solved by using the &BBHIKEY variable instead of &BBHOST in 
~hobbit/server/web/trends_form

Greetings,
Michael
quoted from Maik Heinelt

-----Ursprüngliche Nachricht-----
Von: Maik Heinelt [mailto:user-4ab5eb34adb2@xymon.invalid]
Gesendet: Donnerstag, 31. Mai 2007 12:12
An: user-ae9b8668bcde@xymon.invalid
Betreff: [hobbit] download instead of viewing the page


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I installed a Hobbid server 4.2 by compiling all needed packets.
The server is running well, so I can see the green points of the server,
when I check the Hobbit server.
But if I click on one of this green marks, for excample CPU, a download
of a file (bb-hostsvc.sh) will start.

Why? I checked my apache config, but I could not find any wrong entrys.
If I click on the mark for "trends", I can see the page and all standard
entrys of it. rrd  is also working well!

Maik
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGXp98r4r+EhimPOURApnRAJ9HuhyupJTLUsS7616hAKfh2iXE+QCgjm2T
wVN7Y8pPDn2G0TzO579I5pM=
=xdkE
-----END PGP SIGNATURE-----
list Maik Heinelt · Thu, 31 May 2007 19:44:36 +0900 ·
quoted from Michael Wiegard
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

user-348a872f1948@xymon.invalid wrote:
Hi Maik,

here is a response from an older thread:

I had the same problem, but this worked for me:
We use the NAME tag in bb-hosts and this value is -wrongly- given as 
param. to
the hobbitsvc.cgi.

Here an example with NAME="arwen (ESX Server for Linux)":
Have you tried it without the parentheses??  They can make a shell
script do unexpected things...
Yes I did.
The thing is the code should use the hostname not what is specified with 
the NAME tag.

The problem was solved by using the &BBHIKEY variable instead of &BBHOST in 
~hobbit/server/web/trends_form

Greetings,
Michael

-----Ursprüngliche Nachricht-----
Von: Maik Heinelt [mailto:user-4ab5eb34adb2@xymon.invalid]
Gesendet: Donnerstag, 31. Mai 2007 12:12
An: user-ae9b8668bcde@xymon.invalid
Betreff: [hobbit] download instead of viewing the page


I installed a Hobbid server 4.2 by compiling all needed packets.
The server is running well, so I can see the green points of the server,
when I check the Hobbit server.
But if I click on one of this green marks, for excample CPU, a download
of a file (bb-hostsvc.sh) will start.

Why? I checked my apache config, but I could not find any wrong entrys.
If I click on the mark for "trends", I can see the page and all standard
entrys of it. rrd  is also working well!

Maik

Hi,
I also don`t use SELinux and I tryed to find the trends_form file in the
hobbit/server/web/, but I didn`t found it.
The crazy thing is, it worked well at the first time. I just added one
client there. after that I couldn`t get some viewings!!

I also checked the permission and owner of the cgi folder. This settings
looks also fine (755).
quoted from Michael Wiegard

Maik


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGXqcTr4r+EhimPOURAnsrAKDgveO7Fhze/HosRJSdm1KtVtr9aQCfTaBX
awfTNzc0nMOA6SWkrNKqiXs=
=CCf9
-----END PGP SIGNATURE-----
list Iain Conochie · Thu, 31 May 2007 13:21:47 +0100 ·
quoted from Galen Johnson
On Wednesday 30 May 2007 22:33, Galen Johnson wrote:
Your access_log is not going to be much help. You need to check your
error logs...
Apart from the fact that the web server is answering with a 404 not found
quoted from Galen Johnson

<snip>
172.31.38.62 - - [30/May/2007:16:27:19 -0400] "GET
/hobbit-cgi/bb-hostsvc.sh?HOST=batman&SERVICE=cpu HTTP/1.1" 404 297
"http://batman/hobbit/"; "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT
5.1; SV1; .NET CLR 1.1.4322)"
So this would seem that , as Henrik stated, this is a web server configuration 
issue.

At a guess, I think Bob, you do not have the hobbit-apache.conf file added to 
the main apache.conf file.


Cheers

Iain
quoted from Galen Johnson
Robert Manocchia

UNIX System Administrator

IDEXX Laboratories

XXX XXX-XXXX

EMail user-615a9b935f98@xymon.invalid

-----Original Message-----
*From:* user-6f5382941e41@xymon.invalid
[mailto:user-6f5382941e41@xymon.invalid]
*Sent:* Wednesday, May 30, 2007 4:17 PM
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* RE: [hobbit] Hobbit 4.2.0

Might I suggest checking the apache log files to see what he thinks
he's serving versus what you think he should be serving?

--
Stewart Larsen


*From:* Manocchia, Robert [mailto:user-615a9b935f98@xymon.invalid]
*Sent:* Wednesday, May 30, 2007 2:39 PM
*To:* 'user-ae9b8668bcde@xymon.invalid'
*Subject:* RE: [hobbit] Hobbit 4.2.0

Steve:

I’ve looked at the data files and they look of owner by hobbit:users
and all 755. It must be something else I’m missing.

Robert Manocchia

UNIX System Administrator

IDEXX Laboratories

XXX XXX-XXXX

EMail user-615a9b935f98@xymon.invalid

-----Original Message-----
*From:* Steve Holmes [mailto:user-ec1bf77b1b44@xymon.invalid]
*Sent:* Wednesday, May 30, 2007 2:21 PM
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* Re: [hobbit] Hobbit 4.2.0

Bob, I think you want to look in /var/hobbit/data (or the equivalent
for your configuration).

Steve.

On 5/30/07, *Manocchia, Robert* < user-615a9b935f98@xymon.invalid
<mailto:user-615a9b935f98@xymon.invalid>> wrote:

Thanks Bob. Where do I look for the data files?

Robert Manocchia

UNIX System Administrator

IDEXX Laboratories

XXX XXX-XXXX

EMail user-615a9b935f98@xymon.invalid <mailto:user-615a9b935f98@xymon.invalid>

-----Original Message-----
*From:* Bob Gordon [mailto:user-488dbf322a4e@xymon.invalid
<mailto:user-488dbf322a4e@xymon.invalid>]
*Sent:* Wednesday, May 30, 2007 2:04 PM
*To:* user-ae9b8668bcde@xymon.invalid <mailto:user-ae9b8668bcde@xymon.invalid>
*Subject:* Re: [hobbit] Hobbit 4.2.0

On 5/30/07, *Manocchia, Robert* < user-615a9b935f98@xymon.invalid
<mailto:user-615a9b935f98@xymon.invalid>> wrote:

I have the main screen for hobbit up and running on a Linux 2 server.
However when I click on any of the colored icons I get the message
Page Not Found. Is this a permissions problem or is it that apache
does not know where to look for the page?


When I had the problem it was a permissions issue.

--
--==[ Bob Gordon ]==--
list Robert Manocchia · Thu, 31 May 2007 08:40:23 -0400 ·
You mean I should cut and paste the hobbit-apache.conf file to the
httpd.conf file and restart apache?
signature

Robert Manocchia
UNIX System Administrator
IDEXX Laboratories
XXX XXX-XXXX
EMail user-615a9b935f98@xymon.invalid

-----Original Message-----

quoted from Iain Conochie
From: Iain Conochie [mailto:user-c784e16a5170@xymon.invalid] 
Sent: Thursday, May 31, 2007 8:22 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Hobbit 4.2.0

On Wednesday 30 May 2007 22:33, Galen Johnson wrote:
Your access_log is not going to be much help. You need to check your
error logs...
Apart from the fact that the web server is answering with a 404 not found

<snip>
172.31.38.62 - - [30/May/2007:16:27:19 -0400] "GET
/hobbit-cgi/bb-hostsvc.sh?HOST=batman&SERVICE=cpu HTTP/1.1" 404 297
"http://batman/hobbit/"; "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT
5.1; SV1; .NET CLR 1.1.4322)"
So this would seem that , as Henrik stated, this is a web server
configuration 
issue.

At a guess, I think Bob, you do not have the hobbit-apache.conf file added
to 
the main apache.conf file.


Cheers

Iain
Robert Manocchia

UNIX System Administrator

IDEXX Laboratories

XXX XXX-XXXX

EMail user-615a9b935f98@xymon.invalid

-----Original Message-----
*From:* user-6f5382941e41@xymon.invalid
[mailto:user-6f5382941e41@xymon.invalid]
*Sent:* Wednesday, May 30, 2007 4:17 PM
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* RE: [hobbit] Hobbit 4.2.0

Might I suggest checking the apache log files to see what he thinks
he's serving versus what you think he should be serving?

--
Stewart Larsen


*From:* Manocchia, Robert [mailto:user-615a9b935f98@xymon.invalid]
*Sent:* Wednesday, May 30, 2007 2:39 PM
*To:* 'user-ae9b8668bcde@xymon.invalid'
*Subject:* RE: [hobbit] Hobbit 4.2.0

Steve:

I've looked at the data files and they look of owner by hobbit:users
and all 755. It must be something else I'm missing.

Robert Manocchia

UNIX System Administrator

IDEXX Laboratories

XXX XXX-XXXX

EMail user-615a9b935f98@xymon.invalid

-----Original Message-----
*From:* Steve Holmes [mailto:user-ec1bf77b1b44@xymon.invalid]
*Sent:* Wednesday, May 30, 2007 2:21 PM
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* Re: [hobbit] Hobbit 4.2.0

Bob, I think you want to look in /var/hobbit/data (or the equivalent
for your configuration).

Steve.

On 5/30/07, *Manocchia, Robert* < user-615a9b935f98@xymon.invalid
<mailto:user-615a9b935f98@xymon.invalid>> wrote:

Thanks Bob. Where do I look for the data files?

Robert Manocchia

UNIX System Administrator

IDEXX Laboratories

XXX XXX-XXXX

EMail user-615a9b935f98@xymon.invalid <mailto:user-615a9b935f98@xymon.invalid>

-----Original Message-----
*From:* Bob Gordon [mailto:user-488dbf322a4e@xymon.invalid
<mailto:user-488dbf322a4e@xymon.invalid>]
*Sent:* Wednesday, May 30, 2007 2:04 PM
*To:* user-ae9b8668bcde@xymon.invalid <mailto:user-ae9b8668bcde@xymon.invalid>
*Subject:* Re: [hobbit] Hobbit 4.2.0

On 5/30/07, *Manocchia, Robert* < user-615a9b935f98@xymon.invalid
<mailto:user-615a9b935f98@xymon.invalid>> wrote:

I have the main screen for hobbit up and running on a Linux 2 server.
However when I click on any of the colored icons I get the message
Page Not Found. Is this a permissions problem or is it that apache
does not know where to look for the page?


When I had the problem it was a permissions issue.

--
--==[ Bob Gordon ]==--
list Iain Conochie · Thu, 31 May 2007 13:44:44 +0100 ·
quoted from Robert Manocchia
On Thursday 31 May 2007 13:40, Manocchia, Robert wrote:
You mean I should cut and paste the hobbit-apache.conf file to the
httpd.conf file and restart apache?
You can probably get away with doing that. Look for the other ScriptAlias 
definition and paste it under there. Then restart apache and see what 
happens :)
quoted from Robert Manocchia

Iain 
Robert Manocchia
UNIX System Administrator
IDEXX Laboratories
XXX XXX-XXXX
EMail user-615a9b935f98@xymon.invalid

-----Original Message-----
From: Iain Conochie [mailto:user-c784e16a5170@xymon.invalid]
Sent: Thursday, May 31, 2007 8:22 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Hobbit 4.2.0

On Wednesday 30 May 2007 22:33, Galen Johnson wrote:
Your access_log is not going to be much help. You need to check your
error logs...
Apart from the fact that the web server is answering with a 404 not found

<snip>
172.31.38.62 - - [30/May/2007:16:27:19 -0400] "GET
/hobbit-cgi/bb-hostsvc.sh?HOST=batman&SERVICE=cpu HTTP/1.1" 404 297
"http://batman/hobbit/"; "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT
5.1; SV1; .NET CLR 1.1.4322)"
So this would seem that , as Henrik stated, this is a web server
configuration
issue.

At a guess, I think Bob, you do not have the hobbit-apache.conf file added
to
the main apache.conf file.


Cheers

Iain
Robert Manocchia

UNIX System Administrator

IDEXX Laboratories

XXX XXX-XXXX

EMail user-615a9b935f98@xymon.invalid

-----Original Message-----
*From:* user-6f5382941e41@xymon.invalid
[mailto:user-6f5382941e41@xymon.invalid]
*Sent:* Wednesday, May 30, 2007 4:17 PM
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* RE: [hobbit] Hobbit 4.2.0

Might I suggest checking the apache log files to see what he thinks
he's serving versus what you think he should be serving?

--
Stewart Larsen

• *From:* Manocchia, Robert [mailto:user-615a9b935f98@xymon.invalid]
*Sent:* Wednesday, May 30, 2007 2:39 PM
*To:* 'user-ae9b8668bcde@xymon.invalid'
*Subject:* RE: [hobbit] Hobbit 4.2.0

Steve:

I've looked at the data files and they look of owner by hobbit:users
and all 755. It must be something else I'm missing.

Robert Manocchia

UNIX System Administrator

IDEXX Laboratories

XXX XXX-XXXX

EMail user-615a9b935f98@xymon.invalid

-----Original Message-----
*From:* Steve Holmes [mailto:user-ec1bf77b1b44@xymon.invalid]
*Sent:* Wednesday, May 30, 2007 2:21 PM
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* Re: [hobbit] Hobbit 4.2.0

Bob, I think you want to look in /var/hobbit/data (or the equivalent
for your configuration).

Steve.

On 5/30/07, *Manocchia, Robert* < user-615a9b935f98@xymon.invalid
<mailto:user-615a9b935f98@xymon.invalid>> wrote:

Thanks Bob. Where do I look for the data files?

Robert Manocchia

UNIX System Administrator

IDEXX Laboratories

XXX XXX-XXXX

EMail user-615a9b935f98@xymon.invalid <mailto:user-615a9b935f98@xymon.invalid>

-----Original Message-----
*From:* Bob Gordon [mailto:user-488dbf322a4e@xymon.invalid
<mailto:user-488dbf322a4e@xymon.invalid>]
*Sent:* Wednesday, May 30, 2007 2:04 PM
*To:* user-ae9b8668bcde@xymon.invalid <mailto:user-ae9b8668bcde@xymon.invalid>
*Subject:* Re: [hobbit] Hobbit 4.2.0

On 5/30/07, *Manocchia, Robert* < user-615a9b935f98@xymon.invalid
<mailto:user-615a9b935f98@xymon.invalid>> wrote:

I have the main screen for hobbit up and running on a Linux 2 server.
However when I click on any of the colored icons I get the message
Page Not Found. Is this a permissions problem or is it that apache
does not know where to look for the page?


When I had the problem it was a permissions issue.

--
--==[ Bob Gordon ]==--
list Robert Manocchia · Thu, 31 May 2007 09:12:36 -0400 ·
Thanks to all for your help. Placing the hobbit-apache.conf ScriptAlias into
the httpd.conf file and restarting apache worked. I look forward to making
hobbit our server monitor of choice.

  Again thanks.
signature

Robert Manocchia
UNIX System Administrator
IDEXX Laboratories
XXX XXX-XXXX
EMail user-615a9b935f98@xymon.invalid

-----Original Message-----

quoted from Iain Conochie
From: Iain Conochie [mailto:user-c784e16a5170@xymon.invalid] 
Sent: Thursday, May 31, 2007 8:45 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Hobbit 4.2.0

On Thursday 31 May 2007 13:40, Manocchia, Robert wrote:
You mean I should cut and paste the hobbit-apache.conf file to the
httpd.conf file and restart apache?
You can probably get away with doing that. Look for the other ScriptAlias 
definition and paste it under there. Then restart apache and see what 
happens :)

Iain 
Robert Manocchia
UNIX System Administrator
IDEXX Laboratories
XXX XXX-XXXX
EMail user-615a9b935f98@xymon.invalid

-----Original Message-----
From: Iain Conochie [mailto:user-c784e16a5170@xymon.invalid]
Sent: Thursday, May 31, 2007 8:22 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Hobbit 4.2.0

On Wednesday 30 May 2007 22:33, Galen Johnson wrote:
Your access_log is not going to be much help. You need to check your
error logs...
Apart from the fact that the web server is answering with a 404 not found

<snip>
172.31.38.62 - - [30/May/2007:16:27:19 -0400] "GET
/hobbit-cgi/bb-hostsvc.sh?HOST=batman&SERVICE=cpu HTTP/1.1" 404 297
"http://batman/hobbit/"; "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT
5.1; SV1; .NET CLR 1.1.4322)"
So this would seem that , as Henrik stated, this is a web server
configuration
issue.

At a guess, I think Bob, you do not have the hobbit-apache.conf file added
to
the main apache.conf file.


Cheers

Iain
Robert Manocchia

UNIX System Administrator

IDEXX Laboratories

XXX XXX-XXXX

EMail user-615a9b935f98@xymon.invalid

-----Original Message-----
*From:* user-6f5382941e41@xymon.invalid
[mailto:user-6f5382941e41@xymon.invalid]
*Sent:* Wednesday, May 30, 2007 4:17 PM
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* RE: [hobbit] Hobbit 4.2.0

Might I suggest checking the apache log files to see what he thinks
he's serving versus what you think he should be serving?

--
Stewart Larsen


• *From:* Manocchia, Robert [mailto:user-615a9b935f98@xymon.invalid]
*Sent:* Wednesday, May 30, 2007 2:39 PM
*To:* 'user-ae9b8668bcde@xymon.invalid'
*Subject:* RE: [hobbit] Hobbit 4.2.0

Steve:

I've looked at the data files and they look of owner by hobbit:users
and all 755. It must be something else I'm missing.

Robert Manocchia

UNIX System Administrator

IDEXX Laboratories

XXX XXX-XXXX

EMail user-615a9b935f98@xymon.invalid

-----Original Message-----
*From:* Steve Holmes [mailto:user-ec1bf77b1b44@xymon.invalid]
*Sent:* Wednesday, May 30, 2007 2:21 PM
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* Re: [hobbit] Hobbit 4.2.0

Bob, I think you want to look in /var/hobbit/data (or the equivalent
for your configuration).

Steve.

On 5/30/07, *Manocchia, Robert* < user-615a9b935f98@xymon.invalid
<mailto:user-615a9b935f98@xymon.invalid>> wrote:

Thanks Bob. Where do I look for the data files?

Robert Manocchia

UNIX System Administrator

IDEXX Laboratories

XXX XXX-XXXX

EMail user-615a9b935f98@xymon.invalid <mailto:user-615a9b935f98@xymon.invalid>

-----Original Message-----
*From:* Bob Gordon [mailto:user-488dbf322a4e@xymon.invalid
<mailto:user-488dbf322a4e@xymon.invalid>]
*Sent:* Wednesday, May 30, 2007 2:04 PM
*To:* user-ae9b8668bcde@xymon.invalid <mailto:user-ae9b8668bcde@xymon.invalid>
*Subject:* Re: [hobbit] Hobbit 4.2.0

On 5/30/07, *Manocchia, Robert* < user-615a9b935f98@xymon.invalid
<mailto:user-615a9b935f98@xymon.invalid>> wrote:

I have the main screen for hobbit up and running on a Linux 2 server.
However when I click on any of the colored icons I get the message
Page Not Found. Is this a permissions problem or is it that apache
does not know where to look for the page?


When I had the problem it was a permissions issue.

--
--==[ Bob Gordon ]==--
list Frank M. Ramaekers · Thu, 31 May 2007 09:51:56 -0500 ·
I placed the hobbit.conf into /etc/httpd/conf.d

Frank M. Ramaekers Jr.
Systems Programmer; MCP, MCP+I, MCSE & RHCE
American Income Life Insurance Company 
Phone: (XXX) XXX-XXXX     Fax: (XXX) XXX-XXXX
quoted from Robert Manocchia

-----Original Message-----
From: Manocchia, Robert [mailto:user-615a9b935f98@xymon.invalid] 
Sent: Thursday, May 31, 2007 8:13 AM
To: 'user-ae9b8668bcde@xymon.invalid'
Subject: RE: [hobbit] Hobbit 4.2.0

Thanks to all for your help. Placing the hobbit-apache.conf ScriptAlias
into
the httpd.conf file and restarting apache worked. I look forward to
making
hobbit our server monitor of choice.

  Again thanks.

Robert Manocchia
UNIX System Administrator
IDEXX Laboratories
XXX XXX-XXXX
EMail user-615a9b935f98@xymon.invalid

-----Original Message-----
From: Iain Conochie [mailto:user-c784e16a5170@xymon.invalid] 
Sent: Thursday, May 31, 2007 8:45 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Hobbit 4.2.0

On Thursday 31 May 2007 13:40, Manocchia, Robert wrote:
You mean I should cut and paste the hobbit-apache.conf file to the
httpd.conf file and restart apache?
You can probably get away with doing that. Look for the other
ScriptAlias 
definition and paste it under there. Then restart apache and see what 
happens :)

Iain 
Robert Manocchia
UNIX System Administrator
IDEXX Laboratories
XXX XXX-XXXX
EMail user-615a9b935f98@xymon.invalid

-----Original Message-----
From: Iain Conochie [mailto:user-c784e16a5170@xymon.invalid]
Sent: Thursday, May 31, 2007 8:22 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Hobbit 4.2.0

On Wednesday 30 May 2007 22:33, Galen Johnson wrote:
Your access_log is not going to be much help. You need to check your
error logs...
Apart from the fact that the web server is answering with a 404 not
found

<snip>
172.31.38.62 - - [30/May/2007:16:27:19 -0400] "GET
/hobbit-cgi/bb-hostsvc.sh?HOST=batman&SERVICE=cpu HTTP/1.1" 404
297
"http://batman/hobbit/"; "Mozilla/4.0 (compatible; MSIE 6.0;
Windows NT
5.1; SV1; .NET CLR 1.1.4322)"
So this would seem that , as Henrik stated, this is a web server
configuration
issue.

At a guess, I think Bob, you do not have the hobbit-apache.conf file
added
to
the main apache.conf file.


Cheers

Iain
Robert Manocchia

UNIX System Administrator

IDEXX Laboratories

XXX XXX-XXXX

EMail user-615a9b935f98@xymon.invalid

-----Original Message-----
*From:* user-6f5382941e41@xymon.invalid
[mailto:user-6f5382941e41@xymon.invalid]
*Sent:* Wednesday, May 30, 2007 4:17 PM
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* RE: [hobbit] Hobbit 4.2.0

Might I suggest checking the apache log files to see what he
thinks
he's serving versus what you think he should be serving?

--
Stewart Larsen


• *From:* Manocchia, Robert [mailto:user-615a9b935f98@xymon.invalid]
*Sent:* Wednesday, May 30, 2007 2:39 PM
*To:* 'user-ae9b8668bcde@xymon.invalid'
*Subject:* RE: [hobbit] Hobbit 4.2.0

Steve:

I've looked at the data files and they look of owner by
hobbit:users
and all 755. It must be something else I'm missing.

Robert Manocchia

UNIX System Administrator

IDEXX Laboratories

XXX XXX-XXXX

EMail user-615a9b935f98@xymon.invalid

-----Original Message-----
*From:* Steve Holmes [mailto:user-ec1bf77b1b44@xymon.invalid]
*Sent:* Wednesday, May 30, 2007 2:21 PM
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* Re: [hobbit] Hobbit 4.2.0

Bob, I think you want to look in /var/hobbit/data (or the
equivalent
for your configuration).

Steve.

On 5/30/07, *Manocchia, Robert* < user-615a9b935f98@xymon.invalid
<mailto:user-615a9b935f98@xymon.invalid>> wrote:

Thanks Bob. Where do I look for the data files?

Robert Manocchia

UNIX System Administrator

IDEXX Laboratories

XXX XXX-XXXX

EMail user-615a9b935f98@xymon.invalid

-----Original Message-----
*From:* Bob Gordon [mailto:user-488dbf322a4e@xymon.invalid
<mailto:user-488dbf322a4e@xymon.invalid>]
*Sent:* Wednesday, May 30, 2007 2:04 PM
*To:* user-ae9b8668bcde@xymon.invalid <mailto:user-ae9b8668bcde@xymon.invalid>
*Subject:* Re: [hobbit] Hobbit 4.2.0

On 5/30/07, *Manocchia, Robert* < user-615a9b935f98@xymon.invalid
<mailto:user-615a9b935f98@xymon.invalid>> wrote:

I have the main screen for hobbit up and running on a Linux 2
server.
However when I click on any of the colored icons I get the message
Page Not Found. Is this a permissions problem or is it that apache
does not know where to look for the page?


When I had the problem it was a permissions issue.

--
--==[ Bob Gordon ]==--
This message contains information which is privileged and confidential and is solely for the use of the intended recipient.  If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited.
If you have received this in error, please destroy it immediately and notify us at user-2f780dbd82da@xymon.invalid.

This message contains information which is privileged and confidential and is solely for the use of the intended recipient.  If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited.
If you have received this in error, please destroy it immediately and notify us at user-2f780dbd82da@xymon.invalid.
list Hobbit User · Thu, 31 May 2007 16:27:43 -0400 (EDT) ·
quoted from Sello Tlabela
On Thu, May 31, 2007 06:22, Sello Tlabela wrote:
Hi

Is either the permissions on your cgi files or selinux is blocking you,
try to set selinux to allow you
Definitely an Apache issue, not Hobbit.  In my experience, if there is
_one_ file in the cgi directory that's not executable by the httpd
process, it will serve _any_ of them as plain pages, and since your
browser doesn't know what to do with a ".sh" file, it triggers the
download prompt.

Do a chmod -R 755 (or 775 if you want group writable) on the cgi-bin
directory itself.  That will make sure of the file perms and also ensure
that the httpd has "x" on the directory, which it needs to get into it.