Commit Graph

1563 Commits

Author SHA1 Message Date
Jordi Sanfeliu afdc328f14 update Changes #238 2019-04-26 23:32:41 +02:00
Jordi Sanfeliu 0dd2e76046
Merge pull request #238 from abqcheeks/freebsdnfs
Add support for FreeBSD NFS Server stats
2019-04-26 23:31:09 +02:00
abqcheeks d598b9be5a Add support for FreeBSD NFS Server stats. Might also work for
OpenBSD and/or NetBSD, but not tested so not enabled.
2019-04-26 11:45:36 -06:00
Jordi Sanfeliu cc6cb1ec47 removed a debugging line 2019-04-24 10:44:31 +02:00
Jordi Sanfeliu e223b0fc20 small typo #221 2019-04-23 16:16:15 +02:00
Jordi Sanfeliu ac0d3da018 small fix #221 2019-04-23 16:15:48 +02:00
Jordi Sanfeliu 19eff008fb added the ability, in the alerts of 'ambsens.pm', to support a range of two values separated by a dash in the threshold #221 2019-04-23 16:13:41 +02:00
Jordi Sanfeliu 6a63750d74 added the ability, in the alerts of 'gensens.pm', to support a range of two values separated by a dash in the threshold #221 2019-04-23 15:41:35 +02:00
Jordi Sanfeliu 5ff7f1bda4 fixed to make sure that a maximum of 9 values is accepted in the 'graph_0' and 'graph_1' options of 'squid.pm'; warn user otherwise. #235 2019-04-17 09:49:01 +02:00
Jordi Sanfeliu cf0b766b36 fixed to ensure that the 'L' option in port.pm is optional 2019-04-15 15:17:56 +02:00
Jordi Sanfeliu 6eb9bdfc9b update Changes #234 2019-04-15 10:41:25 +02:00
Jordi Sanfeliu 3eae9dae73 fixes Filesystem usage issue with space in fs name #234 2019-04-15 10:39:04 +02:00
Jordi Sanfeliu e7aa134257 update Changes 2019-04-12 09:07:08 +02:00
Jordi Sanfeliu 2c4e1ae855 added a warning if a process vanished during the accouting in 'process.pm' 2019-04-12 09:06:36 +02:00
Jordi Sanfeliu 2b578d626d small cosmetic change 2019-04-10 15:50:05 +02:00
Jordi Sanfeliu 28673f1bb9 improved speed and fixed some bugs #167 2019-04-09 09:45:12 +02:00
Jordi Sanfeliu ce71c7a8d8 small changes in the configuration file #167 2019-04-05 17:17:04 +02:00
Jordi Sanfeliu f87c7e7bc8 added 'phpfpm.pm' documentation in the man page. #167 2019-04-05 17:15:49 +02:00
Jordi Sanfeliu 12093c8df8 added 'phpfpm.pm' in Makefile #167 2019-04-04 19:04:33 +02:00
Jordi Sanfeliu 77a77bb593 added a complete graph to support PHP-FPM statistics ('phpfpm.pm'). #167 2019-04-03 18:57:09 +02:00
Jordi Sanfeliu 792c8be362 update Changes 2019-03-18 19:01:55 +01:00
Jordi Sanfeliu a721189d9e fixed in 'mail.pm to use the option 'mail_log' instead the hard coded path I forgot to remove when adding the Exim support 2019-03-18 19:01:31 +01:00
Jordi Sanfeliu 9648a3d787 fixed the copyright year to 2019 2019-03-18 18:05:36 +01: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 f47bc5ccea small fix in documentation 2019-03-11 08:01:49 +01:00
Jordi Sanfeliu 363865f5b4 added 'autocheck_responsiveness' option's documentation 2019-03-10 12:22:16 +01:00
Jordi Sanfeliu d94540e130 small corrections 2019-03-10 12:14:22 +01:00
Jordi Sanfeliu 0b00329ad5 changed the suffix .rrd to .pm to denote they are Perl modules 2019-03-10 11:39:24 +01:00
Jordi Sanfeliu 88cc85c3f7 update Changes 2019-03-09 20:37:35 +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 b290ffd417 Fixed and improved the calculation of 'Used' in .memory.pm'
There was a stupid bug that prevented to include the SReclaimable value in the
formula to calculate the 'Used' value.

Morever, I've seen that newer versions of 'free' command also include the value
SUnreclaim in that formula. So, the final calculation of 'Used' is like this:

Used = MemTotal - MemFree - Buffers - Cached - SReclaimable - SUnreclaim

This ensures that Monitorix is in sync with the results of 'free' command. #204
2019-03-08 11:19:05 +01:00
Jordi Sanfeliu 9d26e28f90 fixed a bug that prevented counting the SReclaimable value #204 2019-03-08 10:31:59 +01:00
Jordi Sanfeliu 207c595924 corrected two labels. #196 2019-03-07 09:32:48 +01:00
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