[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xymon] sort hosts in group



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/>