Andreas Bachlechner
1dfa33d662
Reduce boilerplate.
2021-10-22 07:41:09 +02:00
Andreas Bachlechner
88f790fb55
Remove hddtemp usage in nvme.pm as it doesn't support nvme at the moment.
2021-10-22 07:41:09 +02:00
Andreas Bachlechner
1888ff027e
Add nvme.pm
...
It can be configured via:
<nvme>
<list>
0 = /dev/nvme0
</list>
rigid = 0
limit = 10
<alerts>
availspare_enabled = n
availspare_timeintvl = 0
availspare_threshold = 1
availspare_script = /path/to/script.sh
percentused_enabled = n
percentused_timeintvl = 0
percentused_threshold = 1
percentused_script = /path/to/script.sh
</alerts>
</nvme>
2021-10-22 07:41:09 +02:00
Jordi Sanfeliu
4a52fdb3fa
Merge pull request #357 from bachandi/disk_standby
...
Respect disk standby and nan for missing values.
2021-10-14 10:08:49 +02:00
Andreas Bachlechner
9a58d8462a
Revert "Add refresh_interval option to disk.pm."
...
This reverts commit 2c4eaa2a69
.
2021-10-14 08:29:35 +02:00
Andreas Bachlechner
2c4eaa2a69
Add refresh_interval option to disk.pm.
...
A smart request does reset the standby timer of the disk. If standby is
desired the refresh_interval needs to be at least twice as large as the
standby time to avoid calls that would reset the timer before the disk
goes sleeping.
2021-10-14 00:51:15 +02:00
Andreas Bachlechner
182d47ad46
Fix indentation.
2021-10-13 23:49:10 +02:00
Andreas Bachlechner
2358b9f699
Revert "Also the symbolic link check wakes up the disks."
...
This reverts commit c840dee92e
.
2021-10-13 23:48:12 +02:00
Andreas Bachlechner
c840dee92e
Also the symbolic link check wakes up the disks.
2021-10-13 08:41:36 +02:00
Andreas Bachlechner
6962da4fe4
Fix nan handling of alternative temperature sources.
2021-10-11 17:17:28 +02:00
Andreas Bachlechner
09e2354950
Fix format.
2021-10-11 16:48:41 +02:00
Jordi Sanfeliu
fd3a4aa46f
removed extra parenthesis #349
2021-10-11 11:15:08 +02:00
Andreas Bachlechner
ac257d3b41
Add gap_on_all_nan option to disk.pm
2021-10-10 00:39:38 +02:00
Andreas Bachlechner
d0c81115a2
Add use_nan_for_missing_data opton to disk.pm
2021-10-10 00:39:38 +02:00
Andreas Bachlechner
276e04fd83
Add respect_standby to disk.pm to avoid waking up sleeping disks.
2021-10-10 00:39:33 +02:00
Andreas Bachlechner
8231a18fb1
Change nan creation location
2021-10-08 01:48:58 +02:00
Andreas Bachlechner
4b6b3bfc08
Only create the nan once per loop.
2021-10-07 18:52:25 +02:00
Andreas Bachlechner
4f33fd727c
Add options to use nan instead of 0 for missing data and to show gaps
...
only if all data are invalid.
- use_nan_for_missing_data = y
- gap_on_all_nan = y
This is useful if missing data could otherwise be misinterpreted as valid.
Default behaviour does not change.
2021-10-06 12:17:24 +02:00
Andreas Bachlechner
53b52d748d
Fix du refresh interval setting for values that are not multiples of 60.
2021-09-30 16:31:03 +02:00
Jordi Sanfeliu
7f6d63d7b5
Merge pull request #354 from bachandi/ipmi_rigid_list
...
Fix rigid and limit value usage.
2021-09-30 10:08:34 +02:00
Andreas Bachlechner
7d13171e35
Fix rigid and limit value usage.
...
Before only the first value was used for all plots.
2021-09-30 10:00:04 +02:00
Jordi Sanfeliu
6c024fc835
Merge pull request #353 from bachandi/du_refresh_interval
...
Disk usage refresh interval
2021-09-30 09:19:33 +02:00
Andreas Bachlechner
552be17e39
Change refresh_interval from minutes to seconds.
2021-09-30 08:41:55 +02:00
Andreas Bachlechner
d1d5d5510e
Also tune the rrd heartbeat to the refresh interval.
2021-09-29 14:07:04 +02:00
Jordi Sanfeliu
af8dd97e74
Merge pull request #350 from bachandi/gensens_units
...
Simplify unit correction in gensens.
2021-09-29 09:12:43 +02:00
Andreas Bachlechner
a755957380
Add refresh_interval option in minutes to du.pm
2021-09-28 13:12:35 +02:00
Jordi Sanfeliu
5a9e968144
Merge pull request #348 from bachandi/smbcounter
...
Fix smb counter in user.pm in case smb is not installed.
2021-09-28 08:44:43 +02:00
Andreas Bachlechner
c2d2853d89
Simplify unit correction in gensens.
...
Remove limit of units having to be in powers of 10
by using a division by the unit incase it is not 0.
2021-09-27 17:52:02 +02:00
Andreas Bachlechner
247693f24b
Fix variable name to snake_case style.
2021-09-27 17:34:36 +02:00
Andreas Bachlechner
ac8b4a0eae
Fix smb counter in user.pm in case smb is not installed.
...
Before the smb value was -1 if no smbstatus was found, resulting in -nan values.
Now the behaviour is the same as for macusers.
2021-09-24 14:43:43 +02:00
Andreas Bachlechner
b8f9d73a94
Add arguemt usage to cmd option in ambsens.
2021-09-24 11:15:43 +02:00
Andreas Bachlechner
93f0e4639c
Add byte graph in bytes to gensens via 'byt' identifier.
2021-09-23 12:09:41 +02:00
Andreas Bachlechner
8fc243df90
Add pct graph in Percent (%) to gensens via 'pct' identifier.
2021-09-23 10:23:24 +02:00
Andreas Bachlechner
4f4428230e
Add fan graph in RPM to gensens via 'fan' identifier.
2021-09-23 10:20:27 +02:00
Andreas Bachlechner
ce912059b4
Add power graph in Watts to gensens via 'pwr' identifier.
2021-09-23 10:15:26 +02:00
David Hummel
3dfe4972c5
Fixed `zoomed image won't fit in the pop-up window` for SVG image_format
2021-08-25 13:36:13 -07:00
Jordi Sanfeliu
e06aa33218
fixed (by just commenting out some lines) the <map> option in 'disk.pm'
2021-08-03 09:52:12 +02:00
Jordi Sanfeliu
e12df74724
fixed to honour the <map> option on graphs 2 and 3 in 'disk.pm'
2021-08-03 09:45:13 +02:00
Jordi Sanfeliu
c792ebbfa7
added the option to prefix fan values to be able to select between rpm and percentages #325
2021-05-24 11:58:54 +02:00
Jordi Sanfeliu
326f0fcd23
added the option 'cmd' in 'lmsens.pm', which defaults to 'sensors', to be able to help to add sensors values not covered by LM-Sensors #325
2021-05-20 13:02:41 +02:00
Jordi Sanfeliu
9b28b53374
fixed the legend in 'nvidia.pm' graphs to respect the 'max' value #330
2021-05-18 10:51:24 +02:00
Jordi Sanfeliu
4bd1dfc600
added support for IPv6 addresses in 'traffacct.pm'
2021-05-11 11:36:43 +02:00
Jordi Sanfeliu
8b0b32dbdc
added the option 'time_unit' in 'system.pm' to set the scale of the uptime graph #331
2021-05-05 15:48:54 +02:00
Jordi Sanfeliu
4634892241
corrected the title name in the zoomed graph #311
2021-05-05 12:23:40 +02:00
Jordi Sanfeliu
d4999553a2
added the option 'time_unit' in 'process.pm' to set the scale of the uptime graph #311
2021-05-04 18:31:15 +02:00
Jordi Sanfeliu
002dd98b8c
changed the way how the 'cmd' option works in 'port.pm', executing directly the command defined on it (without args) unless undefined in which case continues defaulting to 'ss'
2021-04-23 18:51:19 +02:00
Jordi Sanfeliu
4751319260
added graph of process' uptime in 'process.pm' #311
2021-04-23 08:23:52 +02:00
Jordi Sanfeliu
cbcf2557b3
added support in 'process.pm' for systems with different PID max value defined in '/proc/sys/kernel/pid_max'
2021-04-22 07:52:05 +02:00
Jordi Sanfeliu
9134aebfb7
updated the copyright year
2021-04-21 16:49:11 +02:00
Jordi Sanfeliu
d0f70154bc
added support to get temperature values for gpu[n] keys using the output of 'lmsensors' #320
2021-04-14 10:35:44 +02:00
Jordi Sanfeliu
2624f86858
added socket file support to 'redis.pm' #316
2021-04-07 11:22:29 +02:00
Jordi Sanfeliu
d4f82e2752
fixed to include the DBI->connect parameter 'dbname=postgres' in 'pgsql.pm' to avoid connection problems #310
2021-02-01 10:48:40 +01:00
Jordi Sanfeliu
d6816e20da
fixed a security bug introduced in 3.13.0 version that lead the HTTP built-in server to bypass Basic Authentication when the option 'hosts_deny' is not defined #309
2021-01-27 10:45:41 +01:00
Jordi Sanfeliu
5f77eeeea3
reduced the number of padding lines in 'phpfpm.pm'
2021-01-27 10:44:11 +01:00
Jordi Sanfeliu
bc71c9351e
'tinyproxy.pm' now emulates the 'to_literal_list' method to keep backwards compatibility with older versions of Perl-XML-LibXML
2021-01-13 18:51:53 +01:00
Jordi Sanfeliu
5cb9c4e398
updated the copyright year #84
2021-01-07 11:14:06 +01:00
Jordi Sanfeliu
556c3e593d
Fixed de scalar of Data Segments (DS) on the textmode interface in modules:
...
- apache.pm
- chrony.pm
- nut.pm
- pagespeed.pm
- tinyproxy.pm
2021-01-07 10:59:37 +01:00
Jordi Sanfeliu
85a0360d45
updated the copyright year in 'ambsens.pm' and 'redis.pm' modules
2021-01-07 10:58:32 +01:00
Jordi Sanfeliu
3ca311b24a
added a complete graph to support PostgreSQL statistics ('pgsql.pm'). #84
2021-01-05 12:56:37 +01:00
Jordi Sanfeliu
5705b83cac
small alignment
2021-01-04 12:22:21 +01:00
Jordi Sanfeliu
3bdbf29c31
fixed the fetching code that retrieves the uptime value in 'wowza.pm'
2021-01-04 10:38:29 +01:00
Jordi Sanfeliu
7b9725be1b
fixed to a more readable scale the graphs of memory usage and store directory stats in 'squid.pm'
2020-12-30 17:54:44 +01:00
Jordi Sanfeliu
8e5b87fa30
changed lines thickness in 'squid.pm'
2020-12-30 17:25:58 +01:00
Jordi Sanfeliu
98eda3e8e5
fixed the fetching code to retrieve the uptime value in 'redis.pm' #140
2020-12-30 16:42:51 +01:00
Jordi Sanfeliu
5fe541fa04
dixed the fetching code to retrieve the uptime value in 'phpfpm.pm'
2020-12-30 16:32:04 +01:00
Jordi Sanfeliu
bfc5bbeda8
fixed the internal structure of 'ambsens.pm'
...
An implementation bug prevented it from having negative values.
*** 'ambsens.rrd' must be created again for the changes to take effect ***
Sorry for the inconvenience.
2020-12-09 10:18:36 +01:00
Jordi Sanfeliu
08b3acdbd6
converted the rest of graphs to CSS #306
2020-12-03 09:42:17 +01:00
Jordi Sanfeliu
9aa0a1c4ab
converted a list of graphs to CSS #306
2020-11-30 12:34:19 +01:00
Jordi Sanfeliu
e78ef4d99d
added in the ability to specify the command to get Unbound stats. #302
2020-11-23 10:26:43 +01:00
Jordi Sanfeliu
ae3bf91072
increased the size of the title of graphs in 'proc.pm'
2020-11-20 09:20:40 +01:00
Jordi Sanfeliu
421f020bba
converted a list of graphs to CSS #306
2020-11-20 09:15:58 +01:00
Jordi Sanfeliu
f7b2904bf8
Merge pull request #300 from z-eos/monitorix.cgi-css
...
css introduced to monitorix.cgi file
2020-11-11 16:44:46 +01:00
z-eos
47bf33b463
issue #303 fix
2020-11-09 21:28:09 +02:00
z-eos
53211c652b
issue #303 fix withdrawal
2020-11-09 21:23:17 +02:00
z-eos
c4dfbd3bde
issue #303 fix
2020-11-09 21:19:28 +02:00
z-eos
224b6d81e0
css introduced to monitorix.cgi file
2020-11-05 21:27:02 +02:00
Jordi Sanfeliu
ed845d871a
added support to be able to run as a regular user #288
2020-10-28 09:08:55 +01:00
Jordi Sanfeliu
d3c775fa4e
fixed a typo
2020-10-26 10:42:22 +01:00
Jordi Sanfeliu
c46a528417
added a complete graph to support Redis statistics #140
2020-10-26 10:38:09 +01:00
Jordi Sanfeliu
a9fa2e9a8a
added a complete graph to support Tinyproxy statistics ('tinyproxy.pm')
2020-10-19 10:30:43 +02:00
Jordi Sanfeliu
b154c3eab0
fixed an incorrectly misspelled variable in 'traffacct.pm' #289
2020-09-25 10:17:34 +02:00
Jordi Sanfeliu
30c2e2bfb9
included also the log_file option of the HTTP built-in in this new support #268
2020-09-08 08:10:59 +02:00
Jordi Sanfeliu
031f6e3913
added new 'separated' visualization mode in 'squid.pm' #217
2020-07-20 09:59:40 +02:00
Jordi Sanfeliu
c416002290
added new 'separated' visualization mode in 'mongodb.pm' #217
2020-07-17 11:18:12 +02:00
Jordi Sanfeliu
63712884e4
added new 'separated' visualization mode in 'mysql.pm' #217
2020-07-17 11:16:30 +02:00
Jordi Sanfeliu
5d224266e8
added new 'separated' visualization mode in 'nginx.pm' #217
2020-07-16 08:36:08 +02:00
Jordi Sanfeliu
23672e5ef2
fixed a bug in 'nginx.pm' introduced when added support of 'ss' command
2020-07-15 10:58:22 +02:00
Jordi Sanfeliu
6ead94fc88
added new 'separated' visualization mode in 'ftp.pm' #217
2020-07-14 12:01:21 +02:00
Jordi Sanfeliu
fdc0da2885
added new 'separated' visualization mode in 'port.pm' #217
2020-07-13 10:14:05 +02:00
Jordi Sanfeliu
a598371864
added new 'separated' visualization mode in 'mail.pm' #217
2020-07-13 10:13:55 +02:00
Jordi Sanfeliu
7479e3dc8e
added new 'separated' visualization mode in 'net.pm' #217
2020-07-09 10:28:39 +02:00
Jordi Sanfeliu
6ba51f1cb0
added the ability to include a title for every group of disks. #283
2020-07-08 09:41:18 +02:00
Jordi Sanfeliu
75c7f6b304
fixed an uninitialized value in 'disk.pm'
2020-07-07 11:50:30 +02:00
Jordi Sanfeliu
50865683c1
fixed the error message 'Error: 500 Can't connect to ...' when certificate verification failed, in 'phpfpm.pm'
2020-07-06 19:06:05 +02:00
Jordi Sanfeliu
af7d2335dc
Added more verbosity on HTTP connections in some modules
...
The following modules will increase the message verbosity when
when HTTP connections fail:
- apache.pm
- emailreports.pm
- icecast.pm
- lighttpd.pm
- nginx.pm
- pagespeed.pm
- phpapc.pm
- phpfpm.pm
- traffacct.pm
- wowza.pm
2020-07-02 12:06:36 +02:00
Jordi Sanfeliu
3663c450fe
added support to use the 'ss' command in 'port.pm' and 'nginx.pm'
2020-06-22 15:43:44 +02:00
Jordi Sanfeliu
aec92c36a9
fixed a bug in 'phpfpm.pm' that lead to error messages about a pool don't has an associated URL #282
2020-06-09 13:04:21 +02:00
Jordi Sanfeliu
5632b6e298
fixed the code to support hopefully any device name #272
2020-06-09 09:08:37 +02:00
Jordi Sanfeliu
fd9d25ad9d
added the ability to change the size of the graphs in 'port.pm'
2020-05-28 09:58:45 +02:00
Jordi Sanfeliu
e573601c28
fixed to include conversion to Fahrenheit in 'gensens.pm' #280
2020-05-25 15:35:27 +02:00
Jordi Sanfeliu
8d596807b2
added the ability to force auth to certain hostnames only #274
2020-05-21 18:17:32 +02:00
Jordi Sanfeliu
a7365f0043
fixed a missing 'allvalues=' declaration which affected graphs of type 'files' and 'show_gaps' enabled in 'du.pm'. #277
2020-04-24 10:00:51 +02:00
Jordi Sanfeliu
fb59a1cc51
fixed the title size of memory graph in 'system.pm'
2020-03-11 10:33:22 +01:00
Jordi Sanfeliu
ecd7da1a52
added support to map devices names in 'disk.pm'. #272
2020-02-28 11:30:49 +01:00
Jordi Sanfeliu
2fff79df2a
added support for older versions of 'ss' in 'netstat.pm' #271
2020-02-27 10:07:26 +01:00
Jordi Sanfeliu
cf3cd9e9a7
closing 3.12.0
2020-02-21 10:36:35 +01:00
Jordi Sanfeliu
e2bd20d75b
updating URLs to HTTPS
2020-02-21 10:34:32 +01:00
awhabe
f53356fdbd
fix deprecated for postfix
...
pflogsumm.pl: "no_bounce_detail" is depreciated, use "bounce_detail=0" instead
pflogsumm.pl: "no_deferral_detail" is depreciated, use "deferral_detail=0" instead
pflogsumm.pl: "no_reject_detail" is depreciated, use "reject_detail=0" instead
pflogsumm.pl: "no_smtpd_warnings" is depreciated, use "smtpd_warning_detail=0" instead
2020-02-06 15:21:57 +01:00
Jordi Sanfeliu
52c2788c2d
synchronized the same title size for all graphs in medium size
2020-01-27 18:09:46 +01:00
Jordi Sanfeliu
9465818918
fixed an extra table row tag in gensens.pm
2020-01-27 10:22:57 +01:00
Jordi Sanfeliu
f77cc19924
fixed the scale in the y-axis of the memory graph in 'process.pm'
2020-01-10 09:38:57 +01:00
Jordi Sanfeliu
6191970327
added a complete graph to support Unbound statistics ('unbound.pm') #176
2019-12-05 15:47:39 +01:00
Jordi Sanfeliu
cdd30ed9d1
added the options 'username' and 'password' in 'mongodb.pm' to provide support for authentication. #246
2019-12-05 08:47:31 +01:00
Jordi Sanfeliu
9222110497
fixed to use --resolution instead of its synonym -r to avoid problems with newer versions of RRDtool. #263
2019-11-22 08:46:02 +01:00
Jordi Sanfeliu
691c35bee0
add support for the new 'use_external_firewall' option in 'nginx.pm' #262
2019-11-21 09:59:24 +01:00
Jordi Sanfeliu
fe05c32185
make the option 'use_external_firewall' global #262
2019-11-21 09:51:31 +01:00
Jordi Sanfeliu
86bcee0fc3
make function 'flush_accounting_rules' aware of this new option
2019-11-20 17:13:57 +01:00
Jordi Sanfeliu
cfabc3ce41
added the new option 'use_external_firewall' to disable the creation of the iptables rules in port.pm #262
2019-11-20 16:51:52 +01:00
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
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