Solution: Monitorix no graphs shown

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


    Code
    1. perl /var/www/imscp/gui/plugins/Monitorix/cronjob/cronjob.pl[FATAL] autouse::__ANON__: Can't locate Capture/Tiny.pm 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/autouse.pm line 53, <$fh> line 406.


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


    I had to install the perl modul Capture::Tiny



    Code
    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

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • 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)