Xymon Mailing List Archive search

sort hosts in group

list Rob McBroom
Fri, 1 Oct 2010 13:02:36 -0400
Message-Id: <user-bfa59af14909@xymon.invalid>

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