I cannot add my one of the switch

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
daejonglee
Posts: 1
Joined: Thu Oct 25, 2018 11:35 am

I cannot add my one of the switch

Post by daejonglee »

I had this output from script.

[root@localhost ~]# /usr/bin/cfgmaker --show-op-down --noreversedns --zero-speed '100000000' '[email protected]::::2'
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/vendor_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/vendor_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/vendor_perl/Exporter.pm line 66.
at /usr/bin/../lib/mrtg2/SNMP_Session.pm line 604.
--base: Get Device Info on [email protected]::::2
SNMP Error:
no response received
SNMPv2c_Session (remote host: "xx.xx.xx.xxx" [xx.xx.xx.xxx].161)
community: "xxxxxxxxx"
request ID: -828782832
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]::::2:v4only
at /usr/bin/cfgmaker line 951.
WARNING: Skipping [email protected]:161::::2 as no info could be retrieved

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/cfgmaker 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/bin/cfgmaker line 412.
Use of uninitialized value $syslocation in concatenation (.) or string at /usr/bin/cfgmaker line 412.
# Created by
# /usr/bin/cfgmaker --show-op-down --noreversedns --zero-speed 100000000 [email protected]::::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:
######################################################################
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: I cannot add my one of the switch

Post by tgriep »

The error displayed suggests that the device is not enabled to be polled by SNMP, the community string is incorrect, or if it is enabled, it might not be configured to allow the SNMP OID that cfgmaker needs to be polled.

Lets run a snmpwalk command to see if you can get any response from the device. Replace xxx.xxx.xxx.xxx with the IP address and yyyyyyyyy with the community string.

Code: Select all

snmpwalk xxx.xxx.xxx.xxx -c yyyyyyyyy -v 2c
What is the Make and model number of the device you are trying to setup?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked