Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Thu Mar 30, 2017 5:40 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Sort IP address by its numerical order
PostPosted: Fri Sep 11, 2015 6:03 am 
Offline

Joined: Wed Aug 26, 2015 3:46 am
Posts: 9
Attached is a patched version of the excellent mactrack plugin for files mactrack_view_macs.php and mactrack_view_arp.php files which will change the sorting order of the "ED IP Address" column (and on the IP tab also the hostname) to be true number order instead of text order.
It just uses the MySQL function INET_ATON in the order by part of the select query clause to make the adjustment so it might be MySQL version dependant mine is 5.5.
From mactrack plugin V2.9 cacti 0.8.8f


Attachments:
SortOrdering.zip [12.33 KiB]
Downloaded 53 times
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group