Monitorix

  • I have problem with this plugin too.
    (i-mscp 1.2.16, debian jessie)


    Install was ok, I have some graph under Statistics menu.
    But I want to modify the config.php file, because I need some other graphs.


    After this, I disable/enable the plugin, restart the imscp_daemon, monitorix daemon, but nothing changed.


    The perl /var/www/imscp/gui/plugins/Monitorix/cronjob/cronjob.pl command says:



    Quote

    [FATAL] iMSCP::Debug::__ANON__: Missing bin_path configuration parameter at /var/www/imscp/gui/plugins/Monitorix/backend/Monitorix.pm line 330, <$fh> line 350.


    bin_path in the config.php file is:



    Quote

    return array(
    // Monitorix binary path ( default: /usr/bin/monitorix )
    'bin_path' => '/usr/bin/monitorix',

    It's seems correct for me.



    Any idea?

    i-MSCP 1.5.3
    Plugins (latest version): ClamAV, CronJobs, DomainAutoApproval, LetsEncrypt, OpenDKIM, PanelRedirect, PhpSwitcher, PolicydSPF, Postgrey, RecaptchaPMA, RoundcubePlugins, SpamAssasin, WHMCS

  • There's a bug in Monitorix 1.2.1 - you should use the 1.2.2 from https://github.com/i-MSCP/plug…aster/incubator/Monitorix. This version works for me without problems...

    Thank you @team-o it's a little better, but not perfect.


    I uninstalled the previous version, and delete, after it install this version (1.2.2)
    First, I have not /var/www/imscp/gui/plugins/Monitorix/themes/default/assets/images/graphs dir, but I solved, create this.


    ftp graphs wasn't ok, because wrong file name in the 20-imscp.conf file:
    ftp_log = /var/log/proftpd/access.log


    correct is:
    ftp_log = /var/log/proftpd/xferlog


    Now, the basic graphs works, but I want to use these too:
    - mysql
    I made the changes in /etc/monitorix/conf.d/00-debian.conf set the correct mysql user/password, but I have no mysql graphs.


    - fail2ban
    No graphs. I think, maybe no fail2ban activity today.


    - du
    It's not listed on the frontend select box.
    It's very strange, because I added it to the config.php file graph_enabled section.


    But what I saw after every file (config.php) modification:
    It has no any effect in /etc/monitorix/conf.d file.
    Deactivate/activate plugin no any effect.



    Btw a made hungarian translation for this plugin.

    i-MSCP 1.5.3
    Plugins (latest version): ClamAV, CronJobs, DomainAutoApproval, LetsEncrypt, OpenDKIM, PanelRedirect, PhpSwitcher, PolicydSPF, Postgrey, RecaptchaPMA, RoundcubePlugins, SpamAssasin, WHMCS

  • @Dylan


    When changing plugin conffile, you need to update plugin list through plugin administration interface to trigger plugin change. Activation/Deactivation is not the same thing.

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