SNMP Router/Switch wizard not working on one interface

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
itadmins
Posts: 22
Joined: Wed Mar 28, 2018 6:15 pm

SNMP Router/Switch wizard not working on one interface

Post by itadmins »

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

Code: Select all

/usr/bin/cfgmaker --show-op-down --noreversedns --zero-speed '100000000' '[email protected]:161::::2'

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

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:
######################################################################
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: SNMP Router/Switch wizard not working on one interface

Post by scottwilkerson »

It is possible only 1 NIC is configured to accept SNMP connections

This error is what you would get if SNMP is not listening on that interface
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked