ilovepancakes95 / idrac_snmp-grafana

SNMP Based Dashboard to Monitor Dell Hosts via iDRAC
https://grafana.com/grafana/dashboards/12106
Other
146 stars 39 forks source link

does anyone know how to fix connection error? #16

Open Ming-A opened 3 years ago

Ming-A commented 3 years ago

Using a dell r610 on idrac6 enterprise, So after using command sudo -u telegraf /usr/bin/telegraf -config /etc/telegraf/telegraf.conf -config-directory /etc/telegraf/telegraf.d -debug i see that the idrac_snmp plugin has 2 errors

[inputs.snmp] Error in plugin: agent 192.168.1.122: performing get on field system-name: Request timeout (after 3 retries) and Error in plugin: agent 192.168.1.122: gathering table idrac-hosts: performing bulk walk for field bios-version: Request timeout (after 3 retries)

in the configs i replaced the agents to the ip of my idrac and I have turned enabled SNMP Agent and changed the community name to 'lilith' like so, [[inputs.snmp]] agents = [ "192.168.1.122" ] version = 1 community = "lilith" name = "idrac-hosts"

ilovepancakes95 commented 3 years ago

Is "lilith" the community name set in iDRAC? What if you make community "public" in the config above? Does it work then?

Ming-A commented 3 years ago

Is "lilith" the community name set in iDRAC? What if you make community "public" in the config above? Does it work then?

I tried it with public too but that didn't work, I actually have also tried different methods to get data from my idrac using ipmitools but that didn't work too and I have done a lot of troubleshooting

ilovepancakes95 commented 3 years ago

If you use an MIB browser with the Dell MIB files can you get any data at all from iDRAC? Assuming SNMP is enabled in iDRAC properly, what exact error are you getting when you run an snmpwalk command to it, or use an MIB browser?

mrendi29 commented 1 year ago

I am getting the exact error like OP on idrac7. Did anyone find a solution for this? I am able to execute snmp commands and they show up on tcpdump, however it seems that telegraf times out.