On Tue, 10 Nov 2020 at 12:27, BenB <[email protected]> wrote:

> Hi Brian,
>
> thanks for responding.  I've tried attached the mib file to this post but
> I get an error when submitting.  MIB file can be downloaded from
> https://supportcenter.checkpoint.com/supportcenter/portal?action=portlets.DCFileAction&eventSubmit_doGetdcdetails=&fileid=83804
>  OID name is asgCoreIndex.
>

The MIB doesn't match the snmpwalk output, the MIB says the index is a
string whereas the output looks like an integer. You'll need to take this
up with your vendor, as this looks like a device bug.

Brian


>
> In order to get some additional debug information, I added an override to
> my configuration to create a new metric by extracting all alphanumeric and
> space characters from the original value - as expected this generated
> parsing errors as the value isn't a float, but I was able to see the value
> of the original metric in this output and it appears to be correct (unless
> I'm missing something). My understanding is that under my original
> configuration, the value of the metric would be added as a label if it
> isn't a float and the metric value then set to 1 - please correct my if
> this is wrong.
>
> Debug output is below.
>
>
> level=info ts=2020-11-10T06:21:24.348Z caller=main.go:149 msg="Starting
> snmp_exporter" version="(version=0.19.0, branch=HEAD,
> revision=9dcbc02f59648b21fcf632de1b62a30df70f4649)"
> level=info ts=2020-11-10T06:21:24.349Z caller=main.go:243 msg="Listening
> on address" address=:9116
> level=debug ts=2020-11-10T06:21:26.918Z caller=main.go:99
> module=maestro_cpu target=10.112.3.99 msg="Starting scrape"
> level=debug ts=2020-11-10T06:21:26.918Z caller=collector.go:164
> module=maestro_cpu target=10.112.3.99 msg="Walking subtree"
> oid=1.3.6.1.4.1.2620.1.48.29.1.1
> level=debug ts=2020-11-10T06:21:27.028Z caller=collector.go:177
> module=maestro_cpu target=10.112.3.99 msg="Walk of subtree completed"
> oid=1.3.6.1.4.1.2620.1.48.29.1.1 duration_seconds=10
> 9.883144ms
> level=debug ts=2020-11-10T06:21:27.028Z caller=collector.go:428
> module=maestro_cpu target=10.112.3.99 msg="Error parsing float64 from
> value" metric=asgCoreIndex value=cpu9 regex="^(?:^(?
> :([A-Za-z0-9 ]+))$)$" extracted_value=cpu9
> level=debug ts=2020-11-10T06:21:27.028Z caller=collector.go:428
> module=maestro_cpu target=10.112.3.99 msg="Error parsing float64 from
> value" metric=asgCoreIndex value=cpu15 regex="^(?:^(
> ?:([A-Za-z0-9 ]+))$)$" extracted_value=cpu15
> level=debug ts=2020-11-10T06:21:27.028Z caller=collector.go:428
> module=maestro_cpu target=10.112.3.99 msg="Error parsing float64 from
> value" metric=asgCoreIndex value=cpu17 regex="^(?:^(
> ?:([A-Za-z0-9 ]+))$)$" extracted_value=cpu17
> level=debug ts=2020-11-10T06:21:27.028Z caller=collector.go:428
> module=maestro_cpu target=10.112.3.99 msg="Error parsing float64 from
> value" metric=asgCoreIndex value=cpu0 regex="^(?:^(?
> :([A-Za-z0-9 ]+))$)$" extracted_value=cpu0
> level=debug ts=2020-11-10T06:21:27.028Z caller=collector.go:428
> module=maestro_cpu target=10.112.3.99 msg="Error parsing float64 from
> value" metric=asgCoreIndex value=cpu3 regex="^(?:^(?
> :([A-Za-z0-9 ]+))$)$" extracted_value=cpu3
> level=debug ts=2020-11-10T06:21:27.028Z caller=collector.go:428
> module=maestro_cpu target=10.112.3.99 msg="Error parsing float64 from
> value" metric=asgCoreIndex value=cpu6 regex="^(?:^(?
> :([A-Za-z0-9 ]+))$)$" extracted_value=cpu6
> level=debug ts=2020-11-10T06:21:27.029Z caller=collector.go:428
> module=maestro_cpu target=10.112.3.99 msg="Error parsing float64 from
> value" metric=asgCoreIndex value=cpu7 regex="^(?:^(?
> :([A-Za-z0-9 ]+))$)$" extracted_value=cpu7
> level=debug ts=2020-11-10T06:21:27.029Z caller=collector.go:428
> module=maestro_cpu target=10.112.3.99 msg="Error parsing float64 from
> value" metric=asgCoreIndex value=cpu11 regex="^(?:^(
> ?:([A-Za-z0-9 ]+))$)$" extracted_value=cpu11
> level=debug ts=2020-11-10T06:21:27.029Z caller=collector.go:428
> module=maestro_cpu target=10.112.3.99 msg="Error parsing float64 from
> value" metric=asgCoreIndex value=cpu12 regex="^(?:^(
> ?:([A-Za-z0-9 ]+))$)$" extracted_value=cpu12
> level=debug ts=2020-11-10T06:21:27.029Z caller=collector.go:428
> module=maestro_cpu target=10.112.3.99 msg="Error parsing float64 from
> value" metric=asgCoreIndex value=cpu14 regex="^(?:^(
> ?:([A-Za-z0-9 ]+))$)$" extracted_value=cpu14
> level=debug ts=2020-11-10T06:21:27.029Z caller=collector.go:428
> module=maestro_cpu target=10.112.3.99 msg="Error parsing float64 from
> value" metric=asgCoreIndex value=cpu18 regex="^(?:^(
> ?:([A-Za-z0-9 ]+))$)$" extracted_value=cpu18
> level=debug ts=2020-11-10T06:21:27.029Z caller=collector.go:428
> module=maestro_cpu target=10.112.3.99 msg="Error parsing float64 from
> value" metric=asgCoreIndex value="Blade ID" regex="^
> (?:^(?:([A-Za-z0-9 ]+))$)$" extracted_value="Blade ID"
> level=debug ts=2020-11-10T06:21:27.029Z caller=collector.go:428
> module=maestro_cpu target=10.112.3.99 msg="Error parsing float64 from
> value" metric=asgCoreIndex value=cpu2 regex="^(?:^(?
> :([A-Za-z0-9 ]+))$)$" extracted_value=cpu2
> level=debug ts=2020-11-10T06:21:27.029Z caller=collector.go:428
> module=maestro_cpu target=10.112.3.99 msg="Error parsing float64 from
> value" metric=asgCoreIndex value=cpu10 regex="^(?:^(
> ?:([A-Za-z0-9 ]+))$)$" extracted_value=cpu10
> level=debug ts=2020-11-10T06:21:27.029Z caller=collector.go:428
> module=maestro_cpu target=10.112.3.99 msg="Error parsing float64 from
> value" metric=asgCoreIndex value=cpu1 regex="^(?:^(?
> :([A-Za-z0-9 ]+))$)$" extracted_value=cpu1
> level=debug ts=2020-11-10T06:21:27.029Z caller=collector.go:428
> module=maestro_cpu target=10.112.3.99 msg="Error parsing float64 from
> value" metric=asgCoreIndex value=cpu4 regex="^(?:^(?
> :([A-Za-z0-9 ]+))$)$" extracted_value=cpu4
> level=debug ts=2020-11-10T06:21:27.029Z caller=collector.go:428
> module=maestro_cpu target=10.112.3.99 msg="Error parsing float64 from
> value" metric=asgCoreIndex value=cpu5 regex="^(?:^(?
> :([A-Za-z0-9 ]+))$)$" extracted_value=cpu5
> level=debug ts=2020-11-10T06:21:27.029Z caller=collector.go:428
> module=maestro_cpu target=10.112.3.99 msg="Error parsing float64 from
> value" metric=asgCoreIndex value=cpu8 regex="^(?:^(?
> :([A-Za-z0-9 ]+))$)$" extracted_value=cpu8
> level=debug ts=2020-11-10T06:21:27.029Z caller=collector.go:428
> module=maestro_cpu target=10.112.3.99 msg="Error parsing float64 from
> value" metric=asgCoreIndex value=cpu13 regex="^(?:^(
> ?:([A-Za-z0-9 ]+))$)$" extracted_value=cpu13
> level=debug ts=2020-11-10T06:21:27.029Z caller=collector.go:428
> module=maestro_cpu target=10.112.3.99 msg="Error parsing float64 from
> value" metric=asgCoreIndex value=cpu16 regex="^(?:^(
> ?:([A-Za-z0-9 ]+))$)$" extracted_value=cpu16
> level=debug ts=2020-11-10T06:21:27.029Z caller=collector.go:428
> module=maestro_cpu target=10.112.3.99 msg="Error parsing float64 from
> value" metric=asgCoreIndex value=cpu19 regex="^(?:^(
> ?:([A-Za-z0-9 ]+))$)$" extracted_value=cpu19
> level=debug ts=2020-11-10T06:21:27.031Z caller=main.go:110
> module=maestro_cpu target=10.112.3.99 msg="Finished scrape"
> duration_seconds=0.112523537
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/prometheus-users/d4f3516a-8261-4cb3-a60b-687f2ca40817n%40googlegroups.com
> <https://groups.google.com/d/msgid/prometheus-users/d4f3516a-8261-4cb3-a60b-687f2ca40817n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Brian Brazil
www.robustperception.io

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/CAHJKeLom1B_FKHLZHjtRozPmFXAubqyA_qhntzCXPsso9D-74w%40mail.gmail.com.

Reply via email to