I figured it out.

On Wed, Sep 2, 2020, 23:46 Ben Kochie <sup...@gmail.com> wrote:

> If you `curl` the snmp_exporter, how long does it take to respond? I'm
> guessing you're *scrape_timeout* in Prometheus is the default of 10
> seconds.
>
>
> On Thu, Sep 3, 2020 at 2:20 AM Andrew Meyer <andrewm...@gmail.com> wrote:
>
>> Hello,
>> I have been working on getting some devices working with my snmp_exporter
>> today.  I was successful in making this work but I am no longer able to
>> scrape any snmp device.  I am running CentOS 8.
>>
>> snmp_exporter-0.19.0-1.el8.x86_64
>> prometheus2-2.20.1-2.el8.x86_64
>>
>> Sep  2 16:51:09 mon001 snmp_exporter[1238]: level=info
>> ts=2020-09-02T21:51:09.014Z caller=collector.go:224 module=synology
>> target=10.150.1.18 msg="Error scraping target" err="scrape canceled
>> (possible timeout) getting target 10.150.1.18"
>> Sep  2 16:51:09 mon001 snmp_exporter[1238]: level=info
>> ts=2020-09-02T21:51:09.563Z caller=collector.go:224 module=nortel
>> target=10.150.1.2 msg="Error scraping target" err="scrape canceled
>> (possible timeout) getting target 10.150.1.2"
>> Sep  2 16:51:13 mon001 snmp_exporter[1238]: level=info
>> ts=2020-09-02T21:51:13.333Z caller=collector.go:224 module=synology
>> target=10.150.1.2 msg="Error scraping target" err="scrape canceled
>> (possible timeout) getting target 10.150.1.2"
>> Sep  2 16:51:13 mon001 snmp_exporter[1238]: level=info
>> ts=2020-09-02T21:51:13.678Z caller=collector.go:224 module=fortigate_snmp
>> target=10.150.1.1 msg="Error scraping target" err="scrape canceled
>> (possible timeout) walking target 10.150.1.1"
>> Sep  2 16:51:21 mon001 snmp_exporter[1238]: level=info
>> ts=2020-09-02T21:51:21.713Z caller=collector.go:224 module=fortinet
>> target=10.150.1.1 msg="Error scraping target" err="scrape canceled
>> (possible timeout) walking target 10.150.1.1"
>> Sep  2 16:51:23 mon001 snmp_exporter[1238]: level=info
>> ts=2020-09-02T21:51:23.953Z caller=collector.go:224 module=synology
>> target=10.150.1.19 msg="Error scraping target" err="scrape canceled
>> (possible timeout) getting target 10.150.1.19"
>> Sep  2 16:51:24 mon001 snmp_exporter[1238]: level=info
>> ts=2020-09-02T21:51:24.014Z caller=collector.go:224 module=synology
>> target=10.150.1.18 msg="Error scraping target" err="scrape canceled
>> (possible timeout) getting target 10.150.1.18"
>>
>> I saw an issue on github where someone had a similar issue it was the
>> default timeout that was not set.  Could this be what my issue is?
>>
>> Also I can go to the snmp_exporter web page and scrape stuff from there.
>> I can snmpwalk to the devices just fine.
>>
>> Thanks!
>>
>> --
>> 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-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/prometheus-users/d32debe9-faf5-48fb-a1bc-2d82ee43edd1n%40googlegroups.com
>> <https://groups.google.com/d/msgid/prometheus-users/d32debe9-faf5-48fb-a1bc-2d82ee43edd1n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/CAEAR6cNHytA51UicPXmcA3ybHjOKTdjP%3DJ3OSiA8sOOm6x_35Q%40mail.gmail.com.

Reply via email to