View Full Version : SMART avec centreon ?
thomascentreon
03-19-2008, 12:59 PM
Bonjour, je souhaiterais savoir comment l'on peut intégrer SMART à Centreon.
SMART est un outil qui permet de diagnostiquer l'état des disques durs
http://fr.wikipedia.org/wiki/Self-Monitoring,_Analysis_and_Reporting_Technology
Y a t'il un plugin SMART ?
Quelqu'un peut m'aider ?
naparuba
03-19-2008, 01:11 PM
Regarde sur:
http://www.nagiosexchange.org/Search_Projects.43.0.html?tx_netnagext_pi1%5Bphras e%5D=smart&tx_netnagext_pi1%5Bsubmit%5D=search&tx_netnagext_pi1%5Bsearch%5D=1
thomascentreon
03-21-2008, 11:29 AM
Merci de ta réponse, j'ai installer smart sur ma machine cliente. Puis j'ai copier check_smart_attributes et check_smartmon dans le répertoire des plugins : /usr/local/nagios/libexec/
J'ai changer l'utilisateur et les droits sur les fichiers :
$ /usr/local/nagios/libexec$ ll check_smart*
-rwxr-xr-x 1 nagios nagios 5428 2008-03-20 16:57 check_smart_attributes
-rwxr-xr-x 1 nagios nagios 5428 2008-03-20 16:57 check_smartmon
En local
$ /usr/local/nagios/libexec/check_smart_attributes --drive=/dev/sda1
Me renvoie : OK
Sur mon serveur nagios la commande
./check_nrpe -H 192.168.0.247 -c check_smart_sda1
Me renvoie : NRPE : enable to read output
:-(
Pourtant tous les plugins que j'ajoute, j'ai ce problème, pourtant je modifie correctement le fichier nrpe.cfg. Et la connection NRPE fonctionne pour les plugins nagios.
C'est quoi ce problème ?