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.