Skip to main content
Question

Synology plugin missing dependencie

  • Jan 16, 2024 10:51 AM UTC
  • 2 replies
  • 154 views

Forum|alt.badge.img

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.

2 replies

omercier
Centreonian
Forum|alt.badge.img+15
  • Centreonian
  • Jan 18, 2024 4:09 PM UTC

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!


ltirand
Centreonian
Forum|alt.badge.img+13
  • Centreonian
  • Jun 26, 2024 2:48 PM UTC

Hello :)

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