Xymon Mailing List Archive search

Number of hosts being monitored

5 messages in this thread

list Phil Wild · Sun, 18 May 2008 01:43:52 +0800 ·
Hi people,

What would be the best method of getting a list of all unique systems being
monitored by hobbit?

I first thought bbhostgrep might be useful but that will only return hosts
for a specific test type of which there is none that applies to all systems.
bbhostshow gives me the entire combined list, I could process this to
extract all known hosts
The other option would be to process the output of bb server hobbitdboard
(e.g. | cut -f1 -d"|" | sort -u)

Would anyone have a better solution?

Many thanks

Phil

-- 
Tel: XXXX XXX XXX
Fax: XXXX XXX XXX
email: user-e365c1418192@xymon.invalid
list Josh Luthman · Sat, 17 May 2008 13:56:24 -0400 ·
Click bbtest.  First line under statistics.

Occom's razor :)
quoted from Phil Wild


On 5/17/08, Phil Wild <user-e365c1418192@xymon.invalid> wrote:
Hi people,

What would be the best method of getting a list of all unique systems being
monitored by hobbit?

I first thought bbhostgrep might be useful but that will only return hosts
for a specific test type of which there is none that applies to all systems.
bbhostshow gives me the entire combined list, I could process this to
extract all known hosts
The other option would be to process the output of bb server hobbitdboard
(e.g. | cut -f1 -d"|" | sort -u)

Would anyone have a better solution?

Many thanks

Phil

--
Tel: XXXX XXX XXX
Fax: XXXX XXX XXX
email: user-e365c1418192@xymon.invalid
-- 

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

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
list Phil Wild · Sun, 18 May 2008 10:34:03 +0800 ·
Thanks Josh,

Actually - my subject line is wrong, sorry. I am chasing a full list of all
machine names being monitored...

Cheers


2008/5/18 Josh Luthman <user-4c45a83f15cb@xymon.invalid>:
quoted from Josh Luthman
Click bbtest.  First line under statistics.

Occom's razor :)


On 5/17/08, Phil Wild <user-e365c1418192@xymon.invalid> wrote:
Hi people,

What would be the best method of getting a list of all unique systems
being
monitored by hobbit?

I first thought bbhostgrep might be useful but that will only return
hosts
for a specific test type of which there is none that applies to all
systems.
bbhostshow gives me the entire combined list, I could process this to
extract all known hosts
The other option would be to process the output of bb server hobbitdboard
(e.g. | cut -f1 -d"|" | sort -u)

Would anyone have a better solution?

Many thanks

Phil

--
Tel: XXXX XXX XXX
Fax: XXXX XXX XXX
email: user-e365c1418192@xymon.invalid
--
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer

-- 
Tel: XXXX XXX XXX
Fax: XXXX XXX XXX
email: user-e365c1418192@xymon.invalid
list Paul Krash · Sat, 17 May 2008 22:05:55 -0500 ·
If you are using linux, netstat -a will list all network connections.

Pipe it to grep for port 10000,
That will give you a good list.

e.g. netstat -a | grep 10000

Best,

Pkr45h
quoted from Phil Wild

----- Original Message -----
From: Phil Wild <user-e365c1418192@xymon.invalid>
To: user-ae9b8668bcde@xymon.invalid <user-ae9b8668bcde@xymon.invalid>
Sent: Sat May 17 21:34:03 2008
Subject: Re: [hobbit] Number of hosts being monitored

Thanks Josh,

Actually - my subject line is wrong, sorry. I am chasing a full list of all machine names being monitored...

Cheers


2008/5/18 Josh Luthman <user-4c45a83f15cb@xymon.invalid>:


	Click bbtest.  First line under statistics.
	
	Occom's razor :)
	

	On 5/17/08, Phil Wild <user-e365c1418192@xymon.invalid> wrote:
Hi people,

What would be the best method of getting a list of all unique systems being
monitored by hobbit?

I first thought bbhostgrep might be useful but that will only return hosts
for a specific test type of which there is none that applies to all systems.
bbhostshow gives me the entire combined list, I could process this to
extract all known hosts
The other option would be to process the output of bb server hobbitdboard
(e.g. | cut -f1 -d"|" | sort -u)

Would anyone have a better solution?

Many thanks

Phil

--
Tel: XXXX XXX XXX
Fax: XXXX XXX XXX
email: user-e365c1418192@xymon.invalid
	
	--
	Josh Luthman
	Office: XXX-XXX-XXXX
	Direct: XXX-XXX-XXXX
	XXXX Wayne St
	Suite XXXX
	Troy, OH XXXXX
	
	Those who don't understand UNIX are condemned to reinvent it, poorly.
	--- Henry Spencer
	
	
-- 
Tel: XXXX XXX XXX
Fax: XXXX XXX XXX
email: user-e365c1418192@xymon.invalid
 

This e-mail and any documents accompanying it may contain legally privileged and/or confidential information belonging to Exegy, Inc. Such information may be protected from disclosure by law. The information is intended for use by only the addressee. If you are not the intended recipient, you are hereby notified that any disclosure or use of the information is strictly prohibited. If you have received this e-mail in error, please immediately contact the sender by e-mail or phone regarding instructions for return or destruction and do not use or disclose the content to others.
list Geoff Hallford · Thu, 29 May 2008 13:46:24 -0400 ·
Just go the main hobbit webpage (base page). Then click 'Reports' > 'Config
Reports'. It will give you a total count and a list of every hosts (space
delimited) that is in your bb-hosts file.
quoted from Paul Krash


On Sat, May 17, 2008 at 11:05 PM, Krash, Paul <user-3e9d978365e3@xymon.invalid> wrote:
  If you are using linux, netstat -a will list all network connections.

Pipe it to grep for port 10000,
That will give you a good list.

e.g. netstat -a | grep 10000

Best,

Pkr45h


----- Original Message -----
From: Phil Wild <user-e365c1418192@xymon.invalid>
To: user-ae9b8668bcde@xymon.invalid <user-ae9b8668bcde@xymon.invalid>
Sent: Sat May 17 21:34:03 2008
Subject: Re: [hobbit] Number of hosts being monitored

Thanks Josh,

Actually - my subject line is wrong, sorry. I am chasing a full list of all
machine names being monitored...

Cheers


2008/5/18 Josh Luthman <user-4c45a83f15cb@xymon.invalid>:


        Click bbtest.  First line under statistics.

        Occom's razor :)


        On 5/17/08, Phil Wild <user-e365c1418192@xymon.invalid> wrote:
Hi people,

What would be the best method of getting a list of all unique
systems being
monitored by hobbit?

I first thought bbhostgrep might be useful but that will only
return hosts
for a specific test type of which there is none that applies to
all systems.
bbhostshow gives me the entire combined list, I could process
this to
extract all known hosts
The other option would be to process the output of bb server
hobbitdboard
(e.g. | cut -f1 -d"|" | sort -u)

Would anyone have a better solution?

Many thanks

Phil

--
Tel: XXXX XXX XXX
Fax: XXXX XXX XXX
email: user-e365c1418192@xymon.invalid
        --
        Josh Luthman
        Office: XXX-XXX-XXXX
        Direct: XXX-XXX-XXXX
        XXXX Wayne St
        Suite XXXX
        Troy, OH XXXXX

        Those who don't understand UNIX are condemned to reinvent it,
poorly.
        --- Henry Spencer

        
--
Tel: XXXX XXX XXX
Fax: XXXX XXX XXX
email: user-e365c1418192@xymon.invalid

 **
This e-mail and any documents accompanying it may contain legally
privileged and/or confidential information belonging to Exegy, Inc. Such
information may be protected from disclosure by law. The information is
intended for use by only the addressee. If you are not the intended
recipient, you are hereby notified that any disclosure or use of the
information is strictly prohibited. If you have received this e-mail in
error, please immediately contact the sender by e-mail or phone regarding
instructions for return or destruction and do not use or disclose the
content to others.
-- 

'If my answers frighten you then you should cease asking scary questions.'
--Sam Jackson