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
The naming scheme of some graphs are tricky in the way that they not sufixed
by a single numeric digit, but a double with padding (mostly a zero). This
commit fixes the numeric scheme of 'fs' and 'net' graphs, in the event of
when the user selects all graphs of all remote servers.
Still there might be possible that some graph does not appear because the
master server has a different configuration that the remote servers.
#216
Now the HTTP built-in will be restart every time Monitorix received the
SIGHUP signal. This should also fix thos annoying sporadic hangups of the
HTTP server, and also a truncation in the recent rotated logfile.
Removed the default installation 777 permission bits mode for the '/imgs/
directory in 'docs/monitorix.spec' and 'Makefile'.
Forced to setup the owner, group and the permission bits (now to 755) to the
'imgs/' directory every time Monitorix is started.
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