Page 1 of 1

Error Description/Tpye table No response from remote host

Posted: Fri Apr 23, 2021 4:20 pm
by mccrakem
Hi I have replaced a Linux Layer7 Device
Old Device Version 9 - Redhat 6
New Device Version 10 - CentOS7

I just replaced the systems New System has the exact same IP Address and Hostname and the Old system

The monitors that do not work all user the same perl script check_snmp_process_wizard.pl and all have the same Community Name, the only place I seen reference to this is in the
/etc/snmp/snmpd.conf file

So I copied the details and updated the snmp.conf file but the monitor still do not work

I have attached some screenshots

Can you shed some light on what I am missing

Thanks

Re: Error Description/Tpye table No response from remote hos

Posted: Mon Apr 26, 2021 9:52 am
by ssax
Does the base snmpwalk command work? If not, it's likely being blocked by a firewall:

Code: Select all

snmpwalk -v2c -c 'yourcommunity' X.X.X.X system
If that responds properly, try these:

Code: Select all

snmpwalk -v 2c -c 'yourcommunity' X.X.X.X HOST-RESOURCES-MIB::hrSWRunName
snmpwalk -v 2c -c 'yourcommunity' X.X.X.X HOST-RESOURCES-MIB::hrFSMountPoint
If those don't return anything you likely need to edit the remote server's /etc/snmp/snmpd.conf file and change this:

Code: Select all

view   systemonly  included   .1.3.6.1.2.1.25.1.1
To this:

Code: Select all

view   systemonly  included   .1.3.6.1.2.1.25
Then restart snmpd and test again:

Code: Select all

systemctl restart snmpd

Re: Error Description/Tpye table No response from remote hos

Posted: Mon Apr 26, 2021 11:41 am
by mccrakem
Hi Sean

I tried this command
snmpwalk -v2c -c 'EuLayer7Devive251' 172.16.45.251 system

On both the layer7 Device and from the nagios server and both servers returned
Timeout: No Response from 172.16.45.251

I have taken a look at the IPTables and the only difference I can see is the items in the attached screenshot


So sorry Sean not really sure what I need to do

Re: Error Description/Tpye table No response from remote hos

Posted: Mon Apr 26, 2021 5:55 pm
by ssax
Something is blocking it, you will need to reach out to your firewall/network/security admins and have them investigate. There isn't anything that we can do from our end on this.

Re: Error Description/Tpye table No response from remote hos

Posted: Tue Apr 27, 2021 5:27 am
by mccrakem
Hi Sean
Thanks I understand.

Just a quick question do you know if this snmpwalk command work over a specific port or does it work over the standard nagios port 5666

Thanks

Re: Error Description/Tpye table No response from remote hos

Posted: Tue Apr 27, 2021 1:58 pm
by benjaminsmith
Hi @mccrakem,

SNMPWalk commands would communicate over port 161 using the UDP protocol. Let us know if you're able to determine what's blocking the connection.

Re: Error Description/Tpye table No response from remote hos

Posted: Wed Apr 28, 2021 9:10 am
by mccrakem
Hi Ben
Got it all sorted Thanks for the info it helped me alot

Thanks

Re: Error Description/Tpye table No response from remote hos

Posted: Wed Apr 28, 2021 9:22 am
by scottwilkerson
mccrakem wrote:Hi Ben
Got it all sorted Thanks for the info it helped me alot

Thanks
Locking thread