summaryrefslogtreecommitdiff
path: root/manifests/defaults
diff options
context:
space:
mode:
authorJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2009-12-11 14:24:55 -0500
committerJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2009-12-11 14:24:55 -0500
commit6ec1a7278b66826b2e64589ab5336243b27cffdb (patch)
treea3d93bb8dfea6a7da7e89443397af0b824966af4 /manifests/defaults
parentbf56902bf1411611dcedec95dbc49c654a07f347 (diff)
add mysql commands and service
Diffstat (limited to 'manifests/defaults')
-rw-r--r--manifests/defaults/commands.pp6
1 files changed, 6 insertions, 0 deletions
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: