Xymon Mailing List Archive search

bb-ack

2 messages in this thread

list Henrik Størner · Tue, 30 Dec 2008 22:14:21 +0000 (UTC) ·
In <user-98f5ba25bf64@xymon.invalid> "Gore, David W" <user-3e5761c68b56@xymon.invalid> writes:
I am running Red Hat release 4 and the latest snapshot.  I am also
running Apache 2.0.52.  When I try to acknowledge an alert it shows me
ALL the services that are alarming not just the alert I was interested
in.  Any idea what I can do to debug?
That would usually mean that the cookie used by the bb-ack CGI to 
determine what page or host you were looking at is missing. Maybe
you have cookies disabled in your browser policy ?


Regards,
Henrik
list David W Gore · Tue, 30 Dec 2008 23:51:29 +0000 ·
-----Original Message-----
From: Henrik Størner [mailto:user-ce4a2c883f75@xymon.invalid] Sent: Tuesday, December 30, 2008 22:14
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] bb-ack

In <user-ad6711ad8037@xymon.invalid
quoted from Henrik Størner
m> "Gore, David W" <user-3e5761c68b56@xymon.invalid> writes:
I am running Red Hat release 4 and the latest snapshot.  I am also >running Apache 2.0.52.  When I try to acknowledge an alert it shows me >ALL the services that are alarming not just the alert I was interested >in.  Any idea what I can do to debug?
That would usually mean that the cookie used by the bb-ack CGI to determine what page or host you were looking at is missing. Maybe you have cookies disabled in your browser policy ?
The cookies are not disabled.  Viewing the cookies in firefox I can see that the host cookie does NOT contain the hostname.  It does contain the hostname on a working server.  
So I installed the last test release from xymon.com web page.  It also exhibits the same problem.  I would guess that it is a permission problem since I have to correct numerous files to get the server and client to work properly.  Here are the files I have to correct and error messages:

Make install:

../build/convert-bbservices /home/hobbit/server/etc/bb-services
make[1]: execvp: ../build/convert-bbservices: Permission denied
make[1]: *** [install-config] Error 127
make[1]: Leaving directory `/var/tmp/trunk/bbnet'
make: *** [install-bbnet] Error 2
[root at hobbit2 trunk]# chmod +x build/convert-bbservices
[root at hobbit2 trunk]# make install

[root at hobbit2 web]# pwd
/home/hobbit/server/web

[root at hobbit2 web]# for file in *header; do ln -sf bb_header $file; done
ln: `bb_header' and `bb_header' are the same file
[root at hobbit2 web]# for file in *footer; do ln -sf bb_footer $file; done
ln: `bb_footer' and `bb_footer' are the same file

[root at hobbit2 ~]# service hobbitclient start
[root at hobbit2 ~]# chmod +x /home/hobbit/client/*sh
[root at hobbit2 ~]# chmod +x /home/hobbit/client/bin/*
[root at hobbit2 ~]# service hobbitclient start
Starting hobbitclient: Hobbit client for linux started on hobbit2
hobbitclient started.

Could be I only needed to chmod +x the runclient.sh file and not the client bin files but I didn't look and I forgot if it was either or both.

Regardless, I wouldn't be surprised if some permission is missing some where that is causing the bb-ack to not work properly but I do not know what?

~David