Commit Graph

1779 Commits

Author SHA1 Message Date
Jordi Sanfeliu ef8698add5 updated documentation and Changes. #196 2019-03-07 09:29:59 +01:00
Jordi Sanfeliu 4174fea546 Introduced the option 'cmd' in 'netstat.pm'
From now on the user will have the opportunity to select which
command will use to gather the network status statistics. The
new option 'cmd' supports two values 'netstat' or 'ss', being
the later the value by default.

If the 'cmd' option is not defined, then the command line used
will be 'ss', that's because in newer Linux systems it looks like
the command 'netstat' is being deprecated.

In older Linux systems people will be forced to use the 'netstat'
command because, early 'ss' versions doesn't contain the protocol
column in its output, which breaks the regexp used to extract the
the values. #196
2019-03-07 09:14:13 +01:00
Jordi Sanfeliu 3fc9cab78c small typo 2019-03-06 17:55:26 +01:00
Jordi Sanfeliu 49ef3a3528 Improved the alerting system in 'ambsens.pm'
From now on, the alerts accepts a forth parameter that specifies
when the alert will be triggered. This parameter accepts two values:
'above' or 'below', being the 'above' the default value if it's not
specified, in order to keep backwards compatibility.

This way, if some value in the graph is 'above' or 'below' from the
threshold during more time than specified in the timeout value, the
alert will be triggered.

The manpage has also been updated to reflect this new feature. #221
2019-03-01 17:59:35 +01:00
Jordi Sanfeliu bfb6ccac1f small update in the manpage. #221 2019-03-01 17:47:15 +01:00
Jordi Sanfeliu 0e6447a281 Removed a pair of debugging lines in 'gensens.pm'
In the alert system there were left a pair of debugging lines to print
that range value are not supported. Now that message is sent to logger. #221
2019-03-01 17:42:24 +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 db68888f3f added Exim support in 'mail.pm'. [#96] 2019-02-25 09:38:00 +01:00
Jordi Sanfeliu 17c14dd8db update Changes 2019-02-18 18:04:46 +01:00
Jordi Sanfeliu e14e44a396 updated Changes 2019-02-08 09:58:31 +01:00
Jordi Sanfeliu c844810dfc updated the manpage. #221 2019-02-08 09:58:16 +01:00
Jordi Sanfeliu acc3f1bb62 Improved the alerting system in 'gensens.pm'
From now on, the alerts accepts a forth parameter that specifies
when the alert will be triggered. This parameter accepts two values:
'above' or 'below', being the 'above' the default value if it's not
specified, in order to keep backwards compatibility.

This way, if some value in the graph is 'above' or 'below' from the
threshold during more time than specified in the timeout value, the
alert will be triggered.

#221
2019-02-08 09:45:12 +01:00
Jordi Sanfeliu 487a260067 update Changes with #218 2019-01-16 12:32:40 +01:00
Jordi Sanfeliu 7f0fde037f
Merge pull request #218 from rabagliati/master
negative ipmi thermal margin
2019-01-16 12:27:46 +01:00
Andy Rabagliati f843f631fc full path for monitorix.conf.path 2019-01-16 10:22:36 +02:00
Andy Rabagliati ea82cfd825 allow negative thermal margin values in ipmi 2019-01-16 10:21:22 +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 0ad30ae598 update Changes 2019-01-03 13:09:58 +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 219eec240f update Changes 2018-10-26 12:49:46 +02:00
Jordi Sanfeliu 4a81531d19 added in 'du.pm' the ability to count files in every directory defined. #112 2018-10-26 12:49:24 +02:00
Jordi Sanfeliu b76c9ceec3 fixed a typo in 'lib/Monitorix.pm' 2018-10-22 09:44:17 +02: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 d81c5282de fixed to set permissions 0600 to HTTP built-in log files 2018-10-17 11:35:46 +02:00
Jordi Sanfeliu e7bd235cb3 fixed in HTTP built-in to force authentication (when enabled) always, even on non-existing pages 2018-10-05 09:54:06 +02:00
Jordi Sanfeliu d768bed4fc added credits 2018-10-04 12:53:59 +02:00
Jordi Sanfeliu 8a3f2cd48d update Changes 2018-10-04 12:53:18 +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 5b9d6a5f89 small cosmectic change 2018-10-03 12:21:24 +02:00
Jordi Sanfeliu 561fb1684f updated manpage to reflect the support of substrings referenced in #136 2018-08-02 12:03:38 +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 639e412e59 entropy disabled while waiting for a solution 2018-05-15 09:48:58 +02:00
Jordi Sanfeliu f260e1cdf1 small adjustments #190 2018-03-23 11:38:27 +01:00
Jordi Sanfeliu 6f8ffd0d2e added ZFS iostat per pool in 'zfs.pm' #190 2018-03-23 11:29:07 +01:00
Jordi Sanfeliu 6b0913143a removed 'memory_mode' option #204 2018-03-19 13:14:47 +01:00
Jordi Sanfeliu d7fa9e9e6d changed the way how the Used value in Memory graph is calculated #204 2018-03-19 13:09:58 +01:00
Jordi Sanfeliu fd52846ea4 small corrections 2018-03-19 12:31:35 +01:00
Jordi Sanfeliu 593e1a7ea7 fixed in 'zfs.pm' the way how is collected pool's data 2018-03-19 12:30:29 +01:00
Jordi Sanfeliu 10ad53ffbd fix a typo #31b1752ff8c45dc9d6564b3db598aed51c73ab4e 2018-03-09 19:16:34 +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 9dec96237d update Changes 2018-03-05 16:40:50 +01:00
Jordi Sanfeliu e9a78f2b48 fixed to disable 'echo' when typing the password 2018-03-05 16:39:52 +01:00
Jordi Sanfeliu 15f707bb2e update Changes 2018-03-05 16:34:10 +01:00
Jordi Sanfeliu 620786c127 update Changes 2018-03-05 16:22:24 +01:00
Jordi Sanfeliu 7b1cc6c8e9 fixed to check if setgid() and setuid() functions were successful 2018-03-05 16:21:09 +01:00
Jordi Sanfeliu 8b18d23e60 update Changes 2018-03-05 16:02:01 +01:00