# 'check_apt' command definition -- not useable on ALT #define command{ # command_name check_apt # command_line $USER1$/check_apt -n # } # 'check_local_disk' command definition define command{ command_name check_local_disk command_line $USER1$/check_disk -w $ARG2$ -c $ARG3$ -p $ARG1$ $ARG4$ } # 'check_disk' command definition define command{ command_name check_disk command_line $USER1$/check_disk -w $ARG2$ -c $ARG3$ -p $ARG1$ } # 'check_ide_smart' command definition define command{ command_name check_ide_smart command_line $USER1$/check_ide_smart -n -d $ARG1$ } # 'check_dummy' command definition # command format: check_dummy # nagios:state: 0 - OK, 1 - WARNING, 2 - CRITICAL, any_other - UNKNOWN define command{ command_name check_dummy command_line $USER1$/check_dummy $ARG1$ $ARG2$ } # 'check_file_age' command definition define command{ command_name check_file_age command_line $USER1$/check_file_age -f $ARG1$ -w $ARG2$ -c $ARG3$ } # 'check_file_age_size' command definition define command{ command_name check_file_age_size command_line $USER1$/check_file_age -f $ARG1$ -w $ARG2$ -c $ARG3$ -W $ARG4$ -C $ARG5$ } # 'check_logs' command definition # check_log script is useless with big log-files because script need a COPY of # checked file (see '-O oldlog' key). define command{ command_name check_log command_line $USER1$/check_log -F $ARG1$ -O /var/lib/nagios/tmp/$ARG2$ -q $ARG3$ } # 'check_mrtg' command definition define command{ command_name check_mrtg command_line $USER1$/check_mrtg -F $ARG1$ -w $ARG2$ -c $ARG3$ -e $ARG4$ -a $ARG5 -v $ARG6$ } # 'check_local_mrtgtraf' command definition define command{ command_name check_local_mrtgtraf command_line $USER1$/check_mrtgtraf -F $ARG1$ -w $ARG2$ -c $ARG3$ -e $ARG4$ -a $ARG5$ } # 'check_local_swap' command definition define command{ command_name check_local_swap command_line $USER1$/check_swap -w $ARG1$ -c $ARG2$ } # 'check_local_users' command definition define command{ command_name check_local_users command_line $USER1$/check_users -w $ARG1$ -c $ARG2$ } # 'check_users' command definition define command{ command_name check_users command_line $USER1$/check_users -w $ARG1$ -c $ARG2$ }