check_smart plugin
Posted: Fri Oct 06, 2023 4:04 am
Hello all
I am trying to use the check_smart plugin on my nagios setup core 4.4.14. The plugin is here:
https://exchange.nagios.org/directory/P ... ng/details
When I run it locally on the host (Centos7), I get a result.
But I when I try it from nagios (Rocky 9), I get the following output:
Is my syntax correct? Has anyone used this plugin before successfully?
Thank you
Yanni
I am trying to use the check_smart plugin on my nagios setup core 4.4.14. The plugin is here:
https://exchange.nagios.org/directory/P ... ng/details
When I run it locally on the host (Centos7), I get a result.
Code: Select all
[root@dvv-1 libexec]# ./check_smart -d /dev/sdb -i auto
OK: Drive DELL MD32xx S/N 3C3005A: no SMART errors detected. Code: Select all
[root@stoca plugins]# ./check_nrpe -H [i]hostname[/i] -c check_smart -a '-d /dev/sdb -i auto'
UNKNOWN: Drive S/N : No health status line found, Thank you
Yanni