summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2010-10-20 21:15:10 +0200
committermh <mh@immerda.ch>2010-10-20 21:15:10 +0200
commit4ab9195df1b71173e0e54159523cf0d167a1abb7 (patch)
tree5d92319a545b08d646af798d44fb803c9ad0bcce /manifests
parentb057ff41f32ccba198a41a5babc51da6f48911a5 (diff)
rename check_ssh port cmd, add ssh_port_host cmd
Diffstat (limited to 'manifests')
-rw-r--r--manifests/defaults/commands.pp4
1 files changed, 3 insertions, 1 deletions
diff --git a/manifests/defaults/commands.pp b/manifests/defaults/commands.pp
index 25ab1bc..bd67198 100644
--- a/manifests/defaults/commands.pp
+++ b/manifests/defaults/commands.pp
@@ -49,8 +49,10 @@ class nagios::defaults::commands {
command_line => '$USER1$/check_disk -w $ARG1$ -c $ARG2$ -e';
check_ssh:
command_line => '$USER1$/check_ssh $HOSTADDRESS$';
- ssh_port:
+ check_ssh_port:
command_line => '$USER1$/check_ssh -p $ARG1$ $HOSTADDRESS$';
+ check_ssh_port_host:
+ command_line => '$USER1$/check_ssh -p $ARG1$ $ARG2$';
check_http:
command_line => '$USER1$/check_http -H $HOSTADDRESS$ -I $HOSTADDRESS$';
check_https: