![](https://secure.gravatar.com/avatar/b63b734c0c9863dc40923d5c920a8a00.jpg?s=120&d=mm&r=g)
Hi all,
We've recently added the DPKG agent to some of our Debian hosts so that we can keep on top of what's up-to-date and what isn't. So far it's been quite helpful, except I have one small niggle with it, the way that it lists the version orders of the packages.
See below:
The nginx version on the above are listed in the order of: 1.8.0 1.8.1 1.9.11 1.9.12 1.9.14 1.9.15 1.9.5 1.9.9
Where if they were listed in version order they would be listed: 1.8.0 1.8.1 1.9.5 1.9.9 1.9.11 1.9.12 1.9.14 1.9.15
Is there anyway that this can be worked around, or is there any plan to implement a fix?
Thanks, Alex.
![](https://secure.gravatar.com/avatar/eece35488ccb927fb242176d3a8622f0.jpg?s=120&d=mm&r=g)
Ahh string sorting vs numerical sorting. On May 17, 2016 9:37 AM, "Alex Winder ( M5i Limited )" alex@m5i.uk wrote:
Hi all,
We've recently added the DPKG agent to some of our Debian hosts so that we can keep on top of what's up-to-date and what isn't. So far it's been quite helpful, except I have one small niggle with it, the way that it lists the version orders of the packages.
See below:
The nginx version on the above are listed in the order of: 1.8.0 1.8.1 1.9.11 1.9.12 1.9.14 1.9.15 1.9.5 1.9.9
Where if they were listed in version order they would be listed: 1.8.0 1.8.1 1.9.5 1.9.9 1.9.11 1.9.12 1.9.14 1.9.15
Is there anyway that this can be worked around, or is there any plan to implement a fix?
Thanks, Alex.
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (2)
-
Alex Winder ( M5i Limited )
-
Spencer Ryan