# Snmp\_exporter - Error scraping target

**URL:** <https://discuss.prometheus.io/t/snmp-exporter-error-scraping-target/218>\
**Category:** General Help/Support\
**Created:** [May 12, 2021, 4:41am UTC](https://discuss.prometheus.io/t/snmp-exporter-error-scraping-target/218 "2021-05-12T04:41:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![yolanjoy](https://dub1.discourse-cdn.com/flex017/user_avatar/discuss.prometheus.io/yolanjoy/32/124_2.png) [@yolanjoy](https://discuss.prometheus.io/u/yolanjoy)\
**Post date:** [May 12, 2021, 4:41am UTC](https://discuss.prometheus.io/t/snmp-exporter-error-scraping-target/218/1 "2021-05-12T04:41:16Z")

</div>

Hello,

I’m dealing with a problem where snmp\_exporter would time out ( after 3 retries) while trying to collect metrics from a target which is an Asus router running snmpd.

The snmp\_exporter is installed on a Linux box with its own snmp.yml ( part of the linux-amd64 pkg). The snmpwalk works from the same host.

I thought the snmp.yml is probably not right so tried to use the generator but it failed due to unable to walk an OID.

Is there a way I can use the existing yml and make it work somehow? Am I missing something?

Please advise,  
Thanks

---

<div class="post-metadata">

**Author:** ![roidelapluie](https://dub1.discourse-cdn.com/flex017/user_avatar/discuss.prometheus.io/roidelapluie/32/6_2.png) [@roidelapluie](https://discuss.prometheus.io/u/roidelapluie)\
**Post date:** [May 12, 2021, 7:57am UTC](https://discuss.prometheus.io/t/snmp-exporter-error-scraping-target/218/2 "2021-05-12T07:57:50Z")

</div>

It all depends on your hardware. Some equipment devices are really slow.

Could you try a manual scrape with curl against the snmp\_exporter?

It could also be a firewall dropping the traffic.

What did you try to debug this?

---

<div class="post-metadata">

**Author:** ![yolanjoy](https://dub1.discourse-cdn.com/flex017/user_avatar/discuss.prometheus.io/yolanjoy/32/124_2.png) [@yolanjoy](https://discuss.prometheus.io/u/yolanjoy)\
**Post date:** [May 20, 2021, 2:20pm UTC](https://discuss.prometheus.io/t/snmp-exporter-error-scraping-target/218/3 "2021-05-20T14:20:47Z")

</div>

I think I need to reconstruct the ym based what I get via snmpwalk. There are no official MIBs available on the router. I’ve installed net-snmp agent on it.

Thanks

---

<div class="post-metadata">

**Author:** ![nicolai](https://dub1.discourse-cdn.com/flex017/user_avatar/discuss.prometheus.io/nicolai/32/109_2.png) [@nicolai](https://discuss.prometheus.io/u/nicolai)\
**Post date:** [June 23, 2021, 9:11pm UTC](https://discuss.prometheus.io/t/snmp-exporter-error-scraping-target/218/4 "2021-06-23T21:11:08Z")

</div>

Just to give you an idea about how slow it can be, I had compute hardware from one vendor that needed 30 minutes to do a complete walk.

---

<div class="post-metadata">

**Author:** ![skbluecollars1990](https://dub1.discourse-cdn.com/flex017/user_avatar/discuss.prometheus.io/skbluecollars1990/32/911_2.png) [@skbluecollars1990](https://discuss.prometheus.io/u/skbluecollars1990)\
**Post date:** [January 31, 2024, 8:56am UTC](https://discuss.prometheus.io/t/snmp-exporter-error-scraping-target/218/5 "2024-01-31T08:56:18Z")

</div>

For some reason, Some of the targets “Up” metric showing 0. when i scrape through the curl command the target is reachable and i can do the snmpwalk as well.
