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
Jordi Sanfeliu
46fcd2d729
force to save values as 'unknown' when 'apcaccess' returns error. #201
2018-02-26 09:15:56 +01:00
Jordi Sanfeliu
7ee147a6dc
postponed variable initialization in order to show gaps if 'apcaccess' fails. #201
2018-02-19 11:00:33 +01:00
Philippe Verbeke
a8168609e9
Get temperature for a NVMe
...
Get the temperature field value from smartctl -A for a NVMe, as the format of the SMART data section differs from HDD or SSD.
For example:
=== START OF SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
SMART/Health Information (NVMe Log 0x02, NSID 0xffffffff)
Critical Warning: 0x00
Temperature: 40 Celsius
Available Spare: 100%
Available Spare Threshold: 10%
Percentage Used: 0%
Data Units Read: 1,769,281 [905 GB]
Data Units Written: 1,384,224 [708 GB]
Host Read Commands: 24,646,213
Host Write Commands: 19,105,374
Controller Busy Time: 38
Power Cycles: 32
Power On Hours: 129
Unsafe Shutdowns: 6
Media and Data Integrity Errors: 0
Error Information Log Entries: 44
2018-02-04 18:59:18 +01:00
Jordi Sanfeliu
5459bca836
removed the -H parameter from the 'ss' commands in order improve compatibility accross different Linux distributions. #196
2018-01-22 17:42:10 +01:00
Alexander Lebedev
5e4bbc494e
use 'ss' if available in Linux instead of 'netstat'
2018-01-21 20:53:47 +03:00
Jordi Sanfeliu
89ed14b174
fixed a missing gap colouring in some zoomed graphs of 'system.pm'
2018-01-09 18:07:21 +01:00
Jordi Sanfeliu
7a13778d7f
fixed to limit the length of the device names in 'fs.pm'
2017-12-01 11:51:58 +01:00
Jordi Sanfeliu
f1f0934be9
fixed a missalignment of the MB & CPU temperatures values in 'lmsens.pm'
2017-12-01 11:22:11 +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
2f406cae1f
renamed the option 'graph_mode' to 'memory_mode' in 'system.pm'
2017-11-23 12:25:09 +01:00
Jordi Sanfeliu
159dec9500
fixed to correctly represent the values in text mode in 'ipmi.pm'
2017-11-23 11:23:54 +01:00
Jordi Sanfeliu
9484c5e905
fixed the missing declaration of 'allvalues' in 'gensens.pm' #193
2017-10-30 10:01:12 +01:00
Jordi Sanfeliu
2e22772e53
fixed in 'process.pm' to fully honour the option 'netstats_in_bps'
2017-10-24 12:28:50 +02:00
Jordi Sanfeliu
622289f9d9
fixed a bad memory scaling in *BSD systems
2017-09-29 12:29:07 +02:00
root
e7bd2c3343
fix legend diaplay for nvidia
2017-09-28 02:25:40 +08:00
Jordi Sanfeliu
566bd1bb32
added a new option called 'graph_mode' to view the memory graph in two different modes
2017-09-27 10:44:55 +02:00
Jordi Sanfeliu
864d44dc22
small change
2017-09-25 15:24:19 +02:00
Jordi Sanfeliu
50edd2cc75
included active and inactive memory values in 'system.pm'
2017-09-06 08:19:02 +02:00
Jordi Sanfeliu
946e871bbf
small fix
2017-09-01 12:13:03 +02:00
Jordi Sanfeliu
fe2954c604
fix to honour the new option 'stats_rate' when checking the alert in 'mail.pm'
2017-09-01 11:58:27 +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
67cb28b87f
redirect all the output into an array to support parallelizing in 'zfs.pm'
2017-08-31 10:05:46 +02:00
Jordi Sanfeliu
20e517ac86
redirect all the output into an array to support parallelizing in 'wowza.pm'
2017-08-30 10:41:55 +02:00
Jordi Sanfeliu
ad86b26729
redirect all the output into an array to support parallelizing in 'verlihub.pm'
2017-08-30 10:36:23 +02:00
Jordi Sanfeliu
fdf9ead148
redirect all the output into an array to support parallelizing in 'varnish.pm'
2017-08-30 10:33:05 +02:00
Jordi Sanfeliu
bfb3b1787f
redirect all the output into an array to support parallelizing in 'user.pm'
2017-08-30 10:24:52 +02:00
Jordi Sanfeliu
b3a8f1c446
redirect all the output into an array to support parallelizing in 'tc.pm'
2017-08-29 11:35:15 +02:00
Jordi Sanfeliu
3d85f4b18f
redirect all the output into an array to support parallelizing in 'squid.pm'
2017-08-29 11:30:18 +02:00
Jordi Sanfeliu
6e01f6516f
redirect all the output into an array to support parallelizing in 'serv.pm'
2017-08-29 11:05:37 +02:00
Jordi Sanfeliu
ad3664e39d
redirect all the output into an array to support parallelizing in 'raspberrypi.pm'
2017-08-29 10:58:42 +02:00
Jordi Sanfeliu
ee17ddbf2b
redirect all the output into an array to support parallelizing in 'process.pm'
2017-08-28 17:59:43 +02:00
Jordi Sanfeliu
98a379fa18
redirect all the output into an array to support parallelizing in 'port.pm'
2017-08-28 17:50:15 +02:00
Jordi Sanfeliu
d4c2d3386b
redirect all the output into an array to support parallelizing in 'phpapc.pm'
2017-08-28 17:44:39 +02:00
Jordi Sanfeliu
d800f0d694
redirect all the output into an array to support parallelizing in 'pagespeed.pm'
2017-08-28 17:27:59 +02:00
Jordi Sanfeliu
f992d069a9
added the ability to include an alert for each defined sensor in 'nvidia.pm'
2017-08-04 10:20:49 +02:00
Jordi Sanfeliu
1017f69f58
redirect all the output into an array to support parallelizing in 'nvidia.pm'
2017-08-04 10:00:10 +02:00
Jordi Sanfeliu
c0f2d015bc
redirect all the output into an array to support parallelizing in 'nut.pm'
2017-08-04 09:36:06 +02:00
Jordi Sanfeliu
64486103cd
redirect all the output into an array to support parallelizing in 'ntp.pm'
2017-08-04 09:24:55 +02:00
Jordi Sanfeliu
071bad530d
fixed some problems when comparing greylisting values on every pass
2017-08-03 17:27:52 +02:00
Jordi Sanfeliu
a9dfc405a1
remove debugging line
2017-08-03 13:01:50 +02:00
Jordi Sanfeliu
7cca506c1f
redirect all the output into an array to support parallelizing in 'nginx.pm'
2017-08-03 10:58:37 +02:00
Jordi Sanfeliu
50ea4450ca
redirect all the output into an array to support parallelizing in 'nfss.pm'
2017-08-03 10:54:52 +02:00
Jordi Sanfeliu
d60faf2218
redirect all the output into an array to support parallelizing in 'nfsc.pm'
2017-08-03 10:45:46 +02:00
Jordi Sanfeliu
ff6a0bb4a7
redirect all the output into an array to support parallelizing in 'netstat.pm'
2017-08-03 10:40:49 +02:00
Jordi Sanfeliu
9ab95d35ea
redirect all the output into an array to support parallelizing in 'net.pm'
2017-08-02 19:37:51 +02:00
Jordi Sanfeliu
1b76900b15
redirect all the output into an array to support parallelizing in 'mysql.pm'
2017-08-02 19:25:36 +02:00
Jordi Sanfeliu
d77d35f29b
redirect all the output into an array to support parallelizing in 'mongodb.pm'
2017-08-02 19:19:29 +02:00
Jordi Sanfeliu
045967fa8f
redirect all the output into an array to support parallelizing in 'memcached.pm'
2017-08-02 19:13:23 +02:00
Jordi Sanfeliu
06f78dcec4
redirect all the output into an array to support parallelizing in 'mail.pm'
2017-08-01 13:24:49 +02:00
Jordi Sanfeliu
1808aa77af
added alert capabilities to 'lmsens.pm'. #171
2017-08-01 13:05:44 +02:00
Jordi Sanfeliu
835090b9ce
redirect all the output into an array to support parallelizing in 'lmsens.pm'
2017-08-01 12:33:19 +02:00
Jordi Sanfeliu
40c518e586
redirect all the output into an array to support parallelizing in 'lighttpd.pm'
2017-07-31 11:31:06 +02:00
Jordi Sanfeliu
bcc6cc2b13
redirect all the output into an array to support parallelizing in 'ipmi.pm'
2017-07-31 11:23:19 +02:00
Jordi Sanfeliu
3f6f9d4034
added the ability to include an alert for each defined sensor in 'ipmi.pm'
2017-07-31 11:18:36 +02:00
Jordi Sanfeliu
6fd3320faf
added the ability to include an alert for each defined sensor in 'hptemp.pm'
2017-07-28 13:02:10 +02:00
Jordi Sanfeliu
861f1630cb
removed a blank line
2017-07-28 12:57:55 +02:00
Jordi Sanfeliu
ff5160b094
redirect all the output into an array to support parallelizing in 'hptemp.pm'
2017-07-28 12:13:27 +02:00
Jordi Sanfeliu
2447914d05
redirect all the output into an array to support parallelizing in 'libvirt.pm'
2017-07-27 12:19:32 +02:00
Jordi Sanfeliu
66ed64abcd
redirect all the output into an array to support parallelizing in 'int.pm'
2017-07-27 12:12:18 +02:00
Jordi Sanfeliu
9fa6616f04
redirect all the output into an array to support parallelizing in 'icecast.pm'
2017-07-27 12:07:54 +02:00
Jordi Sanfeliu
85f384279d
small fix
2017-07-27 09:10:20 +02:00
Jordi Sanfeliu
421cd024b7
added the ability to include an alert for each defined sensor in 'gensens.pm'
2017-07-26 12:22:08 +02:00
Jordi Sanfeliu
582e6b0471
redirect all the output into an array to support parallelizing in 'gensens.pm'
2017-07-26 11:26:12 +02:00