Page 1 of 1
'Service' column sort order
Posted: Tue May 27, 2014 2:20 am
by Professor Balthazar
New CPU/processors today have more then 9/10 Core's and they are often associated with a thred.
Is there any way to change sort order and get a correct "alpha-numerical-sort"?
We have applications up to 16 Core's, see the issue attached below.
Correct sort order would be:
Core_0
Core_1
Core_2
Core_3
Core_4
Core_8
Core_9
Core_10
Core_11
Core_12
The Core's numbering is from Linux Sensors/Lm_sensors with threds acrivated.
Re: 'Service' column sort order
Posted: Tue May 27, 2014 5:51 am
by rajesh.mehra
Change First letter of Server Description below.
1_Core
2_Core
3_Core
Rajesh Mehra
Re: 'Service' column sort order
Posted: Tue May 27, 2014 9:38 am
by tmcdonald
Technically the order it is displayed in currently is alpha-numeric, though maybe not how humans would order it. I would change it to "01", "02" ... "09", "10", "11" etc. The leading 0 should help.
Re: 'Service' column sort order
Posted: Wed May 28, 2014 10:00 am
by Professor Balthazar
There are more and more sensors in newer equipment and all this takes to much space in the service window. 10/12 cores and it's already too much to see.
I have written a new plugin for sensors (lmsensors) and will display all info/values in one singel row. All graphs in same window feels nice.
See attached jpg.
Re: 'Service' column sort order
Posted: Wed May 28, 2014 10:14 am
by tmcdonald
Very nice! Is that something you would want to upload to our Exchange?
Re: 'Service' column sort order
Posted: Tue Oct 21, 2014 6:50 am
by Professor Balthazar
I have an other question about the Status Information line. Is it possible to make it 20 characters longer?
The line is to short for 12 core's with threads and temperature. (see below)
Re: 'Service' column sort order
Posted: Tue Oct 21, 2014 5:24 pm
by tmcdonald
I believe this would be a change to the database backend itself:
Code: Select all
echo "use nagios; ALTER TABLE nagios_servicestatus MODIFY output VARCHAR(65536);" | mysql -u root -pnagiosxi