SNMP Router/Switch wizard not working on one interface
Posted: Wed Jul 11, 2018 2:48 pm
Ran the network switch/router wizard against one of our servers and it errored and told me to run a command on our nagios server
After running the command I am getting the error below. The server has two NICs, when I run it against the other NIC/IP/Hostname it runs correctly. However the NIC i want to run it on gives this error when I run this command in nagios.
Code: Select all
/usr/bin/cfgmaker --show-op-down --noreversedns --zero-speed '100000000' '[email protected]:161::::2'
Code: Select all
Subroutine SNMP_Session::pack_sockaddr_in6 redefined at /usr/share/perl5/vendor_ perl/Exporter.pm line 66.
at /usr/bin/../lib/mrtg2/SNMP_Session.pm line 149.
Subroutine SNMP_Session::unpack_sockaddr_in6 redefined at /usr/share/perl5/vendo r_perl/Exporter.pm line 66.
at /usr/bin/../lib/mrtg2/SNMP_Session.pm line 149.
Subroutine SNMPv1_Session::pack_sockaddr_in6 redefined at /usr/share/perl5/vendo r_perl/Exporter.pm line 66.
at /usr/bin/../lib/mrtg2/SNMP_Session.pm line 604.
Subroutine SNMPv1_Session::unpack_sockaddr_in6 redefined at /usr/share/perl5/ven dor_perl/Exporter.pm line 66.
at /usr/bin/../lib/mrtg2/SNMP_Session.pm line 604.
--base: Get Device Info on [email protected]:161::::2
SNMP Error:
no response received
SNMPv2c_Session (remote host: "server.company.org" [xxx.xxx.xx.xxx].161)
community: "public"
request ID: -1950122612
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/bin/../lib/mrtg2/SNMP_util.pm line 651.
SNMPWALK Problem for 1.3.6.1.2.1.1 on [email protected]:161::::2:v4only
at /usr/bin/cfgmaker line 951.
WARNING: Skipping [email protected]:161::::2 as no info could be retriev ed
Use of uninitialized value $comment_sysdescr in substitution (s///) at /usr/bin/ cfgmaker line 379.
Use of uninitialized value $sysname in concatenation (.) or string at /usr/bin/c fgmaker line 412.
Use of uninitialized value $comment_sysdescr in concatenation (.) or string at / usr/bin/cfgmaker line 412.
Use of uninitialized value $syscontact in concatenation (.) or string at /usr/bi n/cfgmaker line 412.
Use of uninitialized value $syslocation in concatenation (.) or string at /usr/b in/cfgmaker line 412.
# Created by
# /usr/bin/cfgmaker --show-op-down --noreversedns --zero-speed 100000000 public@ server.company.org: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:
######################################################################