Posts by kess

    Hi guys,
    after the last update of the plugin everything is perfect. With one of the previous versions (don't remember which one) I was able to activate the graphic of the "net" traffic.
    If I try to enable that graph with the current version, no graph is generated.


    I've tried everything in order to configure this graph, but without success.


    System: Debian Wheezy x64 (last updates installed)
    i-MSCP: 1.1.22 (dovecot + apache2 + php5-fpm)
    Monitorix: 3.6.0, with Plugin 1.1.2


    contents of /etc/monitorix/conf.d/30-local.conf

    Code
    1. # NET graph# -----------------------------------------------------------------------------<net> list = eth0,lo <desc> eth0 = FastEthernet LAN, 0, 10000000 lo = Loopback Interface, 0, 1000000000 </desc> gateway = eth0</net>


    I can not find nothing in the logs helping me to figure out what's happening.
    /var/log/monitorix

    Code
    1. Mon Feb 16 14:34:50 2015 - Starting Monitorix version 3.6.0 (pid 19326).Mon Feb 16 14:34:50 2015 - Loaded main configuration file '/etc/monitorix/monitorix.conf'.Mon Feb 16 14:34:50 2015 - Loading extra configuration file '/etc/monitorix/conf.d/00-debian.conf'.Mon Feb 16 14:34:50 2015 - Loading extra configuration file '/etc/monitorix/conf.d/20-imscp.conf'.Mon Feb 16 14:34:50 2015 - Loading extra configuration file '/etc/monitorix/conf.d/30-local.conf'.Mon Feb 16 14:34:51 2015 - Initializing graphs.Mon Feb 16 14:34:51 2015 - Generating the 'index.html' file.Mon Feb 16 14:34:51 2015 - Ok, ready.


    /var/log/imscp/Plugin_module_Monitorix.log

    Code
    1. [Mon Feb 16 14:34:50 2015] [debug] iMSCP::Execute::execute: Executing command: /usr/bin/perl /var/lib/monitorix/www/cgi/monitorix.cgi mode=localhost graph=_net1 when=1hour color=white silent=imagetag[Mon Feb 16 14:34:51 2015] [debug] iMSCP::Execute::getExitCode: External command exited with value 0[Mon Feb 16 14:34:51 2015] [debug] Plugin::Monitorix::buildGraphs: Content-Type: text/html <br>[Mon Feb 16 14:34:51 2015] [debug] iMSCP::Execute::execute: Executing command: /usr/bin/perl /var/lib/monitorix/www/cgi/monitorix.cgi mode=localhost graph=_net1 when=1day color=white silent=imagetag[Mon Feb 16 14:34:51 2015] [debug] iMSCP::Execute::getExitCode: External command exited with value 0[Mon Feb 16 14:34:51 2015] [debug] Plugin::Monitorix::buildGraphs: Content-Type: text/html <br>[Mon Feb 16 14:34:51 2015] [debug] iMSCP::Execute::execute: Executing command: /usr/bin/perl /var/lib/monitorix/www/cgi/monitorix.cgi mode=localhost graph=_net1 when=1week color=white silent=imagetag[Mon Feb 16 14:34:52 2015] [debug] iMSCP::Execute::getExitCode: External command exited with value 0[Mon Feb 16 14:34:52 2015] [debug] Plugin::Monitorix::buildGraphs: Content-Type: text/html <br>[Mon Feb 16 14:34:52 2015] [debug] iMSCP::Execute::execute: Executing command: /usr/bin/perl /var/lib/monitorix/www/cgi/monitorix.cgi mode=localhost graph=_net1 when=1month color=white silent=imagetag[Mon Feb 16 14:34:53 2015] [debug] iMSCP::Execute::getExitCode: External command exited with value 0[Mon Feb 16 14:34:53 2015] [debug] Plugin::Monitorix::buildGraphs: Content-Type: text/html <br>[Mon Feb 16 14:34:53 2015] [debug] iMSCP::Execute::execute: Executing command: /usr/bin/perl /var/lib/monitorix/www/cgi/monitorix.cgi mode=localhost graph=_net1 when=1year color=white silent=imagetag[Mon Feb 16 14:34:53 2015] [debug] iMSCP::Execute::getExitCode: External command exited with value 0[Mon Feb 16 14:34:53 2015] [debug] Plugin::Monitorix::buildGraphs: Content-Type: text/html <br>


    The only difference I can see there if compared with other graphic logs is that there will be a js link generated. For example:


    Could this be the issue ? How can I do in order to correct this ?
    Any help really appreciated.
    Thank you, bye Kess

    Add in /etc/hosts the following:
    127.0.0.1 imap.yourhostname
    127.0.0.1 smtp.yourhostname


    Where yourhostname is the FQHN of your server.
    Tel us if it works...

    Thank you very much, it works perfectly with the default configuration.


    I tried to enable the "net" graph, but without success. No graphs are generated.
    1. Enabled in config.php under the plugin path
    2. created the file 30-local.conf under /etc/monitorix/conf.d/
    Contents:

    Code
    1. # NET graph
    2. # -----------------------------------------------------------------------------
    3. <net>
    4. list = eth0
    5. <desc>
    6. eth0 = FastEthernet LAN, 0, 10000000
    7. </desc>
    8. gateway = eth0
    9. </net>


    What could I do in order to investigate further ?
    The monitorix log doesn't tell nothing...
    Thank you very much.

    Thank you very much @Nuxwin
    I'll wait for the next release.
    Regarding mail graphs no problem, there's another fantastic plugin for that... I use it without problems.


    As soon as you release the new version I'll let you know if it resolves the present issues with the default configuration.