Hi all,
I have an issue of duplicated metric from snmp_exporter for this OID
ltmVirtualServStatClientCurConns | 1.3.6.1.4.1.3375.2.2.10.2.3.1.12 from F5-BIGIP-LOCAL-MIB
When i check the /metrics output from snmp_exporter for that target i can see this error.
collected metric "ltmVirtualServStatClientCurConns" { label:<name:"ltmVirtualServStatName" value:"/Common/ref-si-silo-cs-pdct-rp2web2app.private.sfr.com.app/vip-ref-si-silo-cs-pdct-rp2web2app.pri" > counter:<value:0 > } was collected before with the same name and label values
I should have two different metrics with two different "ltmVirtualServStatName" label value below:
/Common/ref-si-silo-cs-pdct-rp2web2app.private.sfr.com.app/vip-ref-si-silo-cs-pdct-rp2web2app.private.sfr.com_HTTP_extra
/Common/ref-si-silo-cs-pdct-rp2web2app.private.sfr.com.app/vip-ref-si-silo-cs-pdct-rp2web2app.private.sfr.com_HTTP_intra
but it seems that the "ltmVirtualServStatName" label_value is limited to "/Common/ref-si-silo-cs-pdct-rp2web2app.private.sfr.com.app/vip-ref-si-silo-cs-pdct-rp2web2app.pri" in the /metric output so the snmp_exporter is seeing the same metric two times and drop the error.
I have another F5 LTM in the cluster with the same configuration (but another version) and i can get two different metrics
ltmVirtualServStatClientCurConns{ltmVirtualServStatName="/Common/ref-si-silo-cs-pdct-rp2web2app.private.sfr.com.app/vip-ref-si-silo-cs-pdct-rp2web2a780a7faf"} 0
ltmVirtualServStatClientCurConns{ltmVirtualServStatName="/Common/ref-si-silo-cs-pdct-rp2web2app.private.sfr.com.app/vip-ref-si-silo-cs-pdct-rp2web2ac8889aed"} 0
This time it seems that the snmp_exporter is putting a random string at the end of the label ltmVirtualServStatName to make it unique
Do you have any idea why this is happening ? The MIB is the same on both devices.
Thanks!
Flo
--Thanks!
Flo
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/c1e04ea8-eb5d-487d-8d7b-c741aa7ffd89o%40googlegroups.com.
On Fri, 31 Jul 2020 at 09:25, Florent Lourme <floren...@gmail.com> wrote:
Hi all,
I have an issue of duplicated metric from snmp_exporter for this OID
ltmVirtualServStatClientCurConns | 1.3.6.1.4.1.3375.2.2.10.2.3.1.12 from F5-BIGIP-LOCAL-MIB
http://www.oidview.com/mibs/3375/F5-BIGIP-LOCAL-MIB.html
When i check the /metrics output from snmp_exporter for that target i can see this error.
collected metric "ltmVirtualServStatClientCurConns" { label:<name:"ltmVirtualServStatName" value:"/Common/ref-si-silo-cs-pdct-rp2web2app.private.sfr.com.app/vip-ref-si-silo-cs-pdct-rp2web2app.pri" > counter:<value:0 > } was collected before with the same name and label values
I should have two different metrics with two different "ltmVirtualServStatName" label value below:
/Common/ref-si-silo-cs-pdct-rp2web2app.private.sfr.com.app/vip-ref-si-silo-cs-pdct-rp2web2app.private.sfr.com_HTTP_extra /Common/ref-si-silo-cs-pdct-rp2web2app.private.sfr.com.app/vip-ref-si-silo-cs-pdct-rp2web2app.private.sfr.com_HTTP_intrabut it seems that the "ltmVirtualServStatName" label_value is limited to "/Common/ref-si-silo-cs-pdct-rp2web2app.private.sfr.com.app/vip-ref-si-silo-cs-pdct-rp2web2app.pri" in the /metric output so the snmp_exporter is seeing the same metric two times and drop the error.
I have another F5 LTM in the cluster with the same configuration (but another version) and i can get two different metrics
ltmVirtualServStatClientCurConns{ltmVirtualServStatName="/Common/ref-si-silo-cs-pdct-rp2web2app.private.sfr.com.app/vip-ref-si-silo-cs-pdct-rp2web2a780a7faf"} 0 ltmVirtualServStatClientCurConns{ltmVirtualServStatName="/Common/ref-si-silo-cs-pdct-rp2web2app.private.sfr.com.app/vip-ref-si-silo-cs-pdct-rp2web2ac8889aed"} 0This time it seems that the snmp_exporter is putting a random string at the end of the label ltmVirtualServStatName to make it unique
Do you have any idea why this is happening ? The MIB is the same on both devices.
Can you share your generator config?Brian
--Thanks!
Flo
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to promethe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/c1e04ea8-eb5d-487d-8d7b-c741aa7ffd89o%40googlegroups.com.