Xymon Mailing List Archive search

Fedora 8 Problem

12 messages in this thread

list Neil Franken · Tue, 8 Jun 2010 08:55:27 +0200 ·
Hi All

I got a old Fedora 8 box that I installed the xymon client on. I used
the RHEL packages provided by Buchan Milne(thanks for the local mirror)
and installed the xymon client using yum install xymon-client. However
when I run the runclient.sh I don't get any results I looked into the
/logs directory and found the following error.

Could not connect to bbd at 127.0.0.1:1984 - Connection refused

The install did not ask me for a BBhost file so I think the install
might have skipped this part. How do I change where the client is
reporting to? I looked at all the files in the client/etc directory but
could not find anything. 

Regards
Neil
list Josh Luthman · Tue, 8 Jun 2010 03:08:13 -0400 ·
Try compiling it?
quoted from Neil Franken

On 6/8/10, Neil Franken <user-1689acfc5a3b@xymon.invalid> wrote:
Hi All

I got a old Fedora 8 box that I installed the xymon client on. I used
the RHEL packages provided by Buchan Milne(thanks for the local mirror)
and installed the xymon client using yum install xymon-client. However
when I run the runclient.sh I don't get any results I looked into the
/logs directory and found the following error.

Could not connect to bbd at 127.0.0.1:1984 - Connection refused

The install did not ask me for a BBhost file so I think the install
might have skipped this part. How do I change where the client is
reporting to? I looked at all the files in the client/etc directory but
could not find anything.

Regards
Neil

-- 

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

“Success is not final, failure is not fatal: it is the courage to
continue that counts.”
--- Winston Churchill
list Neil Franken · Tue, 8 Jun 2010 09:08:41 +0200 ·
Is that the only way? There is no configuration file for this? Sorry
about the basic questions sometimes I just like to know as much as
possible.

Regards
Neil
quoted from Josh Luthman

-----Original Message-----
From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] 
Sent: 08 June 2010 09:08 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Fedora 8 Problem

Try compiling it?

On 6/8/10, Neil Franken <user-1689acfc5a3b@xymon.invalid> wrote:
Hi All

I got a old Fedora 8 box that I installed the xymon client on. I used
the RHEL packages provided by Buchan Milne(thanks for the local
mirror)
and installed the xymon client using yum install xymon-client. However
when I run the runclient.sh I don't get any results I looked into the
/logs directory and found the following error.

Could not connect to bbd at 127.0.0.1:1984 - Connection refused

The install did not ask me for a BBhost file so I think the install
might have skipped this part. How do I change where the client is
reporting to? I looked at all the files in the client/etc directory
but
could not find anything.

Regards
Neil

-- 
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

"Success is not final, failure is not fatal: it is the courage to
continue that counts."
--- Winston Churchill
list Josh Luthman · Tue, 8 Jun 2010 03:16:55 -0400 ·
No idea where the files are but the default is:

/home/USERNAME/client/etc/hobbitclient.cfg

BBDISP should be the ip/host of your Xymon server, like so:

BBDISP="1.2.3.4"
quoted from Neil Franken

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

“Success is not final, failure is not fatal: it is the courage to
continue that counts.”
--- Winston Churchill


On Tue, Jun 8, 2010 at 3:08 AM, Neil Franken
quoted from Neil Franken
<user-1689acfc5a3b@xymon.invalid> wrote:
Is that the only way? There is no configuration file for this? Sorry
about the basic questions sometimes I just like to know as much as
possible.

Regards
Neil

-----Original Message-----
From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
Sent: 08 June 2010 09:08 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Fedora 8 Problem

Try compiling it?

On 6/8/10, Neil Franken <user-1689acfc5a3b@xymon.invalid> wrote:
Hi All

I got a old Fedora 8 box that I installed the xymon client on. I used
the RHEL packages provided by Buchan Milne(thanks for the local
mirror)
and installed the xymon client using yum install xymon-client. However
when I run the runclient.sh I don't get any results I looked into the
/logs directory and found the following error.

Could not connect to bbd at 127.0.0.1:1984 - Connection refused

The install did not ask me for a BBhost file so I think the install
might have skipped this part. How do I change where the client is
reporting to? I looked at all the files in the client/etc directory
but
could not find anything.

Regards
Neil

--
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

"Success is not final, failure is not fatal: it is the courage to
continue that counts."
--- Winston Churchill

list David Baldwin · Tue, 8 Jun 2010 17:56:37 +1000 ·
Neil,
quoted from Josh Luthman
Hi All

I got a old Fedora 8 box that I installed the xymon client on. I used
the RHEL packages provided by Buchan Milne(thanks for the local mirror)
and installed the xymon client using yum install xymon-client. However
when I run the runclient.sh I don't get any results I looked into the
/logs directory and found the following error.

Could not connect to bbd at 127.0.0.1:1984 - Connection refused

The install did not ask me for a BBhost file so I think the install
might have skipped this part. How do I change where the client is
reporting to? I looked at all the files in the client/etc directory but
could not find anything. 
  
You are probably looking for /etc/default/hobbit-client to configure the
address of the server.

If that's not it, go from first principles - either check what is in
/etc/init.d/hobbit-client (or xymon-client) or list the installed files.
On my system I get:
# rpm -ql hobbit-client
/etc/default/hobbit-client
/etc/init.d/hobbit-client
/usr/lib/hobbit/client
/usr/lib/hobbit/client/bin
/usr/lib/hobbit/client/bin/bb
/usr/lib/hobbit/client/bin/bbcmd
/usr/lib/hobbit/client/bin/bbdigest
/usr/lib/hobbit/client/bin/bbhostgrep
/usr/lib/hobbit/client/bin/bbhostshow
/usr/lib/hobbit/client/bin/clientupdate
/usr/lib/hobbit/client/bin/hobbitclient-aix.sh
/usr/lib/hobbit/client/bin/hobbitclient-darwin.sh
/usr/lib/hobbit/client/bin/hobbitclient-freebsd.sh
/usr/lib/hobbit/client/bin/hobbitclient-hp-ux.sh
/usr/lib/hobbit/client/bin/hobbitclient-irix.sh
/usr/lib/hobbit/client/bin/hobbitclient-linux.sh
/usr/lib/hobbit/client/bin/hobbitclient-netbsd.sh
/usr/lib/hobbit/client/bin/hobbitclient-openbsd.sh
/usr/lib/hobbit/client/bin/hobbitclient-osf1.sh
/usr/lib/hobbit/client/bin/hobbitclient-sco_sv.sh
/usr/lib/hobbit/client/bin/hobbitclient-sunos.sh
/usr/lib/hobbit/client/bin/hobbitclient.sh
/usr/lib/hobbit/client/bin/hobbitlaunch
/usr/lib/hobbit/client/bin/logfetch
/usr/lib/hobbit/client/bin/msgcache
/usr/lib/hobbit/client/bin/orcahobbit
/usr/lib/hobbit/client/etc
/usr/lib/hobbit/client/etc/clientlaunch.cfg
/usr/lib/hobbit/client/etc/hobbitclient.cfg
/usr/lib/hobbit/client/etc/localclient.cfg
/usr/lib/hobbit/client/ext
/usr/lib/hobbit/client/logs
/usr/lib/hobbit/client/runclient.sh
/usr/lib/hobbit/client/tmp
/usr/share/doc/hobbit-client-4.2.3
/usr/share/doc/hobbit-client-4.2.3/COPYING
/usr/share/doc/hobbit-client-4.2.3/CREDITS
/usr/share/doc/hobbit-client-4.2.3/Changes
/usr/share/doc/hobbit-client-4.2.3/README
/usr/share/doc/hobbit-client-4.2.3/README.CLIENT
/usr/share/doc/hobbit-client-4.2.3/RELEASENOTES
/var/log/hobbit

David.

-- 
David Baldwin - IT Unit
Australian Sports Commission          www.ausport.gov.au
Tel 02 62147830 Fax 02 62141830       PO Box 176 Belconnen ACT 2616
user-cbbf693f2c89@xymon.invalid          Leverrier Street Bruce ACT 2617


Keep up to date with what's happening in Australian sport visit http://www.ausport.gov.au

This message is intended for the addressee named and may contain confidential and privileged information. If you are not the intended recipient please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you receive this message in error, please delete it and notify the sender.
list Neil Franken · Tue, 8 Jun 2010 13:21:02 +0200 ·
Thanks for all the info.

Got all working. 
quoted from David Baldwin

-----Original Message-----
From: David Baldwin [mailto:user-cbbf693f2c89@xymon.invalid] 
Sent: 08 June 2010 09:57 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Fedora 8 Problem

Neil,
Hi All

I got a old Fedora 8 box that I installed the xymon client on. I used
the RHEL packages provided by Buchan Milne(thanks for the local mirror)
and installed the xymon client using yum install xymon-client. However
when I run the runclient.sh I don't get any results I looked into the
/logs directory and found the following error.

Could not connect to bbd at 127.0.0.1:1984 - Connection refused

The install did not ask me for a BBhost file so I think the install
might have skipped this part. How do I change where the client is
reporting to? I looked at all the files in the client/etc directory but
could not find anything. 
  
You are probably looking for /etc/default/hobbit-client to configure the
address of the server.

If that's not it, go from first principles - either check what is in
/etc/init.d/hobbit-client (or xymon-client) or list the installed files.
On my system I get:
# rpm -ql hobbit-client
/etc/default/hobbit-client
/etc/init.d/hobbit-client
/usr/lib/hobbit/client
/usr/lib/hobbit/client/bin
/usr/lib/hobbit/client/bin/bb
/usr/lib/hobbit/client/bin/bbcmd
/usr/lib/hobbit/client/bin/bbdigest
/usr/lib/hobbit/client/bin/bbhostgrep
/usr/lib/hobbit/client/bin/bbhostshow
/usr/lib/hobbit/client/bin/clientupdate
/usr/lib/hobbit/client/bin/hobbitclient-aix.sh
/usr/lib/hobbit/client/bin/hobbitclient-darwin.sh
/usr/lib/hobbit/client/bin/hobbitclient-freebsd.sh
/usr/lib/hobbit/client/bin/hobbitclient-hp-ux.sh
/usr/lib/hobbit/client/bin/hobbitclient-irix.sh
/usr/lib/hobbit/client/bin/hobbitclient-linux.sh
/usr/lib/hobbit/client/bin/hobbitclient-netbsd.sh
/usr/lib/hobbit/client/bin/hobbitclient-openbsd.sh
/usr/lib/hobbit/client/bin/hobbitclient-osf1.sh
/usr/lib/hobbit/client/bin/hobbitclient-sco_sv.sh
/usr/lib/hobbit/client/bin/hobbitclient-sunos.sh
/usr/lib/hobbit/client/bin/hobbitclient.sh
/usr/lib/hobbit/client/bin/hobbitlaunch
/usr/lib/hobbit/client/bin/logfetch
/usr/lib/hobbit/client/bin/msgcache
/usr/lib/hobbit/client/bin/orcahobbit
/usr/lib/hobbit/client/etc
/usr/lib/hobbit/client/etc/clientlaunch.cfg
/usr/lib/hobbit/client/etc/hobbitclient.cfg
/usr/lib/hobbit/client/etc/localclient.cfg
/usr/lib/hobbit/client/ext
/usr/lib/hobbit/client/logs
/usr/lib/hobbit/client/runclient.sh
/usr/lib/hobbit/client/tmp
/usr/share/doc/hobbit-client-4.2.3
/usr/share/doc/hobbit-client-4.2.3/COPYING
/usr/share/doc/hobbit-client-4.2.3/CREDITS
/usr/share/doc/hobbit-client-4.2.3/Changes
/usr/share/doc/hobbit-client-4.2.3/README
/usr/share/doc/hobbit-client-4.2.3/README.CLIENT
/usr/share/doc/hobbit-client-4.2.3/RELEASENOTES
/var/log/hobbit

David.

-- 
David Baldwin - IT Unit
Australian Sports Commission          www.ausport.gov.au
Tel 02 62147830 Fax 02 62141830       PO Box 176 Belconnen ACT 2616
user-cbbf693f2c89@xymon.invalid          Leverrier Street Bruce ACT 2617


Keep up to date with what's happening in Australian sport visit http://www.ausport.gov.au

This message is intended for the addressee named and may contain confidential and privileged information. If you are not the intended recipient please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you receive this message in error, please delete it and notify the sender.
list David Peters · Wed, 9 Jun 2010 09:24:27 +1000 ·
As I use perl mostly for interfacing to hobbit for tests, reports etc I have quite a number of perl modules floating around.

Given that CPAN is the easiest way to upload, install manage etc, I have installed the modules there.

I have created a top level Module called Xymon which is simple a place holder.

So far I have uploaded Xymon::Client which provides a perl interface to sending status updates:

#!/usr/bin/perl

use Xymon::Client;

my $xymon = Xymon::Client->new(.......);

$xymon->send(.....);

Documentation for this is included on cpan and when you install the module.

The other module I have installed is Xymon::Monitor::Informix which tests connectivity to remote Informix Databases This updates a test called database for servers that run informix databases and lists the status of each database on the status screen.

I have quite a few more to add but I was hoping that anyone else that has perl scripts, May add them there as modules. If help is required
I can assist.

Some of the upcoming releases of modules include:
        Xymon::Server which provides an interface to the various server environment variables + some utility functions such as redrawing the screen.
        Xymon::Server::History which returns a hash of all events for all or selected servers - I currently use this for generating excel reports.
        Xymon::Server::Clients which provides an interface to the hobbitclient.cfg file and includes a web interface.
        Xymon::Server::Alerts which provides an interface hobbit-alerts.cfg

        Xymon::Monitor::MSSQL which provides a status test for sql server databases
        Xymon::Monitor::Oracle which provides a status test for oracle servers
        Xymon::Monitor::SunContainer which provides a way fo testing Containers running on a Solaris node.

There are a few others that I have but that is enough for now.

BTW we still use a database to store all information about our servers and routers and then use this to generate the bbhosts and include files. This includes
a screen under INFO for a host that provides this information within hobbit. Allows us to do advanced searching based on other parameters, using an advanced search
web screen within hobbit.

Last time I spoke of the database there seemed to be very little interest in it so it has stayed where it is and hasn't been used anywhere else. 
We have applications tied to servers in the database and use it for a web based outages application. When an outage is logged, not only does it send an email
to subscribed users with details of the servers and the applications, it also automagically disables that host(s) in hobbit for the period of the outage.


This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient, please delete it and notify the sender. Views expressed in this message are those of the individual sender, and are not necessarily the views of their organisation.
list Buchan Milne · Wed, 9 Jun 2010 10:10:54 +0100 ·
quoted from David Peters
On Wednesday, 9 June 2010 00:24:27 user-1ccd046c8510@xymon.invalid wrote:
As I use perl mostly for interfacing to hobbit for tests, reports etc I
have quite a number of perl modules floating around.

Given that CPAN is the easiest way to upload, install manage etc, I have
installed the modules there.
Well, it's fine for distribution, installation is debatable (I usually use the 
distro package manager, but my distro has > 2000 CPAN modules).

However, where should the VCS for this be? How about a perl subdirectory on 
xymon svn on SF?
quoted from David Peters
I have created a top level Module called Xymon which is simple a place
holder.

So far I have uploaded Xymon::Client which provides a perl interface to
sending status updates:
I started on one a few months ago, but no one seemed interested at the time. 
The next thing I needed for myself was an interface to parsing bb-hosts to a 
page structure.

I've attached what I had.
quoted from David Peters
#!/usr/bin/perl

use Xymon::Client;

my $xymon = Xymon::Client->new(.......);

$xymon->send(.....);

Documentation for this is included on cpan and when you install the
module.

The other module I have installed is Xymon::Monitor::Informix which tests
connectivity to remote Informix Databases
This updates a test called database for servers that run informix
databases and lists the status of each database on the status screen.
How does this compared to dbcheck.pl from http://hobbit-perl-
cl.sourceforge.net/ ?
quoted from David Peters
I have quite a few more to add but I was hoping that anyone else that has
perl scripts, May add them there as modules. If help is required
I can assist.
Well, I was aiming to port some of mine to my Xymon::Client module.
quoted from David Peters

Some of the upcoming releases of modules include:
        Xymon::Server which provides an interface to the various server
environment variables + some utility functions such as redrawing the
screen.
I don't know if it should draw the screen, however if it can parse various 
config files and provide structures that can be used to compose a view in a 
templating system, that would be better.

For example, to provide an Ajax view, redrawing the screen itself in perl is 
useless, but providing the structure in JSON is useful ....
quoted from David Peters
        Xymon::Server::History which returns a hash of all events for all
or selected servers - I currently use this for generating excel reports.
        Xymon::Server::Clients which provides an interface to the
hobbitclient.cfg file and includes a web interface.
        Xymon::Server::Alerts which provides an interface
hobbit-alerts.cfg

        Xymon::Monitor::MSSQL which provides a status test for sql server
databases
        Xymon::Monitor::Oracle which provides a status test for oracle
servers
        Xymon::Monitor::SunContainer which provides a way fo testing
Containers running on a Solaris node.

There are a few others that I have but that is enough for now.

BTW we still use a database to store all information about our servers and
routers and then use this to generate the bbhosts and include files. This
includes
a screen under INFO for a host that provides this information within
hobbit. 
Well, in devmon, I have some work in my local checkout which populates some 
discover-related information into a database (e.g., cdp neighbours, IPs, 
routes).
quoted from David Peters
Allows us to do advanced searching based on other parameters,
using an advanced search
web screen within hobbit.

Last time I spoke of the database there seemed to be very little interest
in it so it has stayed where it is and hasn't been used anywhere else.
I think having a database is useful. I think there was resistance to having 
all the monitoring depend on a database.

For example, if configuration information is to be in a database, it should be 
dumped out, so that no matter what happens to the database, monitoring will 
work.
We have applications tied to servers in the database
Well, service dependency information should be captured, in order to easily 
provide a services view. While this can be hacked in at present with the 
combo-test, a better view is required (amongst other issues).
quoted from David Peters
and use it for a web
based outages application. When an outage is logged, not only does it send
an email
to subscribed users with details of the servers and the applications, it
also automagically disables that host(s) in hobbit for the period of the
outage.
Well, this should probably be migrated onto the developer list, and I think we 
should discuss the goals before finalising requirements/design etc.

Regards,
Buchan
list David Peters · Thu, 10 Jun 2010 09:00:18 +1000 ·
Buchan Milne <user-9b139aff4dec@xymon.invalid> wrote on 09/06/2010 07:10:54 PM:
[image removed] 
Re: [hobbit] CPAN Modules

Buchan Milne 
to:

hobbit

09/06/2010 07:15 PM

Cc:

david.peters

Please respond to hobbit
quoted from Buchan Milne

On Wednesday, 9 June 2010 00:24:27 user-1ccd046c8510@xymon.invalid 
wrote:
As I use perl mostly for interfacing to hobbit for tests, reports etc 
I
have quite a number of perl modules floating around.
Given that CPAN is the easiest way to upload, install manage etc, I 
have
installed the modules there.
Well, it's fine for distribution, installation is debatable (I usually use the distro package manager, but my distro has > 2000 CPAN modules).

However, where should the VCS for this be? How about a perl subdirectory 
on 
xymon svn on SF?
Agreed. Is already in svn just in a different repository. Happy to move it.
quoted from Buchan Milne
I have created a top level Module called Xymon which is simple a place
holder.
So far I have uploaded Xymon::Client which provides a perl interface 
to
sending status updates:
I started on one a few months ago, but no one seemed interested at the 
time. 
The next thing I needed for myself was an interface to parsing bb-hosts 
to a 
page structure.
We do that here via the database interface. Eg by owner and location and application.
quoted from Buchan Milne
I've attached what I had.
#!/usr/bin/perl
use Xymon::Client;
my $xymon = Xymon::Client->new(.......);
$xymon->send(.....);
Documentation for this is included on cpan and when you install the
module.
The other module I have installed is Xymon::Monitor::Informix which 
tests
connectivity to remote Informix Databases
This updates a test called database for servers that run informix
databases and lists the status of each database on the status screen.
How does this compared to dbcheck.pl from http://hobbit-perl-
cl.sourceforge.net/ ?
I have quite a few more to add but I was hoping that anyone else that 
has
perl scripts, May add them there as modules. If help is required
I can assist.
Well, I was aiming to port some of mine to my Xymon::Client module.

Some of the upcoming releases of modules include:
        Xymon::Server which provides an interface to the various 
server
environment variables + some utility functions such as redrawing the
screen.
I don't know if it should draw the screen, however if it can parse 
various 
config files and provide structures that can be used to compose a view 
in a 
templating system, that would be better.
sorry I meant running bbgen using the config parameters out of hobbitserver.cfg,
which is useful after updating various files or acknowledging events.
quoted from Buchan Milne

For example, to provide an Ajax view, redrawing the screen itself in 
perl is 
useless, but providing the structure in JSON is useful ....
        Xymon::Server::History which returns a hash of all events for 
all
or selected servers - I currently use this for generating excel 
reports.
        Xymon::Server::Clients which provides an interface to the
hobbitclient.cfg file and includes a web interface.
        Xymon::Server::Alerts which provides an interface
hobbit-alerts.cfg
        Xymon::Monitor::MSSQL which provides a status test for sql 
server
databases
        Xymon::Monitor::Oracle which provides a status test for oracle
servers
        Xymon::Monitor::SunContainer which provides a way fo testing
Containers running on a Solaris node.
There are a few others that I have but that is enough for now.
BTW we still use a database to store all information about our servers 
and
routers and then use this to generate the bbhosts and include files. 
This
includes
a screen under INFO for a host that provides this information within
hobbit. 
Well, in devmon, I have some work in my local checkout which populates 
some 
discover-related information into a database (e.g., cdp neighbours, IPs, 
routes).
Allows us to do advanced searching based on other parameters,
using an advanced search
web screen within hobbit.
Last time I spoke of the database there seemed to be very little 
interest
in it so it has stayed where it is and hasn't been used anywhere else.
I think having a database is useful. I think there was resistance to 
having 
all the monitoring depend on a database.

For example, if configuration information is to be in a database, 

itshould be 
quoted from Buchan Milne
dumped out, so that no matter what happens to the database, monitoring 
will 
work.
Sorry, Xymon is not tied to the database in any way other than that the database
is used to create the bbhosts file when a change is made. And the info screen for a server
contains a link to a web view of the data. Perhaps some diagrams and screenshots were
in order.
quoted from Buchan Milne

We have applications tied to servers in the database
Well, service dependency information should be captured, in order to 
easily 
provide a services view. While this can be hacked in at present with the 
combo-test, a better view is required (amongst other issues).
the bbhosts creation routine generates pages based on things such as application/service.
quoted from Buchan Milne

and use it for a web
based outages application. When an outage is logged, not only does it 
send
an email
to subscribed users with details of the servers and the applications, 
it
also automagically disables that host(s) in hobbit for the period of 
the
outage.
Well, this should probably be migrated onto the developer list, and I think we should discuss the goals before finalising requirements/design etc.
Agreed most of the work required from a xymon public perspective is design and integration,
not coding.


The trick I guess is to get from a working system here to a publicly available group of add-ons.
Regards,
Buchan
[attachment "Client.pm" deleted by David Peters/DII/NSW] [attachment
"bb.pl" deleted by David Peters/DII/NSW] [attachment "get.pl" deleted by David Peters/DII/NSW] To unsubscribe from the hobbit list, send an e-mail to
user-095ef1c764a2@xymon.invalid
quoted from David Peters
This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient, please delete it and notify the sender. Views expressed in this message are those of the individual sender, and are not necessarily the views of their organisation.
list W.J.M. Nelis · Thu, 10 Jun 2010 10:19:43 +0200 ·
quoted from Buchan Milne
Buchan Milne wrote:
On Wednesday, 9 June 2010 00:24:27 user-1ccd046c8510@xymon.invalid wrote:
  
BTW we still use a database to store all information about our servers and
routers and then use this to generate the bbhosts and include files. This
includes
a screen under INFO for a host that provides this information within
hobbit.     
Well, in devmon, I have some work in my local checkout which populates some discover-related information into a database (e.g., cdp neighbours, IPs, routes).

  
Allows us to do advanced searching based on other parameters,
using an advanced search
web screen within hobbit.

Last time I spoke of the database there seemed to be very little interest
in it so it has stayed where it is and hasn't been used anywhere else.
    
I think having a database is useful. I think there was resistance to having all the monitoring depend on a database.
  
I think that at quite a few sites a database is used to generate the xymon configuration files, thus using a database for monitoring purposes is perhaps not an such a big issue. In my case, the use of an additional database for monitoring only is not feasible.  There is a database, used by many applications, maintained by a lot of people, which I should use for the monitoring application as well. There must be some real benefits in order to justify the (partial)  duplication of information and the additional maintenance efforts.

Regards,
  Wim Nelis.


*******************************************************************************************************
The NLR disclaimer (http://www.nlr.nl/emaildisclaimer) is valid for NLR e-mail messages.
*******************************************************************************************************
list David Peters · Fri, 11 Jun 2010 10:04:54 +1000 ·
The problem or tangible benefits are to provide an easier way of handling hosts, laying them out in pages by categories such as location, application etc. This becomes a real issue when the number of hosts is large.

The other benefit I see is that it makes hobbit look a lot more professional and enterprise ready if multiple users
can change / add / remove hosts without having to rely on an admin with vi to modify the files. Even if the data is coming from
other locations such as an asset database, it is usually easier to write a database to database interface. (I am now ducking in order to avoid the incoming flames).

We have 20 or more IT staff who add servers and it is all done through the database interface. Commits to hobbit from the database are made only when one of 3 people go into the database application and verify the changes. This is a trade off between many hands on the bbhosts file and the other side which require the hobbit admins to have to type everything.

I found that even when we had two or three people editing the bbhosts, that I couldn't trust that someone wouldn;t screw the file up.

We never ever touch the bbhosts file now.

We do of course have the benefit of a development hobbit system which allows for easy development of code etc.

I think maybe a seperate project outside of hobbit is the way to go here. Just create a db application and interface to hobbit
and then people can choose to use it or not. I just know that I am being continually harassed by the helpdesk manager because in his
view the helpdesk application can do all of this (which I know is not true). It is just easy for him at the moment to run down hobbit in front
of the IT Director because he calls it a toy cmpared to apps with db frontends.

"W.J.M. Nelis" <user-f4ccfde53c0d@xymon.invalid> wrote on 10/06/2010 06:19:43 PM:
[image removed] 
Re: [hobbit] CPAN Modules

W.J.M. Nelis 
to:

user-ae9b8668bcde@xymon.invalid

10/06/2010 06:24 PM

Please respond to hobbit
quoted from Buchan Milne

Buchan Milne wrote:
On Wednesday, 9 June 2010 00:24:27 user-1ccd046c8510@xymon.invalid 
wrote:
BTW we still use a database to store all information about our 
servers and
routers and then use this to generate the bbhosts and include files. 
This
includes
a screen under INFO for a host that provides this information within
hobbit. >> >
Well, in devmon, I have some work in my local checkout which populates 
some 
discover-related information into a database (e.g., cdp neighbours, 
IPs, 
routes).
Allows us to do advanced searching based on other parameters,
using an advanced search
web screen within hobbit.
Last time I spoke of the database there seemed to be very little 
interest
in it so it has stayed where it is and hasn't been used anywhere 
else.
I think having a database is useful. I think there was resistance to 
having 
all the monitoring depend on a database.
I think that at quite a few sites a database is used to generate the xymon configuration files, thus using a database for monitoring purposes 
is perhaps not an such a big issue. In my case, the use of an additional 
database for monitoring only is not feasible.  There is a database, used 
by many applications, maintained by a lot of people, which I should use for the monitoring application as well. There must be some real benefits 
in order to justify the (partial)  duplication of information and the additional maintenance efforts.

Regards,
  Wim Nelis.

*******************************************************************************************************
The NLR disclaimer (http://www.nlr.nl/emaildisclaimer) is valid for NLR e-mail messages.
*******************************************************************************************************
This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient, please delete it and notify the sender. Views expressed in this message are those of the individual sender, and are not necessarily the views of their organisation.
list W.J.M. Nelis · Fri, 11 Jun 2010 11:17:49 +0200 ·
quoted from David Peters
user-1ccd046c8510@xymon.invalid wrote:
The problem or tangible benefits are to provide an easier way of handling hosts, laying them out in pages by
categories such as location, application etc. This becomes a real issue when the number of hosts is large.
Indeed, and that is what we are doing too. The nett result is that the configuration is as complete and as correct as the database is and that the configuration stays consistent.
quoted from David Peters
The other benefit I see is that it makes hobbit look a lot more professional and enterprise ready if multiple users
can change / add / remove hosts without having to rely on an admin with vi to modify the files. Even if the data is coming from
other locations such as an asset database, it is usually easier to write a database to database interface. (I am now ducking in order
to avoid the incoming flames).
True. As our database does not contain all the required information to regenerate bb-hosts completely, I consider bb-hosts to be a database too (see http://xymonton.trantor.org/doku.php/addons:xymonconfigsync). This means that changes in the tests of a host (yes, using vi) will survive if a new version of bb-hosts is generated.
quoted from David Peters
We have 20 or more IT staff who add servers and it is all done through the database interface. Commits to hobbit from the database
are made only when one of 3 people go into the database application and verify the changes. This is a trade off between many hands
on the bbhosts file and the other side which require the hobbit admins to have to type everything.

I found that even when we had two or three people editing the bbhosts, that I couldn't trust that someone wouldn;t screw the file up.

We never ever touch the bbhosts file now.
It is almost the same here. I do edit bb-hosts occasionally, but it has been changed this year about 700 times by a script. A benefit can be described as "power to the administrator": if an administrator modifies information about the equipment or services, it will be reflected in xymon within half an hour.

Given this situation, the benefits you mention are already realized, at least for a major part. That makes it a bit difficult to make a sort of business case for yet another database and yet another GUI to maintain.
quoted from David Peters
I think maybe a seperate project outside of hobbit is the way to go here. Just create a db application and interface to hobbit
and then people can choose to use it or not. I just know that I am being continually harassed by the helpdesk manager because in his
view the helpdesk application can do all of this (which I know is not true). It is just easy for him at the moment to run down hobbit in front
of the IT Director because he calls it a toy cmpared to apps with db frontends.
Ahh, an application is not sexy enough if there is no Db frontend...
quoted from David Peters
"W.J.M. Nelis" <user-f4ccfde53c0d@xymon.invalid> wrote on 10/06/2010 06:19:43 PM:
[image removed]

Re: [hobbit] CPAN Modules

W.J.M. Nelis

to:

user-ae9b8668bcde@xymon.invalid

10/06/2010 06:24 PM

Please respond to hobbit

Buchan Milne wrote:
On Wednesday, 9 June 2010 00:24:27 user-1ccd046c8510@xymon.invalid wrote:
BTW we still use a database to store all information about our servers and
routers and then use this to generate the bbhosts and include files. This
includes
a screen under INFO for a host that provides this information within
hobbit.
Well, in devmon, I have some work in my local checkout which populates some
discover-related information into a database (e.g., cdp neighbours, IPs,
routes).
Allows us to do advanced searching based on other parameters,
using an advanced search
web screen within hobbit.
Last time I spoke of the database there seemed to be very little interest
in it so it has stayed where it is and hasn't been used anywhere else.
I think having a database is useful. I think there was resistance to having
all the monitoring depend on a database.
I think that at quite a few sites a database is used to generate the
xymon configuration files, thus using a database for monitoring purposes
is perhaps not an such a big issue. In my case, the use of an additional
database for monitoring only is not feasible.  There is a database, used
by many applications, maintained by a lot of people, which I should use
for the monitoring application as well. There must be some real benefits
in order to justify the (partial)  duplication of information and the
additional maintenance efforts.
Regards,
  Wim Nelis.

*******************************************************************************************************
The NLR disclaimer (http://www.nlr.nl/emaildisclaimer) is valid for NLR e-mail messages.
*******************************************************************************************************