docker-cacti icon indicating copy to clipboard operation
docker-cacti copied to clipboard

perl-Net-SNMP package miss to run some scripts

Open jbolliet opened this issue 4 years ago • 0 comments

We used this container to migrate an older version of Cacti on a new one. We are using some scripts provided in perl language These script failed with missing librabry on the container: Can't locate Net/SNMP.pm in @INC (you may need to install the Net::SNMP module) (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at /cacti/scripts/f5_bigip_cpun.pl line 5. BEGIN failed--compilation aborted at /cacti/scripts/f5_bigip_cpun.pl line 5. FATAL: Spine Encountered a Segmentation Fault

The package perl-Net-SNMP is missing in the container. I added it manually, but it should be easier to have it directly in the default container

yum -y install perl-Net-SNMP.noarch

Thanks a lot Regards.

jbolliet avatar Aug 06 '21 08:08 jbolliet