[packages/nagios-plugin-check_ftp_fully: 3/4] nonstandard args usage, so do not pass any predefined macro

glen glen at pld-linux.org
Wed Mar 25 11:00:53 CET 2015


commit b6da6d50a42c3b20e8098a05384e04c3a44ee842
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Mar 25 11:57:06 2015 +0200

    nonstandard args usage, so do not pass any predefined macro

 check_ftp_fully.cfg | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/check_ftp_fully.cfg b/check_ftp_fully.cfg
index d6bade2..362a3d9 100644
--- a/check_ftp_fully.cfg
+++ b/check_ftp_fully.cfg
@@ -1,8 +1,12 @@
-# Usage:
-# check_ftp_fully
+# Expected parameters, in order:
+# USERNAME: Username to use to log into the ftp server
+# PASSWORD: Password that corresponds to the username to log into the server
+# PORT: Port on which the ftp server is listening
+# HOSTNAME: Machine on which the ftp server is running
+
 define command {
 	command_name    check_ftp_fully
-	command_line    /usr/lib/nagios/plugins/check_ftp_fully $HOSTADDRESS$ $ARG1$
+	command_line    /usr/lib/nagios/plugins/check_ftp_fully $ARG1$
 }
 
 define service {
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/nagios-plugin-check_ftp_fully.git/commitdiff/e33878fe4c60b42aaf6218df71682e57c7d5ae3d



More information about the pld-cvs-commit mailing list