[xymon] sort hosts in group

Rob McBroom mailinglist0 at skurfer.com
Fri Oct 1 19:02:36 CEST 2010


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





More information about the Xymon mailing list