#################################################### # # VMWARE check commands # #################################################### #################################################################### # Commands for Datacenter/Vcenter #################################################################### # 'check_esx3_dc_vm' command definition define command{ command_name check_esx3_dc_vm command_line $USER1$/chec_esx3.pl -D $ARG1$ -u $USER11$ -p $USER12$ -l $ARG2$ -s $ARG3$ -N $HOSTALIAS$ -w $ARG4$ -c $ARG5$ } # 'check_esx3_dc_host' command definition define command{ command_name check_esx3_dc_host command_line $USER1$/chec_esx3.pl -D $ARG1$ -u $USER11$ -p $USER12$ -l $ARG2$ -s $ARG3$ -w $ARG4$ -c $ARG5$ } #################################################################### # commands for ESX(i)/Vsphere hosts #################################################################### # 'check_esx3_host_cpu_usage' command definition define command{ command_name check_esx3_host_cpu_usage command_line $USER1$/check_esx3.pl -H $HOSTADDRESS$ -u $USER11$ -p $USER12$ -l cpu -s usage -w $ARG1$ -c $ARG2$ } # 'check_esx3_host_mem_usage' command definition define command{ command_name check_esx3_host_mem_usage command_line $USER1$/check_esx3.pl -H $HOSTADDRESS$ -u $USER11$ -p $USER12$ -l mem -s usage -w $ARG1$ -c $ARG2$ } # 'check_esx3_host_swap_usage' command definition define command{ command_name check_esx3_host_swap_usage command_line $USER1$/check_esx3.pl -H $HOSTADDRESS$ -u $USER11$ -p $USER12$ -l mem -s swap -w $ARG1$ -c $ARG2$ } # 'check_esx3_host_net_usage' command definition define command{ command_name check_esx3_host_net_usage command_line $USER1$/check_esx3.pl -H $HOSTADDRESS$ -u $USER11$ -p $USER12$ -l net -s usage -w $ARG1$ -c $ARG2$ } # 'check_esx3_host_vmfs' command definition define command{ command_name check_esx3_host_vmfs command_line $USER1$/check_esx3.pl -H $HOSTADDRESS$ -u $USER11$ -p $USER12$ -l vmfs -s $ARG1$ -w "$ARG2$:" -c "$ARG3$:" } # 'check_esx3_host_runtime_status' command definition define command{ command_name check_esx3_host_runtime_status command_line $USER1$/check_esx3.pl -H $HOSTADDRESS$ -u $USER11$ -p $USER12$ -l runtime -s status } # 'check_esx3_host_runtime_issues' command definition define command{ command_name check_esx3_host_runtime_issues command_line $USER1$/check_esx3.pl -H $HOSTADDRESS$ -u $USER11$ -p $USER12$ -l runtime -s issues } # 'check_esx3_host_io_read' command definition define command{ command_name check_esx3_host_io_read command_line $USER1$/check_esx3.pl -H $HOSTADDRESS$ -u $USER11$ -p $USER12$ -l io -s read -w $ARG1$ -c $ARG2$ } # 'check_esx3_host_io_write' command definition define command{ command_name check_esx3_host_io_write command_line $USER1$/check_esx3.pl -H $HOSTADDRESS$ -u $USER11$ -p $USER12$ -l io -s write -w $ARG1$ -c $ARG2$ } #################################################################### # Commands for virtual machines on ESX(i)/vSphere servers #################################################################### # 'check_esx3_vm_cpu_usage' command definition define command{ command_name check_esx3_vm_cpu_usage command_line $USER1$/check_esx3.pl -H $ARG1$ -u $USER11$ -p $USER12$ -N $ARG4$ -l cpu -s usage -w $ARG2$ -c $ARG3$ } # 'check_esx3_vm_mem_usage' command definition define command{ command_name check_esx3_vm_mem_usage command_line $USER1$/check_esx3.pl -H $ARG1$ -u $USER11$ -p $USER12$ -N $ARG4$ -l mem -s usage -w $ARG2$ -c $ARG3$ } # 'check_esx3_vm_swap_usage' command definition define command{ command_name check_esx3_vm_swap_usage command_line $USER1$/check_esx3.pl -H $ARG1$ -u $USER11$ -p $USER12$ -N $ARG4$ -l mem -s swap -w $ARG2$ -c $ARG3$ } # 'check_esx3_vm_net_usage' command definition define command{ command_name check_esx3_vm_net_usage command_line $USER1$/check_esx3.pl -H $ARG1$ -u $USER11$ -p $USER12$ -N $ARG4$ -l net -s usage -w $ARG2$ -c $ARG3$ } # 'check_esx3_vm_runtime_cpu' command definition define command{ command_name check_esx3_vm_runtime_cpu command_line $USER1$/check_esx3.pl -H $ARG1$ -u $USER11$ -p $USER12$ -N $ARG4$ -l runtime -s cpu -w $ARG2$ -c $ARG3$ } # 'check_esx3_vm_runtime_mem' command definition define command{ command_name check_esx3_vm_runtime_mem command_line $USER1$/check_esx3.pl -H $ARG1$ -u $USER11$ -p $USER12$ -N $ARG4$ -l runtime -s mem -w $ARG2$ -c $ARG3$ } # 'check_esx3_vm_runtime_status' command definition define command{ command_name check_esx3_vm_runtime_status command_line $USER1$/check_esx3.pl -H $ARG1$ -u $USER11$ -p $USER12$ -N $ARG2$ -l runtime -s status } # 'check_esx3_vm_runtime_state' command definition define command{ command_name check_esx3_vm_runtime_state command_line $USER1$/check_esx3.pl -H $ARG1$ -u $USER11$ -p $USER12$ -N $ARG2$ -l runtime -s state } # 'check_esx3_vm_runtime_issues' command definition define command{ command_name check_esx3_vm_runtime_issues command_line $USER1$/check_esx3.pl -H $ARG1$ -u $USER11$ -p $USER12$ -N $ARG2$ -l runtime -s issues } #################################################################### # Commands for virtual machines trough your Datacenter/vCenter #################################################################### # 'check_esx3_dc_vm_cpu_usage' command definition define command{ command_name check_esx3_dc_vm_cpu_usage command_line $USER1$/check_esx3.pl -D $ARG1$ -u $USER11$ -p $USER12$ -N $HOSTALIAS$ -l cpu -s usage -w $ARG2$ -c $ARG3$ } # 'check_esx3_dc_vm_mem_usage' command definition define command{ command_name check_esx3_dc_vm_mem_usage command_line $USER1$/check_esx3.pl -D $ARG1$ -u $USER11$ -p $USER12$ -N $HOSTALIAS$ -l mem -s usage -w $ARG2$ -c $ARG3$ } # 'check_esx3_dc_vm_swap_usage' command definition define command{ command_name check_esx3_dc_vm_swap_usage command_line $USER1$/check_esx3.pl -D $ARG1$ -u $USER11$ -p $USER12$ -N $HOSTALIAS$ -l mem -s swap -w $ARG2$ -c $ARG3$ } # 'check_esx3_dc_vm_net_usage' command definition define command{ command_name check_esx3_dc_vm_net_usage command_line $USER1$/check_esx3.pl -D $ARG1$ -u $USER11$ -p $USER12$ -N $HOSTALIAS$ -l net -s usage -w $ARG2$ -c $ARG3$ } # 'check_esx3_dc_vm_runtime_cpu' command definition define command{ command_name check_esx3_dc_vm_runtime_cpu command_line $USER1$/check_esx3.pl -D $ARG1$ -u $USER11$ -p $USER12$ -N $HOSTALIAS$ -l runtime -s cpu -w $ARG2$ -c $ARG3$ } # 'check_esx3_dc_vm_runtime_mem' command definition define command{ command_name check_esx3_dc_vm_runtime_mem command_line $USER1$/check_esx3.pl -D $ARG1$ -u $USER11$ -p $USER12$ -N $HOSTALIAS$ -l runtime -s mem -w $ARG2$ -c $ARG3$ } # 'check_esx3_dc_vm_runtime_status' command definition define command{ command_name check_esx3_dc_vm_runtime_status command_line $USER1$/check_esx3.pl -D $ARG1$ -u $USER11$ -p $USER12$ -N $HOSTALIAS$ -l runtime -s status } # 'check_esx3_dc_vm_runtime_state' command definition define command{ command_name check_esx3_dc_vm_runtime_state command_line $USER1$/check_esx3.pl -D $ARG1$ -u $USER11$ -p $USER12$ -N $HOSTALIAS$ -l runtime -s state } # 'check_esx3_dc_vm_runtime_issues' command definition define command{ command_name check_esx3_dc_vm_runtime_issues command_line $USER1$/check_esx3.pl -D $ARG1$ -u $USER11$ -p $USER12$ -N $HOSTALIAS$ -l runtime -s issues } #################################################################### # Commands for ESX/vSphere Hosts trough your Datacenter/vCenter #################################################################### # 'check_esx3_dc_host_cpu_usage' command definition define command{ command_name check_esx3_dc_host_cpu_usage command_line $USER1$/check_esx3.pl -D $ARG1$ -u $USER11$ -p $USER12$ -H $HOSTALIAS$ -l cpu -s usage -w $ARG2$ -c $ARG3$ } # 'check_esx3_dc_host_mem_usage' command definition define command{ command_name check_esx3_dc_host_mem_usage command_line $USER1$/check_esx3.pl -D $ARG1$ -u $USER11$ -p $USER12$ -H $HOSTALIAS$ -l mem -s usage -w $ARG2$ -c $ARG3$ } # 'check_esx3_dc_host_net_usage' command definition define command{ command_name check_esx3_dc_host_net_usage command_line $USER1$/check_esx3.pl -D $ARG1$ -u $USER11$ -p $USER12$ -H $HOSTALIAS$ -l net -s usage -w $ARG2$ -c $ARG3$ } # 'check_esx3_dc_host_runtime_issues' command definition define command{ command_name check_esx3_dc_host_runtime_issues command_line $USER1$/check_esx3.pl -D $ARG1$ -u $USER11$ -p $USER12$ -H $HOSTALIAS$ -l runtime -s issues } # 'check_esx3_dc_host_runtime_state' command definition define command{ command_name check_esx3_dc_host_runtime_state command_line $USER1$/check_esx3.pl -D $ARG1$ -u $USER11$ -p $USER12$ -H $HOSTALIAS$ -l runtime -s state } # 'check_esx3_dc_host_runtime_status' command definition define command{ command_name check_esx3_dc_host_runtime_status command_line $USER1$/check_esx3.pl -D $ARG1$ -u $USER11$ -p $USER12$ -H $HOSTALIAS$ -l runtime -s status } # 'check_esx3_dc_host_swap_usage' command definition define command{ command_name check_esx3_dc_host_swap_usage command_line $USER1$/check_esx3.pl -D $ARG1$ -u $USER11$ -p $USER12$ -H $HOSTALIAS$ -l mem -s swap -w $ARG2$ -c $ARG3$ } # 'check_esx3_dc_host_io_read' command definition define command{ command_name check_esx3_dc_host_io_read command_line $USER1$/check_esx3.pl -D $ARG1$ -u $USER11$ -p $USER12$ -H $HOSTALIAS$ -l io -s read -w $ARG2$ -c $ARG3$ } # 'check_esx3_dc_host_io_write' command definition define command{ command_name check_esx3_dc_host_io_write command_line $USER1$/check_esx3.pl -D $ARG1$ -u $USER11$ -p $USER12$ -H $HOSTALIAS$ -l io -s write -w $ARG2$ -c $ARG3$ }