Xymon Mailing List Archive search

Same host 2x in bb-hosts file: 1 for "servers" 1 for services.. How?

list Ralph Mitchell
Mon, 27 Apr 2009 14:36:38 -0500
Message-Id: <user-87a32ba61228@xymon.invalid>

On Mon, Apr 27, 2009 at 2:23 PM, William Ottley <user-432013e2e0c6@xymon.invalid>wrote:
Hi all,

One last question here...
I'm trying to structure my page, so that I have 3 areas to test for:
Servers, services & routers/switches/firewall
I'd like to have all the servers listed under the page "servers", with all
the basic xymon client tests.

I'd like to have all the services under another page "services", with
apache, ftp, mysql, etc.

What I came to realize, is that I get an error, because there are 2 host
entries in the bb-hosts file. On top of that, I'd only like to show just
that test for that server, such as "apache", without showing all the other
standard client tests such as "cpu, disk, files"

I looked at the demo site, and I have a bb-hosts file for:
"172.16.10.2     www.hswn.dk"
And setup a client like that, but it comes up with all the standard client
tests.

Can someone point me to documentation that shows how to set up the tests
this way? examples?

Take a look at the bb-hosts man page - the thing you want is probably
"group-only", as in:

   group-only conn|cpu|disk|files
   a.b.c.d server.domain.com

   group-only apache
   0.0.0.0 server.domain.com # noconn

Group names are optional.  If given, they show at the top of the hostname
column.

Ralph Mitchell