check_msa2012i_gl argument problem
Posted: Mon Jul 18, 2016 3:51 am
Hi @ al
i have a problem to give an argument to the command
my commands..cfg
the service is
the output direct startet
./check_msa2012i_g1 -u monitoring -p 'password' -h 10.10.10.10 -t disks
OK: Discos 1 2 3 4 5 6 7 8 9 10 11 24: OK
in the webfrontend is:
Usage: check_msa [-u ] [-p ] -h -t
If not provided, default manage username and password will be used.
The following types of checks are available:
channel - checks the status of the hosts ports
redundancy - checks the status of the controllers redundancy
disks - checks various informations about the physical disks
enclosure - checks the status of enclosure's components
frus - checks the status of all field-replaceable units
sensors - checks all sensors of the storage
vdisks - checks the status of the virtual disks
anyone know my mistake?
thanks a lot
i have a problem to give an argument to the command
my commands..cfg
Code: Select all
define command{
command_name check_msa
command_line $USER1$/check_msa2012i_g1 -u $USER9$ -p $USER10$ -H $HOSTADDRESS$ -t $ARG1$
}
Code: Select all
define service{
use generic-service,srv-pnp
host_name KKOH-ST-01
service_description disk
check_command check_msa!disks
}
the output direct startet
./check_msa2012i_g1 -u monitoring -p 'password' -h 10.10.10.10 -t disks
OK: Discos 1 2 3 4 5 6 7 8 9 10 11 24: OK
in the webfrontend is:
Usage: check_msa [-u ] [-p ] -h -t
If not provided, default manage username and password will be used.
The following types of checks are available:
channel - checks the status of the hosts ports
redundancy - checks the status of the controllers redundancy
disks - checks various informations about the physical disks
enclosure - checks the status of enclosure's components
frus - checks the status of all field-replaceable units
sensors - checks all sensors of the storage
vdisks - checks the status of the virtual disks
anyone know my mistake?
thanks a lot