Monitorix net Graph

  • 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

  • Please, open a ticket on youtrack.

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