Xymon Mailing List Archive search

sort hosts in group

7 messages in this thread

list Asif Iqbal · Fri, 1 Oct 2010 12:17:47 -0400 ·
It would be nice if the hosts within the group can be displayed in
alphanumerically sorted.

bbgen has a option to sort the test names using
`--sort-group-only-items'. Would be nice if there is a
switch for hosts as well. So no matter how you entered the hosts in
bb-hosts file, the display will
always show them in sorted.


-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
list Rob McBroom · Fri, 1 Oct 2010 13:02:36 -0400 ·
quoted from Asif Iqbal
On Oct 1, 2010, at 12:17 PM, Asif Iqbal wrote:
bbgen has a option to sort the test names using
`--sort-group-only-items'. Would be nice if there is a
switch for hosts as well. So no matter how you entered the hosts in
bb-hosts file, the display will
always show them in sorted.
Not that this will work for everyone, but almost all of my hosts are in `bb-hosts.automatic` which is included by `bb-hosts`. The file is programmatically generated (from a list of systems in LDAP) and as a result, they're always sorted alphabetically.

-- 
Rob McBroom
<http://www.skurfer.com/>;
list Henrik Størner · Fri, 1 Oct 2010 17:38:10 +0000 (UTC) ·
quoted from Asif Iqbal
In <AANLkTikh85tBt7_Nbx68X4P0QhkdfXMUbXJZ=user-c09af7276d40@xymon.invalid> Asif Iqbal <user-6f4b51ac2a40@xymon.invalid> writes:
It would be nice if the hosts within the group can be displayed in
alphanumerically sorted.
In 4.3.0, there's "group-sorted" for this very purpose.


Regards,
Henrik
list Asif Iqbal · Fri, 1 Oct 2010 13:55:49 -0400 ·
quoted from Henrik Størner
On Fri, Oct 1, 2010 at 1:38 PM, Henrik Størner <user-ce4a2c883f75@xymon.invalid> wrote:
In <AANLkTikh85tBt7_Nbx68X4P0QhkdfXMUbXJZ=user-c09af7276d40@xymon.invalid> Asif Iqbal <user-6f4b51ac2a40@xymon.invalid> writes:
It would be nice if the hosts within the group can be displayed in
alphanumerically sorted.
In 4.3.0, there's "group-sorted" for this very purpose.
sweet! thanks a lot
Regards,
Henrik
quoted from Asif Iqbal

-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
list Cade Robinson · Wed, 6 Oct 2010 14:03:58 -0500 ·
What process is this an option for?
I tried to put it on bbgen and it errored.

-----Original Message-----
From: Henrik Størner <user-ce4a2c883f75@xymon.invalid> [mailto:=?ISO-8859-1?Q?Henrik_
St=F8rner _<user-ce4a2c883f75@xymon.invalid>?=] 
Sent: Friday, October 01, 2010 12:38 PM
To: xymon at xymon.com
Subject: Re: [xymon] sort hosts in group
quoted from Asif Iqbal

In <AANLkTikh85tBt7_Nbx68X4P0QhkdfXMUbXJZ=user-c09af7276d40@xymon.invalid> Asif Iqbal
<user-6f4b51ac2a40@xymon.invalid> writes:
It would be nice if the hosts within the group can be displayed in
alphanumerically sorted.
In 4.3.0, there's "group-sorted" for this very purpose.


Regards,
Henrik
list Daniel Nordquist · Wed, 6 Oct 2010 15:12:47 -0400 ·
Man bbgen, look for --sort-group-only-items

Not sure if this is what you need but it does sort tests alphabetically.
quoted from Cade Robinson


-----Original Message-----
From: Cade Robinson [mailto:user-a187bb1b921c@xymon.invalid]
Sent: Wednesday, October 06, 2010 3:04 PM
To: xymon at xymon.com
Subject: RE: [xymon] sort hosts in group

What process is this an option for?
I tried to put it on bbgen and it errored.

-----Original Message-----
From: Henrik Størner <user-ce4a2c883f75@xymon.invalid> [mailto:=?ISO-8859-1?Q?Henrik_
St=F8rner _<user-ce4a2c883f75@xymon.invalid>?=]
Sent: Friday, October 01, 2010 12:38 PM
To: xymon at xymon.com
Subject: Re: [xymon] sort hosts in group

In <AANLkTikh85tBt7_Nbx68X4P0QhkdfXMUbXJZ=user-c09af7276d40@xymon.invalid> Asif Iqbal
<user-6f4b51ac2a40@xymon.invalid> writes:
It would be nice if the hosts within the group can be displayed in
alphanumerically sorted.
In 4.3.0, there's "group-sorted" for this very purpose.


Regards,
Henrik


This e-mail message and any attached files are confidential and are intended solely for the use of the addressee(s) named above. If you are not the intended recipient, any review, use, or distribution of this e-mail message and any attached files is strictly prohibited.

This communication may contain material protected by Federal privacy regulations, attorney-client work product, or other privileges. If you have received this confidential communication in error, please notify the sender immediately by reply e-mail message and permanently delete the original message.  To reply to our email administrator directly, send an email to:  user-40803320aaf5@xymon.invalid .

If this e-mail message concerns a contract matter, be advised that no employee or agent is authorized to conclude any binding agreement on behalf of Orlando Health by e-mail without express written confirmation by an officer of the corporation. Any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Orlando Health.
list Cade Robinson · Wed, 6 Oct 2010 14:25:16 -0500 ·
Found it.
It is a bb-hosts tag - not a bbgen command option
quoted from Daniel Nordquist

-----Original Message-----
From: Nordquist, Daniel [mailto:user-b7c65cb59f49@xymon.invalid] 
Sent: Wednesday, October 06, 2010 2:13 PM
To: xymon at xymon.com
Subject: RE: [xymon] sort hosts in group

Man bbgen, look for --sort-group-only-items

Not sure if this is what you need but it does sort tests alphabetically.


-----Original Message-----
From: Cade Robinson [mailto:user-a187bb1b921c@xymon.invalid]
Sent: Wednesday, October 06, 2010 3:04 PM
To: xymon at xymon.com
Subject: RE: [xymon] sort hosts in group

What process is this an option for?
I tried to put it on bbgen and it errored.

-----Original Message-----
From: Henrik Størner <user-ce4a2c883f75@xymon.invalid> [mailto:=?ISO-8859-1?Q?Henrik_
St=F8rner _<user-ce4a2c883f75@xymon.invalid>?=]
Sent: Friday, October 01, 2010 12:38 PM
To: xymon at xymon.com
Subject: Re: [xymon] sort hosts in group

In <AANLkTikh85tBt7_Nbx68X4P0QhkdfXMUbXJZ=user-c09af7276d40@xymon.invalid> Asif Iqbal
<user-6f4b51ac2a40@xymon.invalid> writes:
It would be nice if the hosts within the group can be displayed in
alphanumerically sorted.
In 4.3.0, there's "group-sorted" for this very purpose.


Regards,
Henrik


This e-mail message and any attached files are confidential and are intended
solely for the use of the addressee(s) named above. If you are not the
intended recipient, any review, use, or distribution of this e-mail message
and any attached files is strictly prohibited.

This communication may contain material protected by Federal privacy
regulations, attorney-client work product, or other privileges. If you have
received this confidential communication in error, please notify the sender
immediately by reply e-mail message and permanently delete the original
message.  To reply to our email administrator directly, send an email to:
user-40803320aaf5@xymon.invalid .

If this e-mail message concerns a contract matter, be advised that no
employee or agent is authorized to conclude any binding agreement on behalf
of Orlando Health by e-mail without express written confirmation by an
officer of the corporation. Any views or opinions presented in this e-mail
are solely those of the author and do not necessarily represent those of
Orlando Health.