ProLiant Servers (ML,DL,SL)
1752594 Members
3162 Online
108788 Solutions
New Discussion

snmpwalk timeout on CentOS 7.5 in DL380 Gen10

 
t-suda
Occasional Collector

snmpwalk timeout on CentOS 7.5 in DL380 Gen10

I have wantted to retrieve the hardware status via snmpwalk.
I had constructed SMA using the below user guide. However, I couldn't retrieve that.
Are there any other procedure needed?
https://h50146.www5.hpe.com/lib/products/servers/proliant/manuals/880740-191_ja.pdf

Server : DL380 Gen10 (iLO5)
OS : CentOS 7.5

# rpm -ivh amsd-1.4.0-3066.82.rhel7.x86_64.rpm
# vi /etc/snmp/snmpd.conf
add "master agentx"
# systemctl start smad_rev
# systemctl start amsd_rev
# systemctl start snmpd
# snmpwalk -O vq -v 2c -c private localhost .1.3.6.1.4.1.232.6.2.6.4

I received the following message.
Timeout: No Response from localhost

6 REPLIES 6
DeepakJajware
HPE Pro

Re: snmpwalk timeout on CentOS 7.5 in DL380 Gen10

Hello 

Thank you for wrinting your queries to us . 

For the below error we would like to suggest you the below steps 

Please use ILO dedicated NIC and not Shared NIC. 
test it with the newer net-snmp-utils-5.7.1-31.2.x86_64.rpm

Also please refer to the below artciles
https://serverfault.com/questions/912717/centos-snmp-timeout-no-response-from-remote-host
https://access.redhat.com/discussions/1394813

 Thank you 

HPE Services 


I am an HPE Employee

Accept or Kudo

BOYAN BIANDOV
Regular Advisor

Re: snmpwalk timeout on CentOS 7.5 in DL380 Gen10

@t-suda Make sure that iLO SNMP pass-through is disabled, go to iLO GUI, find it (I think it's under management) and disable that option. 

Then if the iLO IP is snmp-walked you will get the bare metal OIDs instead of iLO firmware passing the traffic to the underlying OS

t-suda
Occasional Collector

Re: snmpwalk timeout on CentOS 7.5 in DL380 Gen10

Thank you for your response.

I'm sorry to be not able to find the iLO SNMP pass-through.

6.png

BOYAN BIANDOV
Regular Advisor

Re: snmpwalk timeout on CentOS 7.5 in DL380 Gen10

@t-suda  Hey sorry I think there maybe a misunderstanding on the iLO versio. From the screen shot I see that you're on release 4 of iLO. My post was about release 3 which is G7 and below of bare metal boxes. 

License Type iLO 3 Advanced
iLO Firmware Version 1.91 Oct 22 2018

Here's a screen shot of where that SNMP setting is for this iLO version:

oakesxi1.png

t-suda
Occasional Collector

Re: snmpwalk timeout on CentOS 7.5 in DL380 Gen10

Thank you for your explanation.

Okay, I've understood that.

However, there might be something that is instead of the SNMP pass-through in iLO5 as well.

I will try to look for it. Thank you.

t-suda
Occasional Collector

Re: snmpwalk timeout on CentOS 7.5 in DL380 Gen10

Thank you for your advice.

However I already use the dedicated iLO NIC, and the newer snmp(net-snmp-utils-5.7.2-32.el7.x86_64).

And I tried the other versions of snmpwalk(1|3), but these command failured as with 2c.(Time out)

I've  executed them with the bellow simple configuration and procedure.

Is there any problem in this configuration?

 

image.png