[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [xymon] sort hosts in group
- To: xymon (at) xymon.com
- Subject: Re: [xymon] sort hosts in group
- From: Rob McBroom <mailinglist0 (at) skurfer.com>
- Date: Fri, 1 Oct 2010 13:02:36 -0400
- References: <AANLkTikh85tBt7_Nbx68X4P0QhkdfXMUbXJZ=q6B9gh3 (at) mail.gmail.com>
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/>