aboutsummaryrefslogtreecommitdiff
path: root/plugins/tests/check_ftp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/tests/check_ftp')
-rw-r--r--plugins/tests/check_ftp9
1 files changed, 9 insertions, 0 deletions
diff --git a/plugins/tests/check_ftp b/plugins/tests/check_ftp
new file mode 100644
index 00000000..4266ebdc
--- /dev/null
+++ b/plugins/tests/check_ftp
@@ -0,0 +1,9 @@
+check_ftp
+
+[normal]
+$hostname -wt 300 -ct 600
+FTP ok - [0-9]+ second response time
+
+[critical]
+$noserver -wt 0 -ct 0
+(Invalid FTP response received from host|Connection refused by host)