Cisco Access switch shows no response with snmp enabled, why?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
[email protected]
Posts: 5
Joined: Tue Jan 27, 2026 12:51 am

Cisco Access switch shows no response with snmp enabled, why?

Post by [email protected] »

This is an attempt to configure my Cisco access switch with IP address - 10.224.74.131, using the network switch wizard in Configure. We have checked that the v2c community is correct. However, we can't get the switch under monitoring with error messages stating that we have to run the command below (in Nagios XI server) and send the results in this Support forum.
Please see the command we ran with the corresponding results,

[root@ip-10-47-204-78 ~]# snmpwalk -v2c -c @aGiYM^EuYui92Ff 10.224.74.131
Timeout: No Response from 10.224.74.131
[root@ip-10-47-204-78 ~]# /usr/bin/cfgmaker --no-down --ifref=nr --noreversedns --if-template=/usr/local/nagiosxi/html/includes/configwizards/switch/template --zero-speed '1000000000' '@aGiYM^[email protected]:161::::2'
Subroutine SNMP_Session::pack_sockaddr_in6 redefined at /usr/share/perl5/vendor_perl/Exporter.pm line 66.
at /usr/bin/../lib64/mrtg2/SNMP_Session.pm line 149.
Subroutine SNMP_Session::unpack_sockaddr_in6 redefined at /usr/share/perl5/vendor_perl/Exporter.pm line 66.
at /usr/bin/../lib64/mrtg2/SNMP_Session.pm line 149.
Subroutine SNMPv1_Session::pack_sockaddr_in6 redefined at /usr/share/perl5/vendor_perl/Exporter.pm line 66.
at /usr/bin/../lib64/mrtg2/SNMP_Session.pm line 604.
Subroutine SNMPv1_Session::unpack_sockaddr_in6 redefined at /usr/share/perl5/vendor_perl/Exporter.pm line 66.
at /usr/bin/../lib64/mrtg2/SNMP_Session.pm line 604.
--base: Get Device Info on @aGiYM^[email protected]:161::::2
SNMP Error:
no response received
SNMPv2c_Session (remote host: "10.224.74.130" [10.224.74.130].161)
community: "@aGiYM^EuYui92Ff"
request ID: -1552190782
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/bin/../lib64/mrtg2/SNMP_util.pm line 651.
SNMPWALK Problem for 1.3.6.1.2.1.1 on @aGiYM^[email protected]:161::::2:v4only
at /usr/bin/cfgmaker line 954.
WARNING: Skipping @aGiYM^[email protected]:161::::2 as no info could be retrieved

Use of uninitialized value $syscontact in substitution (s///) at /usr/bin/cfgmaker line 380.
Use of uninitialized value $syslocation in substitution (s///) at /usr/bin/cfgmaker line 381.
Use of uninitialized value $comment_sysdescr in substitution (s///) at /usr/bin/cfgmaker line 382.
Use of uninitialized value $sysname in concatenation (.) or string at /usr/bin/cfgmaker line 415.
Use of uninitialized value $comment_sysdescr in concatenation (.) or string at /usr/bin/cfgmaker line 415.
Use of uninitialized value $syscontact in concatenation (.) or string at /usr/bin/cfgmaker line 415.
Use of uninitialized value $syslocation in concatenation (.) or string at /usr/bin/cfgmaker line 415.
# Created by
# /usr/bin/cfgmaker --no-down --ifref=nr --noreversedns --if-template=/usr/local/nagiosxi/html/includes/configwizards/switch/template --zero-speed 1000000000 @aGiYM^[email protected]:161::::2


### Global Config Options

# for UNIX
# WorkDir: /home/http/mrtg

# or for NT
# WorkDir: c:\mrtgdata

### Global Defaults

# to get bits instead of bytes and graphs growing to the right
# Options[_]: growright, bits

EnableIPv6: no

######################################################################
# System:
# Description:
# Contact:
# Location:
######################################################################


[root@ip-10-47-204-78 ~]#

Soo How,
[email protected]
Posts: 5
Joined: Tue Jan 27, 2026 12:51 am

Re: Cisco Access switch shows no response with snmp enabled, why?

Post by [email protected] »

Dear all,

Please see the answers,

1. Linux Distribution and version? 32 or 64bit? RHEL9 on AWS EC2 Instance
2. VMware Image or Manual Install of XI? Manual install
3. Are there special configurations on your system, ie; is Gnome installed? Are you using a proxy? Are you using SSL? None
*Note: this is a new Nagios XI installation

Please see the attached system profile in zipped format.

Soo How,
You do not have the required permissions to view the files attached to this post.
kg2857
Posts: 490
Joined: Wed Apr 12, 2023 5:48 pm

Re: Cisco Access switch shows no response with snmp enabled, why?

Post by kg2857 »

You could try using nmap to see if port 161 is open, ssh to port 161 on the switch and then change the C-string to something simpler in case its the issue.
Obviously make sure the switch answers ping.
[email protected]
Posts: 5
Joined: Tue Jan 27, 2026 12:51 am

Re: Cisco Access switch shows no response with snmp enabled, why?

Post by [email protected] »

Hi,

I used nmap to detect the port 161 on the Nagios server. I tried "nmap -p 161 10.224.74.131" and the result was,

PORT STATE SERVICE
161/tcp filtered snmp

Soo How,
kg2857
Posts: 490
Joined: Wed Apr 12, 2023 5:48 pm

Re: Cisco Access switch shows no response with snmp enabled, why?

Post by kg2857 »

Search the internet for nmap filtered.
Post Reply