System SNMP error - SNMP::get(): No response from <remote host>

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

User avatar
Osiris
Cacti Guru User
Posts: 1424
Joined: Mon Jan 05, 2015 10:10 am

Re: System SNMP error - SNMP::get(): No response from <remote host>

Post by Osiris »

Sorry, I wasn't reading closely enough. Does snmpwalk work to all the switches from the command line on the cacti server? If not make that the first thing to fix. Many HW vendors have ACL capsbilry on their switches, or it could be the mtu between you and the routers that Are not responding.
Before history, there was a paradise, now dust.
CptnBlues63
Posts: 33
Joined: Fri May 24, 2013 11:24 am

Re: System SNMP error - SNMP::get(): No response from <remote host>

Post by CptnBlues63 »

Osiris wrote: Fri Aug 04, 2023 3:23 pm Sorry, I wasn't reading closely enough. Does snmpwalk work to all the switches from the command line on the cacti server? If not make that the first thing to fix. Many HW vendors have ACL capsbilry on their switches, or it could be the mtu between you and the routers that Are not responding.
Yes, it worked from the cacti server.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: System SNMP error - SNMP::get(): No response from <remote host>

Post by TheWitness »

CptnBlues63 wrote: Wed Jul 19, 2023 2:19 pm
macan wrote: Wed Jul 19, 2023 1:03 am are you trying snmpwalk directly from cacti server?

If no, It could be routing issue (missing route or default gateway on switches).

If yes, try to delete these 3 switches from cacti and add it again. I met this issue sometimes.
Oh boy do I feel sheepish now..........LOL

I was doing that snmpwalk from my switch management server (also linux). I just tried it from my cacti server and it's not getting a response from those three switches. It is from the other switches.

I've just looked at the configuration and it's the same as the other switches. They have an IP, subnet mask and default gateway, all correct. We didn't bother putting routes on these because they're all on the same subnet which is isolated from the rest of our network.

All 3 switches respond to ping requests from the cacti server.

So what should I look at now?
So, they respond to ping, and can be responded to from your Management Server. So, I suspect the switches have an ACL that is blocking clients that can use SNMP by IP Address or by IP Address range. I'm not a network guy, so I can not tell you where to find it, but I know enough that this is more than likely the issue. If you can confirm that the switch is listening on TCP:161 too, that might help. If it's listening on TCP:161, try using the TCP protocol vs. the UDP protocol from Cacti. I suspect it's an ACL on the switch though.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: System SNMP error - SNMP::get(): No response from <remote host>

Post by TheWitness »

Another thing I would do is set up a tcpdump from the Cacti server before running the snmpwalk. If you get an 'unknown port' response on UDP 161, that means that you are being blocked somewhere between you and the switch.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: System SNMP error - SNMP::get(): No response from <remote host>

Post by TheWitness »

Another one. Setup a span port on the switch itself that echos the inbound management interface to your local sniffer and then see if the Cacti servers UDP traffic is reaching the switch, or setup the span port anywhere in the path, as close to the switch as possible. I use Wireshark now, but when I was in the business, I always used Network General. That was decades ago.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests