Hello Everyone,Very new to prometheus and grafana but I am learning everyday. We have a need to use the snmp_exporter as we have some non standard devices to monitor. One being Raritan PDUs the have MIBs and such I can communicate with them. However i have no idea how to add the modue and OIDs I need for this to scrape. We also need to monitor the APC Temp and Humidity sensors on out cages. However I think Arista and PaloAlto already have some Modules and OIDs in the standard snmp.yml file.I have created a dir below my username called /.snmp/mibs and I copied the relevant MIB files in to it and another location i believe is /usr/local/share/snmp/mibs as well. So at this point I misunderstood how the generator works. I was thinking that it read the MIB files and put the relevant Modules and OIDs after reading an article by Consul Labs De, I believe my understanding was incorrect.So now I need something to teach me how to read the MIB files and get the OIDs I need in order to scrape the proper metrics.
--Any help would be greatly apprecited and Thanks for your time in Advance.P.S. I apologize if this is a stupid request.Thanks again,
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+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/cec987f2-3c10-4bb0-856e-495d1bb21e06%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On 31 July 2018 at 12:53, Michael Cooper <nexus...@gmail.com> wrote:Hello Everyone,Very new to prometheus and grafana but I am learning everyday. We have a need to use the snmp_exporter as we have some non standard devices to monitor. One being Raritan PDUs the have MIBs and such I can communicate with them. However i have no idea how to add the modue and OIDs I need for this to scrape. We also need to monitor the APC Temp and Humidity sensors on out cages. However I think Arista and PaloAlto already have some Modules and OIDs in the standard snmp.yml file.I have created a dir below my username called /.snmp/mibs and I copied the relevant MIB files in to it and another location i believe is /usr/local/share/snmp/mibs as well. So at this point I misunderstood how the generator works. I was thinking that it read the MIB files and put the relevant Modules and OIDs after reading an article by Consul Labs De, I believe my understanding was incorrect.So now I need something to teach me how to read the MIB files and get the OIDs I need in order to scrape the proper metrics.Putting the MIBs in the right directory makes them available to the generator, but doesn't change its output. Walking every possible object would be too slow for monitoring.What you want to do is add the OIDs you care about to the walk of a module in the generator.yml, and then regenerate the snmp.yml.Brian
Any help would be greatly apprecited and Thanks for your time in Advance.P.S. I apologize if this is a stupid request.Thanks again,
--
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-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/cec987f2-3c10-4bb0-856e-495d1bb21e06%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thank you Brian, I appreciate the quick response. Oh I got you okay that makes sense. So how do I add new device such as Raritan PDUs? Sorry for the stupid question I am seriously new to this and I am learning as I go.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/9b77c726-a278-4893-824d-9daf88312220%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/9b77c726-a278-4893-824d-9daf88312220%40googlegroups.com.
module: cisco-ucs: walk: - 1.3.6.1.4.1.9.9.719.1.1.1.1.16 #cucsFaultOccur lookups: - old_index: cucsFaultIndex new_index: cucsFaultDn overrides: cucsFaultDn: type: DisplayString |
--
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-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/f5bfd1bc-1e71-4993-aeaa-10f946cbb57e%40googlegroups.com.
Thank you Ben, hey everyone!I want to work soon on polishing this to be an actual useful guide/blog post.The idea is to explain how it works, less of a how to but more of a guide to empower others to get enough knowledge and insight to set up their own snmp-exporters to their (and hopefully the larger community’s) needs.For that I think it is critical to make another post/guide about the "proxy pattern" for exporters (blackbox, snmp, ipmi, are there others?). Is there already a text I could build upon? What is the official™ name of the "proxy pattern"?
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/923a653f-4037-4494-8ce8-4f9e43581e53%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/923a653f-4037-4494-8ce8-4f9e43581e53%40googlegroups.com.