Commit Graph

142 Commits

Author SHA1 Message Date
Jordi Sanfeliu a40ee124e4 relax some warning messages about options not defined 2020-02-17 09:19:13 +01:00
Jordi Sanfeliu fe05c32185 make the option 'use_external_firewall' global #262 2019-11-21 09:51:31 +01:00
Jordi Sanfeliu 86bcee0fc3 make function 'flush_accounting_rules' aware of this new option 2019-11-20 17:13:57 +01:00
Jordi Sanfeliu ad2b7eee37 returns an original line #249 2019-08-27 17:15:15 +02:00
Jordi Sanfeliu 6ee6eabb03 do not auto-restart the built-in HTTP server if it returned '401 Access Denied' #249 2019-08-27 17:10:29 +02:00
Jordi Sanfeliu ad55557ef1 fixed the 'gensens' names in the right side list of the main page #170 2019-05-03 09:06:41 +02:00
Jordi Sanfeliu 0619d25ec1 completely rewritten the 'gensens.pm' module which includes now battery values as its third supported sensor #170 2019-05-02 15:46:57 +02:00
Jordi Sanfeliu 638ca91bdd
Merge pull request #231 from duc996/fix_blocked_main_loop
Fix bug fixes #230 where the main loop sleeps forever.
2019-04-30 09:52:02 +02:00
Jordi Sanfeliu 2b578d626d small cosmetic change 2019-04-10 15:50:05 +02:00
Georg Hofmann 2ada996f95 Fix bug where the main loop sleeps forever.
On some system the alarm & pause sequence breaks with high system loads.
2019-04-01 12:35:22 +02:00
Jordi Sanfeliu a03a70d3ef closing 3.11.0 2019-03-14 15:41:20 +01:00
Jordi Sanfeliu 9527c0233b small updates to syncronize nomenclature 2019-03-13 09:05:34 +01:00
Jordi Sanfeliu 8b289d879f New option 'default_option_when_all' for Multihost mode
Now that in Multihost mode anyone can select the option "All" in the Hostname list and "All graphs" in the Graph list, this may, accidentally, hang the browser for a while due to the huge amount of images to download remotely from different servers.

In order to prevent precisely that, this new option defines which option in the Graph list will be selected ("System load" by default) automatically when the user selects 'All' in the Hostname list.

Of course, the user is still able to change it to "All graphs" at any moment, and at his own risk :-). #216
2019-03-09 20:28:32 +01:00
Jordi Sanfeliu e796f6652d Added a new option called 'autocheck_responsiveness' for the HTTP built-in
There is a well known problem with the HTTP built-in server that Monitorix
implements using the Perl module 'HTTP::Server::Simple'. It looks like it's
pretty weak to the common attacks that any web server receives every day.

As a consequence of that, it just hangs, and when you want to see the stats of
your server, you just see your browser waiting for a response that never comes,
which ends up with a timeout. In these cases, you are forced to login to your
server and restart Monitorix, in order to refresh the HTTP built-in server.

I was frustrated because I was completely unable to reproduce locally the kind
of attack that seems to do a DoS to the HTTP built-in server, so in order to
mitigate (hopefully) all this annoying hangups, I've created an autocheck to
control the responsiveness of the HTTP server on every minute, and in case of
no response then it will be restarted automatically. This is controlled by a new
option called 'autocheck_responsiveness' which by default is enabled.

Let's see how this is working!
2019-02-28 09:41:55 +01:00
Jordi Sanfeliu d4d76d775d Restart HTTP built-in on every SIGHUP
Now the HTTP built-in will be restart every time Monitorix received the
SIGHUP signal. This should also fix thos annoying sporadic hangups of the
HTTP server, and also a truncation in the recent rotated logfile.
2018-10-17 11:54:05 +02:00
Jordi Sanfeliu 3fd7a094b4 Fixed the 777 permission bits in the 'imgs/' directory
Removed the default installation 777 permission bits mode for the '/imgs/
directory in 'docs/monitorix.spec' and 'Makefile'.

Forced to setup the owner, group and the permission bits (now to 755) to the
'imgs/' directory every time Monitorix is started.
2018-10-04 12:51:33 +02:00
Jordi Sanfeliu 9fa1c0659f fix the use of an uninitialized variable if the configuration file supplied doesn't exist 2018-07-06 09:06:59 +02:00
Jordi Sanfeliu fd52846ea4 small corrections 2018-03-19 12:31:35 +01:00
Jordi Sanfeliu 31b1752ff8 small fixes 2018-03-06 09:57:50 +01:00
Jordi Sanfeliu a812931056 fixed to set permissions 0600 to log files 2018-03-05 16:54:36 +01:00
Jordi Sanfeliu 4319a51691 Added a complete graph to support external ambient sensors ('ambsens.pm') 2017-11-24 09:06:40 +01:00
Jordi Sanfeliu 90fba55cd5 closing 3.10.0 version 2017-09-25 20:58:48 +02:00
Jordi Sanfeliu 39a76966a2 small update 2017-09-01 11:58:55 +02:00
Jordi Sanfeliu 6e2306909b now 'net.pm' is able to monitor unlimited number of network interfaces. #188 2017-08-31 16:15:36 +02:00
Jordi Sanfeliu dbea9d4b2b updated to 4.01 the HTML DOCTYPE declarations 2017-06-26 10:39:49 +02:00
Sebastian Blade 9295fd7daa Make whole word & radio button clickable 2017-06-15 21:11:03 +08:00
Jordi Sanfeliu 0fdc7f2f60 from now on the perl-HTTP-Server-Simple module only is only loaded if the HTTP built-in is enabled 2017-01-13 10:14:47 +01:00
Jordi Sanfeliu 714cf09f1c added a complete graph for IPMI sensors using the 'ipmitool' command 2016-12-20 10:13:57 +01:00
Jordi Sanfeliu 44e2aa5547 closing 3.9.0 2016-10-14 12:14:45 +02:00
graysky cd1601ff1c fix date ranges in CR 2016-10-03 14:42:03 -04:00
Jordi Sanfeliu 2e0d232016 fixed a missing right curly bracket. #152 2016-06-03 10:49:10 +02:00
Jordi Sanfeliu 7cb0fadfdd Now it's not needed to have also reports enabled in 'traffacct.pm' to generate daily traffic counters 2016-05-20 10:15:12 +02:00
Håkon Løvdal f4b5466e72 Remove max_historic_years limitation 2016-04-11 21:41:59 +02:00
Jordi Sanfeliu 78577b6e6e added the new option 'enable_hourly_view' which enables the ability to select the hourly view in the main page. #141 2016-03-01 11:10:41 +01:00
Jordi Sanfeliu d63494dc16 moved to 'monitorix.cgi' default initialization of some configuration options 2016-01-25 18:18:21 +01:00
Jordi Sanfeliu f4941609c2 added the new option 'priority' to set the priority value in which Monitorix will run 2015-12-28 15:59:05 +01:00
Jordi Sanfeliu 6d16857ce9 closing 3.8.1 2015-11-13 12:58:34 +01:00
Jordi Sanfeliu f2f766d49c minor update 2015-09-24 10:18:15 +02:00
Jordi Sanfeliu 6d3b030725 fixed a missing identifier in sprintf(). #109 2015-09-17 15:34:48 +02:00
Jordi Sanfeliu b532d36597 closing 3.8.0 2015-09-16 19:36:23 +02:00
Jordi Sanfeliu 4ece273b95 fixed to avoid checking 'iptables' version on BSD systems 2015-07-20 13:02:58 +02:00
Jordi Sanfeliu 6c9be9830c added a complete graph for 'du' command 2015-05-06 12:56:54 +02:00
Jordi Sanfeliu aa9db251c2 added a default value and updated Changes #90 2015-04-09 09:04:25 +02:00
Eric Seifert 957c2a6864 Add custom url config option for top logo link 2015-04-08 16:03:10 -07:00
Jordi Sanfeliu e7fcfe5985 closing 3.7.0 2015-03-12 09:15:52 +01:00
Jordi Sanfeliu 27d094b83c updates to close 3.6.92 2015-03-04 15:11:18 +01:00
Jordi Sanfeliu 2e572da599 version update 2015-03-04 08:21:17 +01:00
Jordi Sanfeliu b29d5e7827 updates to close version 3.6.90 2015-03-03 16:50:54 +01:00
Jordi Sanfeliu 89d9b528e9 Fixed the 'process' graph in Multihost mode 2015-02-25 13:19:11 +01:00
Jordi Sanfeliu f9eaab22be Port graph now uses the wait lock option ('--wait') in newer 'iptables' versions. #73 2015-02-17 15:36:42 +01:00