Replies: 3 comments
-
I enabled debug logging on the snmp_exporter service. It appears that the snmp_exporter is in fact working, but it fails at a certain point. Here is the relevent content of the debub log info (note that IP addresses and community string have been masked in the output). I am not sending the entire log data as there is quite a lot, but below is what seems to be to be some working parts, and up to where it fails.
|
Beta Was this translation helpful? Give feedback.
-
Looking at the MIB, it looks like |
Beta Was this translation helpful? Give feedback.
-
don't think we can exclude part of the tree while walking (basically we can with filters, but that won't help here9 - looking at the mib, this should do in the generator.yml:
|
Beta Was this translation helpful? Give feedback.
-
My offline environment has Prometheus v3.0.0 and snmp_exporter 0.26.0 running.
I have an Isilon NAS that I would like to monitor. The Isilon admin interface lets me download the MIB file directly from the NAS. I have copied that MIB file to my staging computer (has internet), and have generated a new snmp.yml file. Specifically, I followed an example found here
In my generator.yml file at the top, I added an auth that has the community name that is configured on the Isilon. I use the same syntax as the public_v2, but I call it isilon_v2 and specify the community name.
And at the very bottom, I added this:
The isilon mib file is copied to the mibs folder. Then I generated the new snmp.yml file, and from what I can see, it all looks good.
If I use the SNMP exporter web page (port 9116 of my Prometheus server), and I use the FQDN of my Isilon, auth is isilon_v2, and stick with the default if_mib, I get the standard generic outputs.
If I do the same, but use the module
isilon
, it thinks for a bit and comes back with:From the shell of the Prometheus server, I can do snmpwalk, snmpbulkwalk, snmpbulkget without errors, and it returns a lot of data.
I have also added a job to my Prometheus server to try to grab the metrics. This job returns a 500 error on the Prometheus web page (Target Health).
Error scraping target: server returned HTTP status 500 Internal Server Error
Because the if_mib seems to return some info, but the isilon module fails, I am thinking there may be something that did not generate properly when generating the snmp.yml. I just don't know enough about MIBs to say what that might be, but the syntax compared to other modules does look correct.
Beta Was this translation helpful? Give feedback.
All reactions