Hi
i have downloaded attach plugin when i use this plugin on my linux server this output appear
Code: Select all
[root@npmbsrv libexec]# ./check_cciss-1.12 -v
RAID OK: Smart Array P420i in Slot 0 (Embedded) array A logicaldrive 1 (279.4 GB, RAID 1, OK) array B logicaldrive 2 (279.4 GB, RAID 1, OK) array C logicaldrive 3 (279.4 GB, RAID 1, OK) [Controller Status: OK Cache Status: OK Battery/Capacitor Status: OK]
Code: Select all
[root@npmbsrv libexec]# ./check_cciss-1.12 -p
RAID OK
Code: Select all
define service{
use generic-service
host_name npmbsrv
service_description Disk Raid
check_command check_nrpe!check_cciss-1.12
}
Code: Select all
command[check_cciss-1.12]=/usr/local/nagios/libexec/check_cciss-1.12 -v -p
Code: Select all
RAID UNKNOWN - /usr/sbin/hpacucli did not execute properly : sudo: sorry, you must have a tty to run sudo
Code: Select all
command[check_cciss-1.12]=sudo /usr/local/nagios/libexec/check_cciss-1.12 -v -p
Code: Select all
NRPE: Unable to read output
Best regards