summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/command.pp11
-rw-r--r--manifests/commands.pp36
2 files changed, 0 insertions, 47 deletions
diff --git a/manifests/command.pp b/manifests/command.pp
deleted file mode 100644
index 066189c..0000000
--- a/manifests/command.pp
+++ /dev/null
@@ -1,11 +0,0 @@
-# just a wrapper to make the notify more easy
-define nagios::command(
- $ensure = present,
- $command_line
-){
- nagios_command{$name:
- ensure => $ensure,
- command_line => $command_line,
- notify => Service[nagios],
- }
-}
diff --git a/manifests/commands.pp b/manifests/commands.pp
deleted file mode 100644
index a67e6fd..0000000
--- a/manifests/commands.pp
+++ /dev/null
@@ -1,36 +0,0 @@
-class nagios::commands {
-
- # a set of commonly used commands
- nagios::command{
- ssh_port:
- command_line => '$USER1$/check_ssh -p $ARG1$ $HOSTADDRESS$';
- # from apache2.pp
- http_port:
- command_line => '$USER1$/check_http -p $ARG1$ -H $HOSTADDRESS$ -I $HOSTADDRESS$';
- # from bind.pp
- check_dig2:
- command_line => '$USER1$/check_dig -H $HOSTADDRESS$ -l $ARG1$ --record_type=$ARG2$';
- check_ntp_time:
- command_line => '$USER1$/check_ntp_time -H $HOSTADDRESS$ -w 0.5 -c 1';
- check_http_url:
- command_line => '$USER1$/check_http -H $ARG1$ -u $ARG2$';
- check_http_url_regex:
- command_line => '$USER1$/check_http -H $ARG1$ -u $ARG2$ -e $ARG3$';
- check_https_url:
- 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_https:
- command_line => '$USER1$/check_http -S -H $HOSTADDRESS$';
- check_silc:
- command_line => '$USER1$/check_tcp -p 706 -H $ARG1$';
- check_sobby:
- command_line => '$USER1$/check_tcp -H $ARG1$ -p $ARG2$';
- check_jabber:
- command_line => '$USER1$/check_jabber -H $ARG1$';
- check_jabber_login:
- command_line => '$USER1$/check_jabber_login $ARG1$ $ARG2$',
- require => Nagios::Plugin['check_jabber_login'];
- }
-
-}