Commit Graph

103 Commits

Author SHA1 Message Date
Jordi Sanfeliu 9a831bcfdc substituted leading spaces to tabs in some lines of code 2022-09-13 15:48:55 +02:00
Jordi Sanfeliu 25b801d7dc fix permission bits in monitorix.cgi 2022-07-27 09:26:41 +02:00
Jordi Sanfeliu 99fbc51fc1
Merge pull request #428 from bachandi/inhibit_locking_env
Add option to disable rrd locking during cgi calls
2022-07-22 09:00:38 +02:00
Andreas Bachlechner 5e7b84e620 Add INHIBIT_LOCKING environment variable to disable rrd locking during the cgi call on a per call basis. 2022-07-05 21:47:28 +02:00
Andreas Bachlechner bdba89d33f Apply the configured colours not only for black but also for the white case. 2022-07-05 21:40:08 +02:00
Jordi Sanfeliu 899c57a8ba added support to enable relative URLs in graphs #410 2022-03-04 09:43:13 +01:00
Andreas Bachlechner a739e5dacb Add rrd locking.
- Add an enable_rrd_lock config option to enable it.
- It creates a lock file and uses it via flock when reading and writing rrd files.
2022-02-23 11:55:15 +01:00
Andreas Bachlechner 53bd054a09 Add additional_graph_name config option.
This is an optional configuration option for configuration files
in include_dir. It takes a comma separated list of additional
modules that is appended to the graph_name option. This enables
you to add custom modules without changing the monitorix.conf or
copy all names from graph_name to your config file.
2022-01-30 14:25:15 +01:00
Jordi Sanfeliu ae6c04bad4 closing version 3.14.0 2022-01-18 10:34:50 +01:00
Jordi Sanfeliu d13bb54c0e fixed to not treat option 'graph_name' as special as it ends up duplicating graphs #383 2022-01-17 09:33:57 +01:00
Jordi Sanfeliu a64381853b
Merge pull request #340 from bachandi/webappfullscreen
Add posibility to view the website as web app in full screen mode
2021-08-30 11:26:52 +02:00
Andreas Bachlechner 9ee62e9a62 Add config option to show a main menu button. 2021-08-22 15:41:04 +02:00
Andreas Bachlechner 32252c8ff4 Add posibility to view the website as web app in full screen mode 2021-08-21 09:37:20 +02:00
Jordi Sanfeliu de3cdc655e added support of the new argument '-s' also in monitorix.cgi 2021-05-31 12:31:04 +02:00
Jordi Sanfeliu c0d8f8ddd4 closing version 3.13.0 2021-01-22 08:56:50 +01:00
Jordi Sanfeliu 43c2e93f1a Fixed the behavior of the options in the extra configuration file.
A configuration file can contain sections, subsections and even
subsubsections in the form of:

<gensens>	<-- this is a section or module
	<list>		<-- this is a subsection
		0 = temp0
		1 = cpu0
		2 = bat0
	</list>
	...

If you plan to create an extra configuration file in 'conf.d/', you
must know that, from now on, you'll be forced to define the whole
subsection even when you are changing only a single value of it.
Otherwise your results might vary from what you expect.

For instance, imagine you want to monitor a second CPU in the
'gensens' module. You will create an extra configuration file in
'conf.d/' to include a second CPU (cpu1) in the key '1' inside the
subsection 'list'. In that case your extra configuration file
should define the section 'gensens' as this:

<gensens>
	<list>
		0 = temp0
		1 = cpu0, cpu1
		2 = bat0
	</list>
</gensens>

That is, you must include the whole subsection 'list' with all the
rest of options. The rest of subsections of 'gensens' are not needed
because they have not been changed. Monitorix will use the subsections
configured in the main configuration file.
2021-01-14 13:03:54 +01:00
Jordi Sanfeliu 393df08ea7 fix to use 'white.css' when no color is provided in the CGI 2020-12-03 11:21:53 +01:00
z-eos 133920c092 text-title-multihost-one extended 2020-11-12 21:11:46 +02:00
z-eos ad92a49157 .text-title-multihost-one added to monitorix.cgi 2020-11-12 20:49:59 +02:00
z-eos e9b90fa6d7 .text-tile-date added to date 2020-11-12 20:35:53 +02:00
z-eos 574524d1c7 monitorix.cgi fix 2020-11-12 18:15:13 +02:00
z-eos 863a236adf name class fix 2020-11-11 17:41:08 +02:00
z-eos b2c96b3195 class text-title-multihost introduced 2020-11-09 21:37:01 +02:00
z-eos 7eb87dda1c blank lines removal 2020-11-09 18:54:34 +02:00
z-eos c4b8a0fb84 path fix 2020-11-09 18:28:11 +02:00
z-eos e0208fd497 add class to table/s for modules 2020-11-09 18:23:32 +02:00
z-eos 63f34df368 extra RRD options withdrawal 2020-11-06 19:39:30 +02:00
z-eos 2fcb73ae32 css file name fix 2020-11-06 12:47:28 +02:00
z-eos 224b6d81e0 css introduced to monitorix.cgi file 2020-11-05 21:27:02 +02:00
Jordi Sanfeliu edc0a12389 fixed to trimming leading and trailing character spaces from the comma-separated values in 'multihost' graphs 2020-04-14 09:13:17 +02:00
Jordi Sanfeliu cf3cd9e9a7 closing 3.12.0 2020-02-21 10:36:35 +01:00
Jordi Sanfeliu 9648a3d787 fixed the copyright year to 2019 2019-03-18 18:05:36 +01:00
Andy Rabagliati f843f631fc full path for monitorix.conf.path 2019-01-16 10:22:36 +02:00
Jordi Sanfeliu fa6c341336 Fixed naming scheme
The naming scheme of some graphs are tricky in the way that they not sufixed
by a single numeric digit, but a double with padding (mostly a zero). This
commit fixes the numeric scheme of 'fs' and 'net' graphs, in the event of
when the user selects all graphs of all remote servers.

Still there might be possible that some graph does not appear because the
master server has a different configuration that the remote servers.

#216
2019-01-08 17:11:56 +01:00
Jordi Sanfeliu e4a90c5b18 fix identation 2019-01-08 16:29:00 +01:00
Jordi Sanfeliu b847924d8c Extended the features of multiple-servers in Multihost mode
Added the ability to show all graphs (side-by-side) of all remote servers instead of showing
only the System Load graph.

#216
2019-01-03 09:28:57 +01:00
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