hoi,
Ik probeer dit script werkend the krijgen binnen nagios.
op de CLI werkt dit :
./check_snmp_HP_Bladesystem.pl -H ipadres -C public -t Fan-Conditions
resultaat
OK Fan-Conditions (2) Fan return codes: 2; 2; 2; 2; 2; 2; 2; 2; 2; 2;
dus ik heb er een command voor aangemaakt :
define command {
command_name check-hpblades
command_line $USER1$/check_snmp_HP_Bladesystem.pl -H $HOSTADDRESS$ -C public -t $ARG1$
}
en een service :
define service {
use generic-service
host_name host1,host2
name Checks the Blade Fans
service_description Checks the HP Blade fans
check_command check-hpblades!Fan-Conditions
}
Helaas wat ik ook probeer ik krijg deze melding terug : (Return code of 127 is out of bounds - plugin may be missing) Ik zie dit ook voorbij komen in het messages log.
Zie ik hier wat over het hoofd ?
Ik probeer dit script werkend the krijgen binnen nagios.
op de CLI werkt dit :
./check_snmp_HP_Bladesystem.pl -H ipadres -C public -t Fan-Conditions
resultaat
OK Fan-Conditions (2) Fan return codes: 2; 2; 2; 2; 2; 2; 2; 2; 2; 2;
dus ik heb er een command voor aangemaakt :
define command {
command_name check-hpblades
command_line $USER1$/check_snmp_HP_Bladesystem.pl -H $HOSTADDRESS$ -C public -t $ARG1$
}
en een service :
define service {
use generic-service
host_name host1,host2
name Checks the Blade Fans
service_description Checks the HP Blade fans
check_command check-hpblades!Fan-Conditions
}
Helaas wat ik ook probeer ik krijg deze melding terug : (Return code of 127 is out of bounds - plugin may be missing) Ik zie dit ook voorbij komen in het messages log.
Zie ik hier wat over het hoofd ?