Xymon Mailing List Archive search

Hobbit 4.2.0 hobbitcgi.cfg

6 messages in this thread

list Torsten Richter · Tue, 22 Aug 2006 14:19:16 +0200 ·
Hi Henrik,

first of all I have to agree with all the others.
This IS a really outstanding piece of software you've written. Thanks for that.

I found a small typo in the above mentioned config file.
In hobbit-ghosts.sh you use  "...hobbit-ghosts.cgi $CGI_GHOSTS_OPTS" but in hobbitcgi.cfg the last S is missing so it reads "CGI_GHOSTS_OPT=...".

Sorry to bother you with that.

Best regards
Torsten
list Henrik Størner · Tue, 22 Aug 2006 14:27:01 +0200 ·
quoted from Torsten Richter
On Tue, Aug 22, 2006 at 02:19:16PM +0200, Torsten Richter wrote:
first of all I have to agree with all the others.
This IS a really outstanding piece of software you've written. Thanks for that.
My pleasure. I am really happy that this version has turned out to be
fairly solid.
quoted from Torsten Richter
I found a small typo in the above mentioned config file.
In hobbit-ghosts.sh you use  "...hobbit-ghosts.cgi $CGI_GHOSTS_OPTS" but 
in hobbitcgi.cfg the last S is missing so it reads "CGI_GHOSTS_OPT=...".
You've probably upgraded from a beta- or RC-version. This was fixed in
the final 4.2.0 release version, but upgrading won't replace an existing
configuration.


Regards,
Henrik
list Torsten Richter · Tue, 22 Aug 2006 15:32:47 +0200 ·
Hi Henrik,
quoted from Torsten Richter
On Tue, Aug 22, 2006 at 02:19:16PM +0200, Torsten Richter wrote:
first of all I have to agree with all the others.
This IS a really outstanding piece of software you've written. Thanks for 
that.
My pleasure. I am really happy that this version has turned out to be
fairly solid.
I found a small typo in the above mentioned config file.
In hobbit-ghosts.sh you use  "...hobbit-ghosts.cgi $CGI_GHOSTS_OPTS" but 
in hobbitcgi.cfg the last S is missing so it reads "CGI_GHOSTS_OPT=...".
You've probably upgraded from a beta- or RC-version. This was fixed in
the final 4.2.0 release version, but upgrading won't replace an existing
configuration.
No, I had version 4.1.2p1 up and running and fetched the archive from a Sourcforge mirror.
Then I did a fresh install in a new directory.

-rwxr-xr-x  1 hobbit users 190 Aug 22 12:18 hobbit-ghosts.sh

./bb 127.0.0.1 ping
hobbitd 4.2.0

The mirror I chose was MESH solutions in Duesseldorf.

Best regards
Torsten
list Jason Altrincham Jones · Tue, 22 Aug 2006 15:14:58 +0100 ·
Hi all,

I have an interesting problem, on of our servers running our own
script(not really important for the problem) stopped working properly (a
false positive due to the script) I went on the box and stopped hobbit
replaced the script with one that does work (it is running on one of our
other servers) then started hobbit (/usr/local/hobbit/client/runclient
--hostname=xxx.xxx.xxx.xxx start) when I ran the status after this it
said it was not running so I ran ps and found the processes were there,
so I killed them off and tried again, same result so I killed them off
changed the hostname to the fully qualified domain name and started
hobbit, success-ish the status reports it is running and no ghost
reports on the server, the only problem is all the tests from that
script are coming back purple, yet I haven't changed clientlaunch etc.

Conn cpu disk etc. etc. work just not that one script, which is arguably
the most important :) so I guess help is in order because I'm stumped

Thanks,
Jason.
list Henrik Størner · Tue, 22 Aug 2006 16:52:32 +0200 ·
quoted from Jason Altrincham Jones
On Tue, Aug 22, 2006 at 03:14:58PM +0100, Jones, Jason (Altrincham) wrote:
I have an interesting problem, on of our servers running our own
script(not really important for the problem) stopped working properly (a
false positive due to the script) I went on the box and stopped hobbit
replaced the script with one that does work (it is running on one of our
other servers) then started hobbit (/usr/local/hobbit/client/runclient
--hostname=xxx.xxx.xxx.xxx start) when I ran the status after this it
said it was not running so I ran ps and found the processes were there,
so I killed them off and tried again, same result so I killed them off
changed the hostname to the fully qualified domain name and started
hobbit, success-ish the status reports it is running
Note that you'll need the --hostname option even for a "status" check
since the hostname is used for the status files.
quoted from Jason Altrincham Jones
no ghost reports on the server, the only problem is all the tests from that
script are coming back purple, yet I haven't changed clientlaunch etc.
Check that the script you copied from another server uses the correct
IP when sending in status messages to the Hobbit server. Or perhaps it
has a different PATH setting built-in, so it cannot find the "bb"
command ...  The client logfile should have some more info.

If all else fails, a simple

   date >>/tmp/myscript.log

added near the beginning of the log will at least tell you if the script
runs at all.


Regards,
Henrik
list Jeff Newman · Tue, 29 Aug 2006 23:45:09 -0500 ·
I just downloaded the latest, and he is right, even in the untarred
source, in hobbitd/etcfiles/hobbitcgi.cfg:

#hobbit-ghosts.cgi options
CGI_GHOSTS_OPT="--env=/usr/local/hobbit/server/etc/hobbitserver.cfg"

and in the source dir/web,
hobbit-ghosts.sh line 5 reads:
exec /usr/local/hobbit/server/bin/hobbit-ghosts.cgi $CGI_GHOSTS_OPTS

-Jeff
quoted from Torsten Richter


On 8/22/06, Torsten Richter <user-c862b499d9fa@xymon.invalid> wrote:
Hi Henrik,
On Tue, Aug 22, 2006 at 02:19:16PM +0200, Torsten Richter wrote:
first of all I have to agree with all the others.
This IS a really outstanding piece of software you've written. Thanks for
that.
My pleasure. I am really happy that this version has turned out to be
fairly solid.
I found a small typo in the above mentioned config file.
In hobbit-ghosts.sh you use  "...hobbit-ghosts.cgi $CGI_GHOSTS_OPTS" but
in hobbitcgi.cfg the last S is missing so it reads "CGI_GHOSTS_OPT=...".
You've probably upgraded from a beta- or RC-version. This was fixed in
the final 4.2.0 release version, but upgrading won't replace an existing
configuration.
No, I had version 4.1.2p1 up and running and fetched the archive from a Sourcforge mirror.
Then I did a fresh install in a new directory.

-rwxr-xr-x  1 hobbit users 190 Aug 22 12:18 hobbit-ghosts.sh

./bb 127.0.0.1 ping
hobbitd 4.2.0

The mirror I chose was MESH solutions in Duesseldorf.

Best regards
Torsten