From 6ec1a7278b66826b2e64589ab5336243b27cffdb Mon Sep 17 00:00:00 2001 From: Jerome Charaoui Date: Fri, 11 Dec 2009 14:24:55 -0500 Subject: add mysql commands and service --- manifests/defaults/commands.pp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'manifests/defaults') diff --git a/manifests/defaults/commands.pp b/manifests/defaults/commands.pp index b7c16df..342fed1 100644 --- a/manifests/defaults/commands.pp +++ b/manifests/defaults/commands.pp @@ -35,6 +35,12 @@ class nagios::defaults::commands { command_line => '$USER1$/check_http --ssl -H $ARG1$ -u $ARG2$'; check_https_url_regex: command_line => '$USER1$/check_http --ssl -H $ARG1$ -u $ARG2$ -e $ARG3$'; + check_mysql: + command_line => '$USER1$/check_mysql -u $ARG1$ -p $ARG2$ -d $ARG3$ '; + check_mysql_socket: + command_line => '$USER1$/check_mysql -s $ARG1$ -u $ARG2$ -p $ARG3$ -d $ARG4$ '; + check_mysql_tcp: + command_line => '$USER1$/check_mysql -H $ARG1$ -u $ARG2$ -p $ARG3$ -d $ARG4$'; check_ntp_time: command_line => '$USER1$/check_ntp_time -H $HOSTADDRESS$ -w 0.5 -c 1'; check_silc: -- cgit v1.2.3