Solution: Monitorix no graphs shown

  • On a new installation with monitorix no graphs where shown.

    1. perl /var/www/imscp/gui/plugins/Monitorix/cronjob/[FATAL] autouse::__ANON__: Can't locate Capture/ in @INC (you may need to install the Capture::Tiny module) (@INC contains: /var/www/imscp/engine/PerlLib /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .) at /usr/share/perl/5.20/ line 53, <$fh> line 406.

    1. root@srv /var/www/imscp/gui/plugins/Monitorix # monitorix -vMonitorix version 3.9.0 (14-Oct-2016)by Jordi Sanfeliu <[email protected]>

    I had to install the perl modul Capture::Tiny

    1. perl -MCPAN -e 'install Capture::Tiny'

    After this the plugin was working fine

  • The Capture::Tiny Perl module is part of i-MSCP distribution. So here, there is a bug somewhere. Installing it through CPAN is not the right solution.

    Further more, you don't provide us with all required information:

    • i-MSCP version
    • i-MSCP Monitorix plugin version


  • i-MSCP 1.5.1
    Monitorix V1.2.2

    Freah installation
    i-MSCP plugin list ( ClamAV 1.3.0; Mailgraph 1.1.1; Monitorix 1.2.2; PolicydWeight 1.2.0;Postscreen 1.2.0; RoundcubePlugins 2.0.1;SpamAssasin 2.0.1)