Commit Graph

67 Commits

Author SHA1 Message Date
Jordi Sanfeliu 4c1f1e28ec removed an unused line #216 2019-01-02 10:08:21 +01:00
Jordi Sanfeliu a23d5337fe Extended the features of a single-server in Multihost mode
Added the ability to show all graphs of a single server instead of showing
only the System Load graph.

#216
2019-01-02 09:56:36 +01:00
Jordi Sanfeliu ce702bce45 added sanitization of CGI variables #203 2018-03-02 13:00:56 +01:00
Jordi Sanfeliu 5b55dbf6a6 removed unnecessary lines from 'monitorix.cgi' 2017-08-04 08:22:35 +02:00
Jordi Sanfeliu f9a4fe6ee5 fix the parallelizing mechanism 2017-07-20 18:37:03 +02:00
Jordi Sanfeliu 933372ff47 work-around to re-format graphs temporarily 2017-07-20 08:11:02 +02:00
Jordi Sanfeliu 60e3c47f83 real parallelizing working, still need fix the output order 2017-07-19 18:38:22 +02:00
Jordi Sanfeliu 5828a81086 introduced the option 'enable_parallelizing' in order to speed up the graph generation in multi-core systems 2017-07-19 16:26:10 +02:00
Jordi Sanfeliu 1cafabe1f4 added string encoding to avoid the message 'Wide character in print at ./monitorix.cgi line ...' #186 2017-07-03 12:40:02 +02:00
Jordi Sanfeliu dbea9d4b2b updated to 4.01 the HTML DOCTYPE declarations 2017-06-26 10:39:49 +02:00
Jordi Sanfeliu 880d2c5cab fixed the title in the header of the page to match with the current 'when=' value 2017-06-26 10:09:45 +02:00
Jordi Sanfeliu 26ca61a420 small fix 2017-01-03 10:27:44 +01:00
Jordi Sanfeliu 4c869094c9 fixed a typo 2016-12-30 09:57:27 +01:00
Jordi Sanfeliu 24f14a9c32 added the new option 'enable_back_button' to enable or disable such feature 2016-12-27 11:43:49 +01:00
Jordi Sanfeliu 6a63c0f7fa added a back button in the upper-left corner 2016-12-21 13:05:11 +01:00
graysky cd1601ff1c fix date ranges in CR 2016-10-03 14:42:03 -04:00
Jordi Sanfeliu 845317f83d added in 'monitorix.cgi' default initialization of some options 2016-01-25 18:18:52 +01:00
Jordi Sanfeliu 3851d0a96c fixed a DOM based XSS and a potential DoS vulnerabilities that affected the 'when' parameter of the 'monitorix.cgi' file 2015-11-13 12:56:40 +01:00
Jordi Sanfeliu b29d5e7827 updates to close version 3.6.90 2015-03-03 16:50:54 +01:00
Jordi Sanfeliu 52972c2853 added <pre> tag to the error message in 'monitorix.cgi' 2015-02-25 13:12:24 +01:00
Jordi Sanfeliu 193afdec6e fixed the color in the footer URLs in Multihost mode 2014-09-19 10:40:10 +02:00
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