Commit Graph

674 Commits

Author SHA1 Message Date
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