Xymon Mailing List Archive search

{Disarmed} Re: [hobbit] Same host 2x in bb-hosts file: 1 for "servers" 1 for services.. How?

list Ralph Mitchell
Mon, 27 Apr 2009 16:00:22 -0500
Message-Id: <user-8da8dc287953@xymon.invalid>

There's no reason not to spread those different "group-only" blocks over
several pages.  I have exactly that on a Xymon server watching some F5 BigIP
groups.  A bunch of the hostnames occur in different pools, so those are
duplicated in different sub-pages.
Ralph Mitchell


On Mon, Apr 27, 2009 at 3:43 PM, Michael Faraci <user-e11f38a783c6@xymon.invalid> wrote:
 Look closely at Ralph’s example.


*Michael Faraci***

Network/Systems Administrator

ALC

3305 N. 3rd St.

Suite 301

Abilene, Texas 79603

(325)672-7081 x4

fax (325)672-7082

*From:* William Ottley [mailto:user-432013e2e0c6@xymon.invalid]
*Sent:* Monday, April 27, 2009 2:54 PM
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* [hobbit] {Disarmed} Re: [hobbit] Same host 2x in bb-hosts file:
1 for "servers" 1 for services.. How?


Hi Ralph,

From what you suggest, it would create tables for those specific tests, on
that 1 page only.
BUT, from what I see, you still can’t have duplicate host entries in the
bb-hosts file.
I’ll put in my bb-hosts file with  the example of what I’m trying to
create.

The error I get is for the “amtco server”

1 page that is for all generic tests,
1 page for specific services
1 page for routers/firewall,
All under the main page....

xxx.xxx.xxx.xxx  centos          # bbd http://centos/ apache

page servers Servers
group-compress <H3><I>Solaris, Linux:</I></H3>
xxx.xxx.xxx.xxx solaris10       # *MailScanner warning: numerical links
are often malicious:* http://10.136.xxx.xxx/ <http://10.136.xxx.xxx/>;
xxx.xxx.xxx.xxx dashoyva         #
group-compress <H3><I>Windows:</I></H3>
xxx.xxx.xxx.xxx  amtco           #
xxx.xxx.xxx.xxx fileserver       #
xxx.xxx.xxx.xxx test             #
xxx.xxx.xxx.xxx avayaphone       #
group-compress <H3><I>Mac:</I></H3>
xxx.xxx.xxx.xxx C20557-wottley.local              #
xxx.xxx.xxx.xxx ns1.cmicanada.com                #
xxx.xxx.xxx.xxx intranet.cmicanada.com           #
xxx.xxx.xxx.xxx scheduling.cmicanada.com         #

page serices Services
group-compress <H3><I>Services:</I></H3>
group-compress <font size="+1">Web</font>
xxx.xxx.xxx.xxx  amtco           # portal.cmicanada.com apache
TRENDS:*,apache:apache|apache1|apache2|apache3
group-compress <font size="+1">FTP</font>
xxx.xxx.xxx.xxx fileserver       # ftp

page switches Switches, Routers, Firewall
group-compress <H3><I>Switches, Routers, Firewall:</I></H3>
xxx.xxx.xxx.xxx  switch-233      # DEVMON:model(cisco;2960)
xxx.xxx.xxx.xxx router-main        # DEVMON:model(cisco;2600),cid(aaaa)
xxx.xxx.xxx.xxx firewall         # DEVMON:model(cisco;asa),cid(aaaa)

--
This message has been scanned for dangerous content by *MailScanner*<http://www.mailscanner.info/>;,
and is believed to be clean.