Xymon Mailing List Archive search

Lists hosts on subpage using CLI

5 messages in this thread

list Asif Iqbal · Tue, 12 Sep 2006 13:36:18 -0400 ·
Is there a way list all the hosts on a subpage from cli?

-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
list Henrik Størner · Tue, 12 Sep 2006 21:58:57 +0200 ·
quoted from Asif Iqbal
On Tue, Sep 12, 2006 at 01:36:18PM -0400, Asif Iqbal wrote:
Is there a way list all the hosts on a subpage from cli?
bb 127.0.0.1 "hobbitdboard page=mypage/mysubpage fields=hostname test=info"


Regards,
Henrik
list Asif Iqbal · Tue, 12 Sep 2006 16:52:16 -0400 ·
awesome. Thanks a lot
quoted from Henrik Størner

On 9/12/06, Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:
On Tue, Sep 12, 2006 at 01:36:18PM -0400, Asif Iqbal wrote:
Is there a way list all the hosts on a subpage from cli?
bb 127.0.0.1 "hobbitdboard page=mypage/mysubpage fields=hostname
test=info"


Regards,
Henrik

-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
list Michael A. Price · Wed, 13 Sep 2006 09:24:21 -0400 ·
All,

I have my Hobbit set to poll the hosts every 5 minutes, but I have a case where I want to run a test and want a single host to be polled every 5 seconds is that possible??

I want to have a   conn and http test poll a single server every 5 seconds, but i want the other devices to be on the regular schedule of 5 minutes.


any ideas??

thanx, michael


Michael A. Price
Performance Network Engineering
NASA/GSFC Code 440.8/LMB
Greenbelt, Maryland 20770
            Phone:  XXX-XXX-XXXX
            Cell:   XXX-XXX-XXXX
            e-mail: user-2a9e3c790857@xymon.invalid
list Francesco Duranti · Wed, 13 Sep 2006 16:08:14 +0200 ·
You can tag that host in the bb-hosts with NET:location and then add another bbtest-net running every 5 seconds and with $BBLOCATION defined to the same "location" tag defined in the bb-hosts file.


from man bb-hosts

NETWORK TEST SETTINGS
NET:location
This tag defines the host as being tested from a specific location. If bbtest-net sees that the environ-
ment variable BBLOCATION is set, it will only test the hosts that have a matching "NET:location" tag in the
bb-hosts file. So this tag is useful if you have more than one BBNET system, but you still want to keep a
consolidated bb-hosts file for all your systems.
Note: The "--test-untagged" option modifies this behaviour, see bbtest-net(1)

from man bbtest-net

USING MULTIPLE NETWORK TEST SYSTEMS
If you have more than one system running network tests - e.g. if your network is separated by firewalls - then is
is problematic to maintain multiple bb-hosts files for each of the systems. bbtest-net supports the NET:location
tag in bb-hosts(5) to distinguish between hosts that should be tested from different network locations. If you set
the environment variable BBLOCATION e.g. to "dmz" before running bbtest-net, then it will only test hosts that
have a "NET:dmz" tag in bb-hosts. This allows you to keep all of your hosts in the same bb-hosts file, but test
different sets of hosts by different BBNET systems.


Francesco



Da: Michael A. Price [mailto:user-2a9e3c790857@xymon.invalid]
Inviato: mer 13/09/2006 15.24
A: user-ae9b8668bcde@xymon.invalid
Oggetto: [hobbit] Ping/URl Get Test

quoted from Michael A. Price

All,

I have my Hobbit set to poll the hosts every 5 minutes, but I have a
case where I want to run a test and want a single host to be polled
every 5 seconds is that possible??

I want to have a conn and http test poll a single server every 5
seconds, but i want the other devices to be on the regular schedule of 5
minutes.

any ideas??

thanx, michael

Michael A. Price
Performance Network Engineering
NASA/GSFC Code 440.8/LMB
Greenbelt, Maryland 20770
Phone: XXX-XXX-XXXX
Cell: XXX-XXX-XXXX
e-mail: user-2a9e3c790857@xymon.invalid
----------------------------------------------

To unsubscribe from the hobbit list, send an e-mail to
user-095ef1c764a2@xymon.invalid