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.4K All Categories
- 1 XORMON NG
- 6 XORMON
- 68 LPAR2RRD
- 5 VMware
- 3 IBM i
- oVirt / RHV
- 3 MS Windows and Hyper-V
- Solaris / OracleVM
- XenServer / Citrix
- Nutanix
- 3 Database
- 1 Cloud
- 6 Kubernetes / OpenShift / Docker
- 52 STOR2RRD
- 9 SAN
- 2 LAN
- 7 IBM
- 1 EMC
- 5 Hitachi
- 4 NetApp
- 5 HPE
- Lenovo
- 1 Huawei
- 1 Dell
- Fujitsu
- DataCore
- INFINIDAT
- 2 Pure Storage
- Oracle