tweaking the order of sorting in nagios lists: numeric rather than alphabetical

Rahul Nabar rpnabar at gmail.com
Wed Jan 21 07:00:23 CET 2009


Is there a way to tweak the manner in which nagios sorts the names of hosts
in the "Service Status Details"? I have hosts named star01, star02 and so on
all the way through star256 and nagios insists on sortin these like so:

star10
star101
star102
[snip]
star119
star12

etc.

Can I make the numbers sort in a numeric order rather than a strict
"alphabetical" order?

-- 
Rahul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090121/9c009a54/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list