Commit Graph

46 Commits

Author SHA1 Message Date
Jordi Sanfeliu b9f9eefd30 Added the new 'url_prefix_proxy' option to bypass the URL building in the CGI. Closes #58 2014-08-20 09:27:10 +02:00
Jordi Sanfeliu 68e35b0a12 fixed bad parenthesis positions 2014-07-29 10:56:35 +02:00
Jordi Sanfeliu 02eb4fb837 fixed to use closedir() instead close() when closing directories 2014-06-02 17:26:27 +02:00
Jordi Sanfeliu 1cb217a92a dded support to include Piwik tracking code 2014-06-02 17:11:02 +02:00
Jordi Sanfeliu 85adefe2bf Fix a bug that affected the 'emailreports' module, sending the emails without any graph 2014-05-06 09:56:24 +02:00
Jordi Sanfeliu db6e2739bf add more debug verbosity 2014-04-08 13:10:04 +02:00
Jordi Sanfeliu 12c83d3510 fixed to merge correctly any extra configuration files in conf.d/ directory 2014-04-08 11:27:49 +02:00
Jordi Sanfeliu 512dc644ec avoid error messages if 'include_dir' option is not present 2014-03-18 09:03:02 +01:00
Jordi Sanfeliu a7f5bff2bb make sure to load only .conf files 2014-03-11 11:18:58 +01:00
Jordi Sanfeliu d38acc5b59 closing 3.4.93 2014-03-11 09:53:09 +01:00
Jordi Sanfeliu 19299b15c1 added a new option called 'include_dir' to be able to load configuration files from a specific directory 2014-03-11 09:47:43 +01:00
Jordi Sanfeliu 4ac2cca39b small update 2014-03-03 17:45:40 +01:00
Jordi Sanfeliu f0ceacc7a6 more title fixes in the Multihost feature 2014-03-03 16:10:33 +01:00
Jordi Sanfeliu b4b0ef93d0 fix the title of certain graph in Multihost mode 2014-03-03 14:50:36 +01:00
Jordi Sanfeliu dd87652a25 fix regular expression to be more accurate 2014-02-20 08:58:24 +01:00
Jordi Sanfeliu 33042bb875 fix DOCTYPE 2014-01-27 11:46:17 +01:00
Jordi Sanfeliu 5e95dc31bb added DOCTYPE header line in 'monitorix.cgi' 2014-01-27 10:48:00 +01:00
Jordi Sanfeliu 0cf99d1353 fixed some HTML tags in 'monitorix.cgi' 2014-01-27 10:33:19 +01:00
Jordi Sanfeliu 5b9aaac8cd improved the way how is extracted the kernel version 2014-01-22 16:07:16 +01:00
Jordi Sanfeliu f66632ee9f fixed to enclose URLs with signle quotes in the Multihost HTML 2014-01-15 15:00:46 +01:00
Jordi Sanfeliu f7b843ebbf removed a debug line 2013-12-02 11:20:15 +01:00
Jordi Sanfeliu 1be43d91f9 fixed to handle correctly the 'https_url' option 2013-11-28 13:02:35 +01:00
K3A a65d12c40f new optional https_url config value
Hey,
I am suggesting a simple config addition.

When I started using https on my nginx, I decided to let Monitorix bind on 127.0.0.1 and use nginx as reverse-proxy. That worked fine, but Monitorix cgi kept using http:// scheme for its urls ($config{url} variable all over the Monitorix) which makes sense as it don't know I am proxying http requests which are https when looking at it from the outside world.

To illustrate - here is my setup:
BROWSER <-https-> NGINX (0.0.0.0) <-http-> MONITORIX (127.0.0.1)

This way I can protect monitorix and other similar locally-listening servers via nginx auth and https transfer.

The proposed change adds a new optional variable https_url which can be added to Monitorix confix file. When it's https_url = y, Monitorix will use https:// scheme for all links even when the internal monitorix server is listening for HTTP requests. All existing functionality for HTTPS CGI detection etc remains. I have tested all three cases (https_url se to y, to n and not set). Worked fine.

Cheers,
Mario
2013-11-24 15:38:28 +01:00
Jordi Sanfeliu 3122badb52 added a mark in the footer part on the html 2013-07-11 15:00:19 +02:00
Jordi Sanfeliu dfb67dec01 added a mark for each graph in the html 2013-07-10 18:46:45 +02:00
Jordi Sanfeliu 1002848255 fixed a bug introduced with the new <theme> option 2013-07-10 10:38:22 +02:00
Jordi Sanfeliu a23ffd2c08 small changes in text 2013-07-10 10:33:46 +02:00
Jordi Sanfeliu 7e90f75110 fixed a bug in Groups (Multihost view) that prevented from seeing the remote server's graphs of the selected group 2013-07-09 10:10:26 +02:00
Jordi Sanfeliu 8642f98553 fix the gap color in the white theme 2013-07-04 15:46:38 +02:00
Jordi Sanfeliu e5bdc2862b added the new 'gap' color in the configuration file, predefined by default as 'FFFFFF' 2013-06-28 12:38:53 +02:00
Jordi Sanfeliu 785d6933e0 reimplemented the 'theme' option 2013-06-18 16:00:28 +02:00
Jordi Sanfeliu 052e8f352e fixed the URL of the favicon 2013-02-11 13:06:01 +01:00
Jordi Sanfeliu c52c959ef8 updated configuration file to support the new HTTP builtin server 2013-02-07 18:37:09 +01:00
Jordi Sanfeliu 2b25949113 introduced HTTP server built-in 2013-01-31 18:48:29 +01:00
Jordi Sanfeliu b07ffc96db fixed the use libs 2013-01-17 17:56:38 +01:00
Jordi Sanfeliu 3fb3d3710c inversed 'use lib' lines 2013-01-16 15:12:21 +01:00
Jordi Sanfeliu 4ec1e63f69 fixed a bug in CGI that prevented honoring the 'hostname' configuration option 2013-01-14 16:49:16 +01:00
Jordi Sanfeliu d4693a320d last update for 3.0.0beta1 2013-01-10 12:18:28 +01:00
Jordi Sanfeliu e79cd3c49f added suppor for the 'traffacct' (network traffic accounting) graph 2013-01-08 17:22:05 +01:00
Jordi Sanfeliu 1400098ef8 renamed some options in 'multihost' graph 2013-01-07 12:58:56 +01:00
Jordi Sanfeliu a1a283e745 new 3.0 branch created 2013-01-04 09:27:05 +01:00
Jordi Sanfeliu 9ff2124cd8 fixed a bug in multihost introduced with groups code 2012-11-20 09:26:48 +01:00
Jordi Sanfeliu 7dc2198c0c fixed the naming of nfscv4 and nfssv4 2012-10-24 14:59:29 +02:00
Jordi Sanfeliu 521e97f974 added the array of NFSv4 client operations 2012-10-23 17:22:12 +02:00
Jordi Sanfeliu 053d537cc3 fixed a typo in monitorix.cgi that prevented honoring the NFSC_VERSION option 2012-10-23 17:17:42 +02:00
Jordi Sanfeliu e0f9883cba uploaded latest version 2012-10-22 16:26:37 +02:00