From the beging, i'm french, and i'm sorry for my english.
I use Nagios® Core™ 3.4.4 and i 've a question about the check_openmange.
When i use in the shell, the plugin works. And it returrn all informations.
It's also worked when i want to know the status form my fans.
Now in Nagios, i just want to have the status of my fan, but it return all information about my server :
OK - System: 'PowerVault NX3000 II', SN: 'XXXXXX', 12 GB ram (6 dimms), 2 logical drives, 6 physical drives
My host.cfg :
Code: Select all
define service {
host_name Mon-serveur
use template-services
service_description Baterie
check_command check_openmanage!batteries
contact_groups Nagios-admin
}
Code: Select all
define command{
command_name check_openmanage
command_line $USER1$/check_openmanage -s -H $HOSTADDRESS$ $ARG1$
}
Can you tell me where's my mistake ?
Thanks