Open einardivision opened 1 year ago
I've figured out how to install the module by doing these steps:
First we exec into the librenms container: docker exec -it librenms bash
Then we install the following: apk add perl-dev apk add perl-app-cpanminus apk add alpine-sdk cpanm Monitoring::Plugin
Perhaps we could add to the documentation some examples. One thing i haven't figured out is how to persist these changes across docker restarts. I need to run these commands after every restart of container
Support guidelines
I've found a bug and checked that ...
Description
Im trying to write a custom monitoring plugin but i am having trouble installing the Perl Monitoring::Plugin module.
Can't locate Monitoring/Plugin.pm in @INC (you may need to install the Monitoring::Plugin module) (@INC contains: /usr/local/lib/perl5/site_perl /usr/local/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl) at /usr/lib/monitoring-plugins/check_battery_new.pl line 11. BEGIN failed--compilation aborted at /usr/lib/monitoring-plugins/check_battery_new.pl line 11.
Im running LibreNMS using Docker compose
Expected behaviour
The script will use sockets to communicate via TCP->Serial and decode the received data. Then it will output the performance data for me to add into graphs.
Actual behaviour
The script should run
Steps to reproduce
Try to use the Monitoring Plugin module
https://metacpan.org/dist/Monitoring-Plugin
Docker info
Docker Compose config
No response
Logs
Additional info
No response