-----Original Message----- From: Henrik Størner [mailto:henrik at hswn.dk] Sent: Tuesday, December 30, 2008 22:14 To: hobbit at hswn.dk Subject: Re: [hobbit] bb-ack
In <4589F14AA3744644BB56B950C422D6A9098C7D5F at ASHEVS008.mcilink.co m> "Gore, David W" <david.gore at verizonbusiness.com> 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