informatica:linux:discos:monitorizar
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
informatica:linux:discos:monitorizar [2014/07/16 08:23] – jose | informatica:linux:discos:monitorizar [2015/04/13 20:19] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Monitorizar discos ====== | ====== Monitorizar discos ====== | ||
+ | ===== Configurar ===== | ||
+ | |||
+ | Instalamos smartmontools | ||
+ | |||
Mirar errores: | Mirar errores: | ||
smartctl -l error /dev/sda | smartctl -l error /dev/sda | ||
Line 46: | Line 50: | ||
Copyright (C) 2002-11 by Bruce Allen, http:// | Copyright (C) 2002-11 by Bruce Allen, http:// | ||
- | === START OF READ SMART DATA SECTION === | + | ===== START OF READ SMART DATA SECTION |
SMART Self-test log structure revision number 1 | SMART Self-test log structure revision number 1 | ||
Num Test_Description | Num Test_Description | ||
# 1 Short offline | # 1 Short offline | ||
+ | </ | ||
+ | |||
+ | ===== Añadir Monitorización con correo ===== | ||
+ | |||
+ | Fuente: http:// | ||
+ | |||
+ | Cambiamos el fichero / | ||
+ | |||
+ | /dev/sda -d sat -s L/ | ||
+ | |||
+ | Añadimos también un test corto cada dia a las 2 de la mañana y el largo lunes a las 3: | ||
+ | | ||
+ | /dev/sda -d sat -s (S/ | ||
+ | | ||
+ | |||
+ | Para que se ejecute al arrancar el servidor, en el fichero / | ||
+ | start_smartd=yes | ||
+ | |||
+ | Arrancamos el servicio | ||
+ | < | ||
+ | # / | ||
+ | / | ||
+ | |||
+ | # / | ||
+ | Starting S.M.A.R.T. daemon: smartd. | ||
</ | </ |
informatica/linux/discos/monitorizar.1405498999.txt.gz · Last modified: 2015/04/13 20:19 (external edit)