Monitorix problem

  • Hi all,


    I got a problem with the latest Monitorix plugin. I tried to install the version 1.1.1.
    I installed every lib which is needed, restarted the monitorix service and installed the plugin after that.
    The installation works and the activation too but when I try to access the Monitorix page I get this error:

    Code
    1. An unexpected error occuredAn unexpected error occurred. Please contact your administrator.


    At the same time I get this mail:



    To be sure, I removed monitorix completly [apt-get purge monitorix] (removed the /etc/monitorix folder too) and retried it. Same thing.
    I took a look at the readme file and at the monitorix page:
    http://www.monitorix.org/doc-debian.html


    Of course I checked the wiki page too:
    http://wiki.i-mscp.net/doku.php?id=plugins:monitorix



    Someone got an idea how to solve it?
    I am not sure if I forgot something but atm I dont see the reason for that error. :S
    Edit: I read in another topic that I don't need the CronJob plugin, so I didn't installed that one. Might that be the problem?

    Have a nice day. :)

  • Hello ;


    The problem has nothing to do with the Monitorix plugin. If you get that error, it's because at some point, you installed the cronjobs plugin which is not longer available on your system (don't know why). The simplest way is to remove the cronjobs plugin related entry from the imscp.plugin table. Once done, try to reinstall the Monitorix plugin again.

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

  • The thing is I never installed that plugin. Checked but I (obviously in that case) found nothing from that plugin. :/ :-/

    Have a nice day. :)

  • Ok, you're right ;) This is a bug in the Monitorix plugin which reference the cronjobs plugin...



    https://github.com/i-MSCP/plug…ontend/monitorix.php#L222


    Should be:


    PHP
    1. $pluginInfo = Registry::get('pluginManager')->getPluginInfo('Monitorix');


    I'll fix that tomorrow. For now, You can edit the file manually in /var/www/imscp/gui/plugins/Monitorix/frontend/monitorix.php

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