summaryrefslogtreecommitdiffstats
path: root/config/pdv/servers/01_commands.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'config/pdv/servers/01_commands.cfg')
-rw-r--r--config/pdv/servers/01_commands.cfg46
1 files changed, 46 insertions, 0 deletions
diff --git a/config/pdv/servers/01_commands.cfg b/config/pdv/servers/01_commands.cfg
new file mode 100644
index 0000000..34fcbad
--- /dev/null
+++ b/config/pdv/servers/01_commands.cfg
@@ -0,0 +1,46 @@
+define command {
+ command_name true
+ command_line /bin/true
+}
+
+define command {
+ command_name check_host
+ command_line $USER2$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5
+}
+
+define command {
+ command_name check_ip
+ command_line $USER2$/check_ping -H $ARG1$ -w 100.0,1% -c 500.0,5% -p 5
+}
+
+define command {
+ command_name check_remote_ip
+ command_line $USER2$/check_ping -H $ARG1$ -w 500.0,5% -c 2000.0,20% -p 5
+}
+
+define command {
+ command_name check_ntp
+ command_line $USER2$/check_ntp -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -t 1
+}
+
+define command {
+ command_name check_ntp_win
+ command_line $USER2$/check_ntp_win -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -t 1
+}
+
+define command {
+ command_name check_mysql
+ command_line $USER2$/check_mysql -H $HOSTADDRESS$ -u $ARG1$ -p $ARG2$
+}
+
+# We should not resolve ourselves (and actually argument looks different). So we go for original here.
+define command {
+ command_name check_dns
+ command_line $USER1$/check_dns -s $HOSTADDRESS$ -H $ARG1$ -a $ARG2$
+}
+
+define command {
+ command_name check_openvpn
+ command_line $USER1$/check_openvpn -H $HOSTADDRESS$ -p $ARG1$ -n -r $ARG2$ -c
+}
+