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
I can not find nothing in the logs helping me to figure out what's happening.
/var/log/monitorix
- 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
- [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:
- [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=_proc1 when=1hour color=white silent=imagetag
- [Mon Feb 16 14:34:54 2015] [debug] iMSCP::Execute::getExitCode: External command exited with value 0
- [Mon Feb 16 14:34:54 2015] [debug] Plugin::Monitorix::buildGraphs: Content-Type: text/html
- <a href="javascript:void(window.open('http:///monitorix/themes/default/assets/images/graphs/_proc1z.1hour.png','','width=915,height=400,scrollbars=0,resizable=0'))"><img src='http:///monitorix/themes/default/assets/images/graphs/_proc1.1hour.png' border='0'></a>
- <br>
- [Mon Feb 16 14:34:54 2015] [debug] iMSCP::Execute::execute: Executing command: /usr/bin/perl /var/lib/monitorix/www/cgi/monitorix.cgi mode=localhost graph=_proc1 when=1day color=white silent=imagetag
- [Mon Feb 16 14:34:55 2015] [debug] iMSCP::Execute::getExitCode: External command exited with value 0
- [Mon Feb 16 14:34:55 2015] [debug] Plugin::Monitorix::buildGraphs: Content-Type: text/html
- <a href="javascript:void(window.open('http:///monitorix/themes/default/assets/images/graphs/_proc1z.1day.png','','width=915,height=400,scrollbars=0,resizable=0'))"><img src='http:///monitorix/themes/default/assets/images/graphs/_proc1.1day.png' border='0'></a>
- <br>
- [Mon Feb 16 14:34:55 2015] [debug] iMSCP::Execute::execute: Executing command: /usr/bin/perl /var/lib/monitorix/www/cgi/monitorix.cgi mode=localhost graph=_proc1 when=1week color=white silent=imagetag
- [Mon Feb 16 14:34:55 2015] [debug] iMSCP::Execute::getExitCode: External command exited with value 0
- [Mon Feb 16 14:34:55 2015] [debug] Plugin::Monitorix::buildGraphs: Content-Type: text/html
- <a href="javascript:void(window.open('http:///monitorix/themes/default/assets/images/graphs/_proc1z.1week.png','','width=915,height=400,scrollbars=0,resizable=0'))"><img src='http:///monitorix/themes/default/assets/images/graphs/_proc1.1week.png' border='0'></a>
- <br>
- [Mon Feb 16 14:34:55 2015] [debug] iMSCP::Execute::execute: Executing command: /usr/bin/perl /var/lib/monitorix/www/cgi/monitorix.cgi mode=localhost graph=_proc1 when=1month color=white silent=imagetag
- [Mon Feb 16 14:34:56 2015] [debug] iMSCP::Execute::getExitCode: External command exited with value 0
- [Mon Feb 16 14:34:56 2015] [debug] Plugin::Monitorix::buildGraphs: Content-Type: text/html
- <a href="javascript:void(window.open('http:///monitorix/themes/default/assets/images/graphs/_proc1z.1month.png','','width=915,height=400,scrollbars=0,resizable=0'))"><img src='http:///monitorix/themes/default/assets/images/graphs/_proc1.1month.png' border='0'></a>
- <br>
- [Mon Feb 16 14:34:56 2015] [debug] iMSCP::Execute::execute: Executing command: /usr/bin/perl /var/lib/monitorix/www/cgi/monitorix.cgi mode=localhost graph=_proc1 when=1year color=white silent=imagetag
- [Mon Feb 16 14:34:56 2015] [debug] iMSCP::Execute::getExitCode: External command exited with value 0
- [Mon Feb 16 14:34:56 2015] [debug] Plugin::Monitorix::buildGraphs: Content-Type: text/html
- <a href="javascript:void(window.open('http:///monitorix/themes/default/assets/images/graphs/_proc1z.1year.png','','width=915,height=400,scrollbars=0,resizable=0'))"><img src='http:///monitorix/themes/default/assets/images/graphs/_proc1.1year.png' border='0'></a>
- <br>
Could this be the issue ? How can I do in order to correct this ?
Any help really appreciated.
Thank you, bye Kess