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