# Question about Logstash and SNMP

**URL:** <https://discuss.elastic.co/t/question-about-logstash-and-snmp/72938>\
**Category:** Logstash\
**Created:** [January 26, 2017, 6:17pm UTC](https://discuss.elastic.co/t/question-about-logstash-and-snmp/72938 "2017-01-26T18:17:15Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![rcaropreso](https://avatars.discourse-cdn.com/v4/letter/r/ed655f/32.png) [@rcaropreso](https://discuss.elastic.co/u/rcaropreso)\
**Post date:** [January 26, 2017, 6:17pm UTC](https://discuss.elastic.co/t/question-about-logstash-and-snmp/72938/1 "2017-01-26T18:17:15Z")

</div>

Hello,

I'm new on logstash applications and I have a scenario here like this:

- it is necessary to perform a polling over a bunch of sensors through SNMP requests.

The snmp trap is not applicable for this situation since it is necessary to get data from sensors in a time basis (periodically).

My question: is there a logstash plugin capable of doing this (snmp getrequest)? Is there any other suggestion on how to get this sensor data?

Thanks and regards,

Rodrigo

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [January 26, 2017, 9:33pm UTC](https://discuss.elastic.co/t/question-about-logstash-and-snmp/72938/2 "2017-01-26T21:33:40Z")

</div>

Not that I have seen, no.

---

<div class="post-metadata">

**Author:** ![kopacko](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kopacko/32/10733_2.png) [@kopacko](https://discuss.elastic.co/u/kopacko)\
**Post date:** [January 27, 2017, 1:36am UTC](https://discuss.elastic.co/t/question-about-logstash-and-snmp/72938/3 "2017-01-27T01:36:46Z")

</div>

What are you needing to do with the sensor data?

There's lots of free polling software out there.

PRTG, Cacti, etc.

---

<div class="post-metadata">

**Author:** ![rcaropreso](https://avatars.discourse-cdn.com/v4/letter/r/ed655f/32.png) [@rcaropreso](https://discuss.elastic.co/u/rcaropreso)\
**Post date:** [January 27, 2017, 3:30pm UTC](https://discuss.elastic.co/t/question-about-logstash-and-snmp/72938/4 "2017-01-27T15:30:25Z")

</div>

Hi,

The sensor data must be stored for further analysis after some time.

The architeture of the system makes use of logstash, so our first attempt was on this direction, using logstash to get sensor data.

I'll check these options you mentioned. But we will stiil need to get data and store into a Big Data architecture, nevertheless.

Thanks

---

<div class="post-metadata">

**Author:** ![kopacko](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kopacko/32/10733_2.png) [@kopacko](https://discuss.elastic.co/u/kopacko)\
**Post date:** [January 27, 2017, 3:33pm UTC](https://discuss.elastic.co/t/question-about-logstash-and-snmp/72938/5 "2017-01-27T15:33:46Z")

</div>

Gotcha,  
There may be some SNMP poller out there that can do your querying (as well as alerting/reporting if you need it) that can then output to syslog or to a file that you can have ingested into Logstash for parsing. As for doing it directly via Logstash, there may be an expert here that can help you.

I use PRTG for tons of SNMP polling and graphing. I've NOT looked into any outputs that it has.

---

<div class="post-metadata">

**Author:** ![rcaropreso](https://avatars.discourse-cdn.com/v4/letter/r/ed655f/32.png) [@rcaropreso](https://discuss.elastic.co/u/rcaropreso)\
**Post date:** [January 27, 2017, 3:41pm UTC](https://discuss.elastic.co/t/question-about-logstash-and-snmp/72938/6 "2017-01-27T15:41:59Z")

</div>

Hi, thanks for reply.

I think it is possible to make a simple snmp poller using somethin API like Apache Camel and direct the output in a way that could be ingested by logstash.

The first idea was to use a logstash plugin just to avoid additional "intermediate tools" on the line.

Another possibility is to build up a Logstash plugin itself, capable of performing the snmp GetRequest. I wonder why this was not made until now. And I do not know the dificulty level of building such a plugin.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 24, 2017, 3:42pm UTC](https://discuss.elastic.co/t/question-about-logstash-and-snmp/72938/7 "2017-02-24T15:42:23Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
