Undefined subroutine &SNMP::addMibDirs called at /opt/stor2rrd/bin/SNMP_lib.pm line 83.
Hi,
Configured four IBM/Brocade SAN switches.
When running the verify, I get the following error.
API authorization: NOK
Configured four IBM/Brocade SAN switches.
When running the verify, I get the following error.
API authorization: NOK
Undefined subroutine &SNMP::addMibDirs called at /opt/stor2rrd/bin/SNMP_lib.pm line 83. Running snmpwalk, I can walk the device. My operating system is Ubuntu Focal on Power. The SNMP.pm module is in the PERLIB path as /usr/share/perl5/Net/SNMP.pm I am at a loss.
Comments
-
Hi,do you have installed perl-snmp?rpm -qa| grep -i snmp
-
As I am using Ubuntu, they seem to have different names for their packages.
In this case I have libperl-snmp
-
Problem has been resolved.
There are many SNMP modules, nut what is required is the NET::SNMP module.
For Ubuntu FOCAL on PPC64 you will need to do a
apt-get install libsnmp-perl
The following path is required to be appended in the etc/stor2rrd.cfg file on the PERL5LIB variable.
:/usr/lib/powerpc64le-linux-gnu/perl5/5.30
regards -
thanks for info
Howdy, Stranger!
Categories
- 1.5K All Categories
- 7 XORMON NG
- 24 XORMON
- 123 LPAR2RRD
- 9 VMware
- 12 IBM i
- 1 oVirt / RHV
- 4 MS Windows and Hyper-V
- Solaris / OracleVM
- XenServer / Citrix
- Nutanix
- 6 Database
- 1 Cloud
- 9 Kubernetes / OpenShift / Docker
- 102 STOR2RRD
- 14 SAN
- 6 LAN
- 15 IBM
- 3 EMC
- 10 Hitachi
- 5 NetApp
- 13 HPE
- Lenovo
- 1 Huawei
- 1 Dell
- Fujitsu
- 2 DataCore
- INFINIDAT
- 3 Pure Storage
- Oracle