Hi,
are you sure? I thought it' sorted by the hostname. So sorting by
putting numbers in front of the hostnames (r01_main_router,
s01_core_switch, ...) is already possible.
/Gerd=20
Am Do, den 13.01.2005 schrieb Joe Pruett um 22:53:
> i'd like to affect the layout of things in the circular layout. i've bee=
n=20
> looking at the code and i see that it just uses the order that things are=
=20
> sorted by the config reading code. that got me to thinking that i'd like=
=20
> to be able to group things (routers first, switches, servers, hosts, etc)=
=20
> without splitting everything up into hostgroups. and that got me to=20
> thinking that maybe it would be nice to have a data value for objects to=20
> allow sorting to be affected. i was thinking that just a simple integer=20
> value that would take precedence over the main string name. a missing=20
> value would sort at the beginning (like a 0) and equal int values would=20
> then use the string. so putting all switches at level 10 and servers at=20
> level 20 would do the right thing.
>=20
> does this sound like a useful/interesting idea? it doesn't look like it=20
> should touch too much code.
>=20
> ps: i've made patches that fix some of the layout issues with multiple=20
> parents. i'll be sending that along soon.
>=20
>=20
>=20
> -------------------------------------------------------
> The SF.Net email is sponsored by: Beat the post-holiday blues
> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
> _______________________________________________
> Nagios-devel mailing list
> Nagios-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/lis ... gios-devel
Mit freundlichen Gr=FC=DFen aus N=FCrnberg,
Gerd M=FCller
--=20
Gerd M=FCller NETWAYS GmbH
Senior Systems Engineer Deutschherrnstr. 47a
Fon.0911/92885-0 D-90429 N=FCrnberg
Fax.0911/92885-33
gmueller@netways.de http://www.netways.de =20
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: gmueller@netways.de