Xymon Mailing List Archive search

Suggestions for next hobbit release

list Henrik Størner
Thu, 15 Sep 2005 15:37:38 +0200
Message-Id: <user-d3236713631b@xymon.invalid>

Hi Christian,

On Thu, Sep 15, 2005 at 02:56:46PM +0200, Christian Schlüter wrote:
Hello Henrik!

I have some suggestions for the next hobbit release:
- reports from hosts which are not known by the server should appear in the error report of the hobbitd. That would make it easier to find misconfiguration especially with the hostname the client sends.
You can already do that - in your hobbitserver.cfg, change BBGHOSTS:

BBGHOSTS="1"     # How to handle status messages from unknown hosts.
                 # 0=accept message, 1=discard message,
		 # 2=discard message and log the event

Set it to "2", and the "hobbitd" column will list the hostnames and IP's of all hosts whose messages were discarded.

- Succesfully sent messages should be logged to ensure that the client works correctly. It would be enough to log the last sent message for having a static small size of the logfile
Do you mean "logged on the client host", or "logged on the Hobbit
server" ? And the entire message, or just that it was sent ? Big difference ...

On clients, the latest message is in ~hobbit/client/tmp/msg.txt .
On the Hobbit server, I do not want to log incoming messages for
performance reasons.

- Bugfix: The Linux client does not stop the vmstat-process by stopping hobbitclient.
Right ... the vmstat is started as with "nohup" to let it run
independently of all the other client tasks (it's the only one that
takes a long time). So this is a bit harder to do than it seems - hobbitlaunch which is the only other job running doesn't know the
process-id of the vmstat process.


Henrik