define command { command_name check_ssh_disk command_line $USER2$/check_by_ssh -H $HOSTADDRESS$ -C "$USER2$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$" } define command { command_name check_ssh_all_disks command_line $USER2$/check_by_ssh -H $HOSTADDRESS$ -C "$USER2$/check_disk -w $ARG1$ -c $ARG2$ -A -X fuse.gvfs-fuse-daemon -X tmpfs -X devtmpfs -X nfs -X fuse.glusterfs" } define command { command_name check_ssh_load command_line $USER2$/check_by_ssh -H $HOSTADDRESS$ -C "$USER2$/check_load -w $ARG1$ -c $ARG2$" } define command { command_name check_ssh_procs command_line $USER2$/check_by_ssh -H $HOSTADDRESS$ -C "$USER2$/check_procs -w $ARG1$ -c $ARG2$ -s $ARG3$" } define command { command_name check_ssh_users command_line $USER2$/check_by_ssh -H $HOSTADDRESS$ -C "$USER2$/check_users -w $ARG1$ -c $ARG2$" } define command { command_name check_ssh_swap command_line $USER2$/check_by_ssh -H $HOSTADDRESS$ -C "$USER2$/check_swap -w $ARG1$ -c $ARG2$" } define command { command_name check_ssh_mem command_line $USER2$/check_by_ssh -H $HOSTADDRESS$ -C "$USER2$/check_mem -u -C -w $ARG1$ -c $ARG2$" } define command { command_name check_ssh_mysql command_line $USER2$/check_by_ssh -H $HOSTADDRESS$ -C "$USER2$/check_mysql -H 127.0.0.1 -u root" } define command { command_name check_ssh_pgsql command_line $USER2$/check_by_ssh -H $HOSTADDRESS$ -C "$USER2$/check_pgsql -l nagios -p iosnag -d $ARG1$" } #define command { # command_name check_ssh_ipmi # command_line $USER2$/check_by_ssh -H $HOSTADDRESS$ -C "$USER2$/check_ipmi_sensor1 -H localhost -T $ARG1$" #} define command { command_name check_ssh_ibnode command_line $USER2$/check_by_ssh -H $HOSTADDRESS$ -C "/opt/scripts/nagios_ib_node.sh $ARG1$" }