smart plugin raise status unknown
Posted: Mon Apr 04, 2011 8:17 am
Hello,
Could you help me please ? I would like to use smart plugin ( https://www.monitoringexchange.org/inve ... ART-status ) but it returns me a unknow status on nagios.
This the command definition : /etc/nagios-plugins/config/smart.cfg
This is my /etc/nagios3/conf.d/generic-service_nagios2.cfg file :
Any ideas ?
Thanks.
Could you help me please ? I would like to use smart plugin ( https://www.monitoringexchange.org/inve ... ART-status ) but it returns me a unknow status on nagios.
Code: Select all
smart UNKNOWN 2011-04-04 15:10:52 5d 21h 56m 52s 3/3 **ePN /usr/lib/nagios/plugins/check_smart: ###########################################################".
Code: Select all
define command{
command_name check_smart
command_line /usr/lib/nagios/plugins/check_smart -d /dev/sda -i ata --debug
}
Code: Select all
define service{
[...]
check_command check_smart!/dev/sda!ata
}
Any ideas ?
Thanks.