Help, graph template duplicate sequence numbers

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Moderators, Developers

Post Reply
Author
Message
aaww01
Posts: 1
Joined: Fri Dec 20, 2019 9:56 am

Help, graph template duplicate sequence numbers

#1 Post by aaww01 » Fri Dec 20, 2019 10:33 am

Hi,
I installed 1.2.7 from scratch and immediately upgraded to 1.2.8, so there was no data in the system other than the local system which is created by default.
I added a number of switches using the bits/sec 95th template, and immediately started getting some odd looking text areas in the bottom of the graphs (see example below).
I've tracked the problem down to an issue in the graph template, namely an issue with the graph item # as shown in the GUI and the sequence number in the database.
It appears as if the graph item # in the GUI is simply an incrementing counter as opposed to the sequence number which should be linear representing the order in which the elements should appear, yet there are duplicate sequence numbers consequently messing up the order in which items are appearing.

Below is the csv output of graph_templates_item table for the example graph, sequence number is the last element. You can see duplicates for 5, 6, 7, 12, and then gaps between 15 and 19, 19 and 21.
The misformatting in the graph I believe is happening because the order in which the elements are processed is inconsistent given that several have identical sequence numbers.

Is this a bug or something else, and is there a way to re-index the sequence numbers sanely?

Thanks!

"5377","","357","306","41","818","22","FF","4","1.00","","0","2","0","","3","","","","","2","1"
"5378","","358","306","41","818","22","7F","7","0.00","","0","2","0","","1","","Inbound","","","2","2"
"5379","","359","306","41","818","0","FF","9","0.00","","0","2","0","","4","","Current:","","","2","3"
"5380","","360","306","41","818","0","FF","9","0.00","","0","2","0","","1","","Average:","","","2","4"
"5381","","361","306","41","818","0","FF","9","0.00","","0","2","0","","3","","Maximum:","","on","2","5"
"5382","","2635","306","41","818","0","FF","1","0.00","","0","0","0","","1","","Transfer: |sum:auto:current:2:auto|","","","2","5"

"5384","","2636","306","41","818","12","FF","2","0.00","","0","0","0","","1","","95%:","|95:bits:0:current|","","2","6"
"5385","","362","306","41","819","20","FF","4","1.00","","0","2","0","","3","","","","","2","6"
"5383","","363","306","41","819","20","FF","4","0.00","","0","2","0","","1","","Outbound","","","2","7"
"5387","","2637","306","41","818","0","FF","1","0.00","","0","0","0","","1","","|95:bits:6:current| mbit","","on","2","7"
"5386","","364","306","41","819","0","FF","9","0.00","","0","2","0","","4","","Current:","","","2","8"
"5388","","365","306","41","819","0","FF","9","0.00","","0","2","0","","1","","Average:","","","2","9"
"5389","","366","306","41","819","0","FF","9","0.00","","0","2","0","","3","","Maximum:","","on","2","10"
"5390","","367","306","41","0","0","FF","1","0.00","","0","0","0","","1","","","","on","2","11"
"5391","","368","306","41","819","9","FF","2","0.00","","0","0","0","","1","","95th Percentile","|95:bits:0:max:2|","","2","12"
"5393","","2638","306","41","0","102","FF","7","0.00","","0","23","0","","1","","","","","2","12"
"5392","","369","306","41","819","0","FF","1","0.00","","0","0","0","","1","","(|95:bits:6:max:2| mbit in+out)","","","2","13"
"5394","","2639","306","41","819","0","FF","1","0.00","","0","0","0","","1","","Transfer: |sum:auto:current:2:auto|","","","2","14"
"5395","","2640","306","41","819","21","FF","2","0.00","","0","0","0","","1","","95%:","|95:bits:0:current|","","2","15"
"5396","","2641","306","41","0","0","FF","1","0.00","","0","12","0","","1","","|95:bits:6:total:2| mbit","","","2","19"
"5397","","2642","306","41","0","0","FF","1","0.00","","0","0","0","","1","","Total Transfer: |sum:auto:total:2:auto|","","on","2","21"
Attachments
template.png
template.png (59.22 KiB) Viewed 699 times
graph-bad.png
graph-bad.png (37.99 KiB) Viewed 699 times

Post Reply