# Commande pour vérifier l'état SMART des disques physiques # note sur les droits d'accès : # - soit ajouter nagios au groupe 'disk' (usermod -a -G disk nagios) # - soit préfixer la commande par 'sudo /usr/lib/nagi...' et ajouter nagios aux sudoers avec la ligne : # nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/check_ide_smart command[check_ide_smart_sda]=/usr/lib/nagios/plugins/check_ide_smart -d /dev/sda command[check_ide_smart_sdb]=/usr/lib/nagios/plugins/check_ide_smart -d /dev/sdb #command[check_ide_smart_sdc]=/usr/lib/nagios/plugins/check_ide_smart -d /dev/sdc #command[check_ide_smart_sdd]=/usr/lib/nagios/plugins/check_ide_smart -d /dev/sdd #command[check_ide_smart_sde]=/usr/lib/nagios/plugins/check_ide_smart -d /dev/sde #command[check_ide_smart_sdf]=/usr/lib/nagios/plugins/check_ide_smart -d /dev/sdf