Commit Graph

722 Commits

Author SHA1 Message Date
Jordi Sanfeliu 57c0de3162 fixed regexp to include support for newer versions of libvirtd #260 2019-11-14 08:54:07 +01:00
Mark Costlow 4d14bb620f FreeBSD changes for zfs 2019-11-09 13:02:52 -07:00
Jordi Sanfeliu 39a5a6be73 make sure to initialize all 20 values of every option. #244 2019-06-27 08:45:33 +02:00
Jordi Sanfeliu 6ff982c0de small fix in the way how $totalinq value is retrieved 2019-06-25 12:34:27 +02:00
Jordi Sanfeliu e4cb9b936d rewritten the 'bind.pm' module to use XML::LibXML instead of XML::Simple, fixing a number of long standing bugs. #181 2019-06-25 08:19:21 +02:00
Jordi Sanfeliu dcb4eeef09 included support for version ZFS 0.8.1 #245 2019-06-20 17:18:43 +02:00
Jordi Sanfeliu ac2826805c added support for port range #172 2019-05-24 07:55:50 +02:00
Jordi Sanfeliu a442f2bed2 small adjustment in the values alignment 2019-05-22 08:23:55 +02:00
Jordi Sanfeliu 252a843ca6 added the new option 'subject_prefix' in 'emailreports.pm' to be able to set a customized prefix in the Subject of the emails that will be sent 2019-05-17 12:13:19 +02:00
Jordi Sanfeliu 3c1b2602a3 changed the way how 'ztool iostat' command get the read/write values of the
Operations/Bandwidth graphs #242
2019-05-15 10:51:00 +02:00
Jordi Sanfeliu 28ed22b311 Changed how the values in 'fail2ban.pm' are shown.
With the new option 'graph_mode' the values are, by default, shown with
absolute values. This new option permits switching between 'absolute' and
'rate'. #241
2019-05-14 13:19:30 +02:00
Jordi Sanfeliu 98ef89190b added the new option 'rrdtool_extra_options' to be able to include RRDtool extra options on every graph 2019-05-08 12:54:03 +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 87c102098f many bugs fixed #167 2019-05-02 11:10:16 +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 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 3eae9dae73 fixes Filesystem usage issue with space in fs name #234 2019-04-15 10:39:04 +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 28673f1bb9 improved speed and fixed some bugs #167 2019-04-09 09:45:12 +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 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 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 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 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 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 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 db68888f3f added Exim support in 'mail.pm'. [#96] 2019-02-25 09:38:00 +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
Andy Rabagliati ea82cfd825 allow negative thermal margin values in ipmi 2019-01-16 10:21:22 +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 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 5b9d6a5f89 small cosmectic change 2018-10-03 12:21:24 +02:00
Jordi Sanfeliu 639e412e59 entropy disabled while waiting for a solution 2018-05-15 09:48:58 +02:00
Jordi Sanfeliu 6f8ffd0d2e added ZFS iostat per pool in 'zfs.pm' #190 2018-03-23 11:29:07 +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 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 7b1cc6c8e9 fixed to check if setgid() and setuid() functions were successful 2018-03-05 16:21:09 +01:00
Jordi Sanfeliu 677ddbcfbc changed the alert in 'system.pm' to use the minimum value between the second and the third load averages to obtain a more symmetric curve and a sooner cancellation of the alert 2018-03-01 16:32:56 +01:00