idrac_snmp-grafana icon indicating copy to clipboard operation
idrac_snmp-grafana copied to clipboard

does anyone know how to fix connection error?

Open Ming-A opened this issue 4 years ago • 4 comments

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"

Ming-A avatar Feb 04 '21 03:02 Ming-A

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

ilovepancakes95 avatar Feb 09 '21 21:02 ilovepancakes95

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

Ming-A avatar Feb 10 '21 09:02 Ming-A

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?

ilovepancakes95 avatar Feb 11 '21 17:02 ilovepancakes95

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.

mrendi29 avatar Nov 26 '22 01:11 mrendi29