elastic / beats

:tropical_fish: Beats - Lightweight shippers for Elasticsearch & Logstash
https://www.elastic.co/products/beats
Other
12.06k stars 4.89k forks source link

[Metricbeat] SNMP input or module #12798

Open markwalkom opened 5 years ago

markwalkom commented 5 years ago

Describe the enhancement: It'd be super awesome to support hardware or systems that only have SNMP metrics exposed, or to collect information that other beats may not have access to.

Describe a specific use case for the enhancement or feature: I use Ubiquiti networking gear at home and it'd be great to point a beat at an SNMP endpoint, with a list of MIBs or a reference to a file with them(?), to collect data.

I have compiled metricbeat for some of their gera (as it's ARM based, which we don't officially support), so this seems like an alternative method to collecting host metrics.

There is at least one community beat that does something like this. And I am also aware that there is an SNMP input in Logstash.

fearful-symmetry commented 4 years ago

This has been a reoccurring request, and It would be super neat if we could actually do it. I also use UniFi gear in my home lab, and I've poked around their MIBs.

It seems like the most 'natural' way to do this is to have a SNMP module, and then provide different metricsets for MIB ranges, i.e, a metricset for iso(1).org(3).dod(6).internet(1).mgmt(2).mib-2(1).ip(4) one for .iso(1).org(3).dod(6).internet(1).mgmt(2).mib-2(1).interfaces(2), one for the special UniFi MIBs, etc. This would actually be great fodder for the new "lightweight" modules that we're exploring, since most of the code would be module level, with individual metricsets mostly being configs for the various MIBs.

enotspe commented 4 years ago

I would add to the request other types of remote metric monitoring

Streaming Telemetry WMI SSH

loganmc10 commented 3 years ago

Yes this would be really nice. Right now I do this using Prometheus+snmp_exporter. I then send it to metricbeat using remote_write (metricbeat is a "sidecar" docker container).

However it's a bit of a pain to graph the metrics in Kibana (I'm still trying to figure this part out). It would be nice if it was a little more integrated by default into Kibana the way that regular host metrics are currently.

enotspe commented 3 years ago

Altough I totally love logstash, I have ended up using Zabbix + Elastic, snmp input plugin is just too basic.

You kind of get the best of both worlds: NMS functions + super custom dashboards with Kibana and Canvas.

botelastic[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

zez3 commented 3 months ago

Can someone please reopen this @cmacknz ?

botelastic[bot] commented 3 months ago

This issue doesn't have a Team:<team> label.

zez3 commented 3 months ago

Thie might interess the @observability team as well @andrewvc

zez3 commented 1 month ago

@felixbarny got any opinions on this?