Random Project

Plugin is working on HP MSA 2040 SAN Storage

Below is the command:
# ./check_hp_msa2000_vdisks.pl -H 172.16.1.124 -u nagios -p N@gios123 -d Vdisk1

OUTPUT:-
Vdisk1 is online.
############################
commands.cfg file:-

define command{
command_name check_hp_msa_2040_vdisks
command_line $USER1$/check_hp_msa2000_vdisks.pl -H 172.16.1.124 -u $ARG1$ -p $ARG2$ -d $ARG3$
}
############################
san.cfg file

define service{
use generic-service
host_name HP-MSA2040_SP1
service_description Vdisk1 Status
check_command check_hp_msa_2040_vdisks!nagios!N@gios123!Vdisk1
check_interval 15
retry_interval 1
}
##############################