Hi Phil. I have found a small typo in the code that may or may not be the
cause of your woes, my last email to this group detailed it:
Further to my last email, I believe I have found the problem/bug/typo.
The following pathnames/lines are from my installed file locations but
you should be able to search/find them in your installed locations:
In /opt/hobbit/server/etc/hobbitcgi.cfg, line 47 looks like:
CGI_GHOSTS_OPT="--env=/opt/hobbit/server/etc/hobbitserver.cfg"
and in /opt/hobbit/cgi-bin/hobbit-ghosts.sh, line 6 the end of the line
looks like: bin/hobbit-ghosts.cgi $CGI_GHOSTS_OPTS
Changing hobbitcgi.cfg to:
CGI_GHOSTS_OPTS=
Makes it work correctly.
Having made this change I found that the list of ghost servers was indeed
valid. I also found that manually editing the bb-hosts file, adding one
of the ghosts to the end of it (as you might do via a script if you have the
"Unknown hosts" listed at the end) and waiting about five minutes did cause
that machine to be added into the main Hobbit pages and be removed from the
Ghosts list.
I am running Hobbit 4.2.0 on a Solaris 10 server, nothing special.
HTH
|\/|artin
--
-----Original Message-----
*From:* Phil Wild [mailto:user-e365c1418192@xymon.invalid]
*Sent:* 02 June 2008 16:15
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* Re: [hobbit] hobbit ghost reports
Let me know if you get this working...
I have been unsuccessful in using the ghostlist report using bb. It is not
consistent. ghostlist does not stop reporting on hosts after they have been
added to bb-hosts. There has not been a clear answer as to why from the
list. Do a search of the mailing list to see my experiences.
Cheers
Phil
2008/6/2 Val Polyakov <user-f80f448eb4ab@xymon.invalid>:
nevermind, found my answer:
bb 127.0.0.1 "ghostlist"
Val Polyakov wrote:
where does hobbit store ghost reports, if anywhere?
my goal is to have a shell/perl script scan the file (if there's one)
daily
for the presence of ghost reports and modify bb-hosts to insert these
machines into an "uncategorized", or some such, section of hobbit
is there such a file to scan for this in?
--
Tel: XXXX XXX XXX
Fax: XXXX XXX XXX
email: user-e365c1418192@xymon.invalid
*************************************************************************************
The message is intended for the named addressee only and may not be
disclosed to or used by anyone else, nor may it be copied in any way.
The contents of this message and its attachments are confidential and may
also be subject to legal privilege. If you are not the named addressee
and/or have received this message in error, please advise us by e-mailing
user-61c7f445d564@xymon.invalid and delete the message and any attachments without
retaining any copies.
Internet communications are not secure and COLT does not accept
responsibility for this message, its contents nor responsibility for any
viruses.
No contracts can be created or varied on behalf of COLT Telecommunications,
its subsidiaries or affiliates ("COLT") and any other party by email
Communications unless expressly agreed in writing with such other party.
Please note that incoming emails will be automatically scanned to eliminate
potential viruses and unsolicited promotional emails. For more information
refer to www.colt.net or contact us on +44(0)20 7390 3900.