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
Jordi Sanfeliu
531b9096f6
added some comments in code
2014-09-03 17:02:28 +02:00
Jordi Sanfeliu
1c4d22b5d3
closing 3.6.0
2014-08-20 10:14:16 +02:00
Jordi Sanfeliu
f6530c65e9
fixed bad parenthesis positions
2014-07-29 10:55:48 +02:00
Jordi Sanfeliu
80b8942dff
added check for inconsistencies during initialization
2014-07-29 10:51:34 +02:00
Jordi Sanfeliu
8b1ec8d4ec
added the new option 'ip_default_table' to define in which table Monitorix ill put all iptables rules for network traffic accounting monitoring
2014-06-26 11:50:17 +02:00
Jordi Sanfeliu
2f2a801bc9
small cosmetic update
2014-06-19 09:44:02 +02:00
Jordi Sanfeliu
b5dcdf6804
added verbosity to denote it's ready
2014-06-17 10:04:26 +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
cfd44576ce
added more verbosity during the startup
2014-05-21 15:32:07 +02:00
Jordi Sanfeliu
d7c0c87d91
closing 3.5.1
2014-05-06 11:28:10 +02:00
Jordi Sanfeliu
db6e2739bf
add more debug verbosity
2014-04-08 13:10:04 +02:00
Jordi Sanfeliu
198cc361e6
add more debug-verbosity
2014-04-08 13:04:40 +02:00