Skip to main content

On Debian, When you install the centreon-plugin-hardware-storage-synology-snmp and try to execute :

/usr/lib/centreon/plugins/centreon_synology.pl --mode=uptime --hostname=xxxxx
UNKNOWN: Cannot load module --mode.
Can't locate snmp_standard/mode/uptime.pm in @inc (you may need to install the snmp_standard::mode::uptime module) (@inc contains: /usr/lib/centreon/plugins FatPacked::94886063490384=HASH(0x564c621bc550) /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.32.1 /usr/local/share/perl/5.32.1 /usr/lib/x86_64-linux-gnu/perl5/5.32 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.32 /usr/share/perl/5.32 /usr/local/lib/site_perl) at /usr/lib/centreon/plugins/centreon_synology.pl line 1743.

Hi @agenet,

Thank you for your feedback!

Indeed there is a module missing in the perl script!

We had not seen that in our tests because there was no Uptime command nor service template in our pack. It will be added (and fixed) in our next release (February).

Thanks again!


Hello :)

This issue should had been resolved by this PR. Can you put it as resolved if it’s working for you now?


Reply