Hi all,
I was facing some issues with observium and 16x10GE LAGs, where RRD would flip the finger on me. I propose we let the RRDs accept up to a terabit/sec instead of the current 100gigabit/sec limit. In a year or so we can up it again. :-) (or make it a configurable option!)
BTW: If you currently have ports which go over 100GE you need to use 'rrdtool dump' -> edit xml file and change "1.2500000000e+10" to "1.2500000000e+11" and then use 'rrdtool restore' to get the XML back into RRD format.
root@observium:/opt/observium# diff includes/polling/ports.inc.php.orig includes/polling/ports.inc.php 339,353c339,353 < DS:INOCTETS:DERIVE:600:0:12500000000 \ < DS:OUTOCTETS:DERIVE:600:0:12500000000 \ < DS:INERRORS:DERIVE:600:0:12500000000 \ < DS:OUTERRORS:DERIVE:600:0:12500000000 \ < DS:INUCASTPKTS:DERIVE:600:0:12500000000 \ < DS:OUTUCASTPKTS:DERIVE:600:0:12500000000 \ < DS:INNUCASTPKTS:DERIVE:600:0:12500000000 \ < DS:OUTNUCASTPKTS:DERIVE:600:0:12500000000 \ < DS:INDISCARDS:DERIVE:600:0:12500000000 \ < DS:OUTDISCARDS:DERIVE:600:0:12500000000 \ < DS:INUNKNOWNPROTOS:DERIVE:600:0:12500000000 \ < DS:INBROADCASTPKTS:DERIVE:600:0:12500000000 \ < DS:OUTBROADCASTPKTS:DERIVE:600:0:12500000000 \ < DS:INMULTICASTPKTS:DERIVE:600:0:12500000000 \ < DS:OUTMULTICASTPKTS:DERIVE:600:0:12500000000 ".$config['rrd_rra']); ---
DS:INOCTETS:DERIVE:600:0:125000000000 \ DS:OUTOCTETS:DERIVE:600:0:125000000000 \ DS:INERRORS:DERIVE:600:0:125000000000 \ DS:OUTERRORS:DERIVE:600:0:125000000000 \ DS:INUCASTPKTS:DERIVE:600:0:125000000000 \ DS:OUTUCASTPKTS:DERIVE:600:0:125000000000 \ DS:INNUCASTPKTS:DERIVE:600:0:125000000000 \ DS:OUTNUCASTPKTS:DERIVE:600:0:125000000000 \ DS:INDISCARDS:DERIVE:600:0:125000000000 \ DS:OUTDISCARDS:DERIVE:600:0:125000000000 \ DS:INUNKNOWNPROTOS:DERIVE:600:0:125000000000 \ DS:INBROADCASTPKTS:DERIVE:600:0:125000000000 \ DS:OUTBROADCASTPKTS:DERIVE:600:0:125000000000 \ DS:INMULTICASTPKTS:DERIVE:600:0:125000000000 \ DS:OUTMULTICASTPKTS:DERIVE:600:0:125000000000 ".$config['rrd_rra']);
root@observium:/opt/observium#
Kind regards,
Job Snijders
Ideally this should be set by "ifSpeed", if only "ifSpeed" was reliable.
We could, I suppose, set it based on "ifSpeed" for "ether*" "fast*" "gig*" "ten*" interfaces.
We just need a bit of code to decide what to set it to when we create the RRD. A method of changing it would be nice too, hmm... :D
adam.
On 09/11/2012 07:06, Job Snijders wrote:
Hi all,
I was facing some issues with observium and 16x10GE LAGs, where RRD would flip the finger on me. I propose we let the RRDs accept up to a terabit/sec instead of the current 100gigabit/sec limit. In a year or so we can up it again. :-) (or make it a configurable option!)
BTW: If you currently have ports which go over 100GE you need to use 'rrdtool dump' -> edit xml file and change "1.2500000000e+10" to "1.2500000000e+11" and then use 'rrdtool restore' to get the XML back into RRD format.
root@observium:/opt/observium# diff includes/polling/ports.inc.php.orig includes/polling/ports.inc.php 339,353c339,353 < DS:INOCTETS:DERIVE:600:0:12500000000 \ < DS:OUTOCTETS:DERIVE:600:0:12500000000 \ < DS:INERRORS:DERIVE:600:0:12500000000 \ < DS:OUTERRORS:DERIVE:600:0:12500000000 \ < DS:INUCASTPKTS:DERIVE:600:0:12500000000 \ < DS:OUTUCASTPKTS:DERIVE:600:0:12500000000 \ < DS:INNUCASTPKTS:DERIVE:600:0:12500000000 \ < DS:OUTNUCASTPKTS:DERIVE:600:0:12500000000 \ < DS:INDISCARDS:DERIVE:600:0:12500000000 \ < DS:OUTDISCARDS:DERIVE:600:0:12500000000 \ < DS:INUNKNOWNPROTOS:DERIVE:600:0:12500000000 \ < DS:INBROADCASTPKTS:DERIVE:600:0:12500000000 \ < DS:OUTBROADCASTPKTS:DERIVE:600:0:12500000000 \ < DS:INMULTICASTPKTS:DERIVE:600:0:12500000000 \
< DS:OUTMULTICASTPKTS:DERIVE:600:0:12500000000 ".$config['rrd_rra']);
DS:INOCTETS:DERIVE:600:0:125000000000 \ DS:OUTOCTETS:DERIVE:600:0:125000000000 \ DS:INERRORS:DERIVE:600:0:125000000000 \ DS:OUTERRORS:DERIVE:600:0:125000000000 \ DS:INUCASTPKTS:DERIVE:600:0:125000000000 \ DS:OUTUCASTPKTS:DERIVE:600:0:125000000000 \ DS:INNUCASTPKTS:DERIVE:600:0:125000000000 \ DS:OUTNUCASTPKTS:DERIVE:600:0:125000000000 \ DS:INDISCARDS:DERIVE:600:0:125000000000 \ DS:OUTDISCARDS:DERIVE:600:0:125000000000 \ DS:INUNKNOWNPROTOS:DERIVE:600:0:125000000000 \ DS:INBROADCASTPKTS:DERIVE:600:0:125000000000 \ DS:OUTBROADCASTPKTS:DERIVE:600:0:125000000000 \ DS:INMULTICASTPKTS:DERIVE:600:0:125000000000 \ DS:OUTMULTICASTPKTS:DERIVE:600:0:125000000000 ".$config['rrd_rra']);
root@observium:/opt/observium#
Kind regards,
Job Snijders
Hi Adam,
On Nov 9, 2012, at 6:38 PM, Adam Armstrong adama@memetic.org wrote:
Ideally this should be set by "ifSpeed", if only "ifSpeed" was reliable.
We could, I suppose, set it based on "ifSpeed" for "ether*" "fast*" "gig*" "ten*" interfaces.
We just need a bit of code to decide what to set it to when we create the RRD. A method of changing it would be nice too, hmm... :D
An issue might be that LAGs grow as you go, I have lots of LAGs that started out as 4x10, grew to 8x10, grew to 16x10. Maybe for LAGs we could set it on 'unlimited'?
Kind regards,
Job
participants (2)
-
Adam Armstrong
-
Job Snijders