anyone?
bueller, bueller?
FTP error
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: FTP error
Really?benningtonr wrote:anyone?
bueller, bueller?
this is usually cause by either the hostname, username or password not being correct to connect.benningtonr wrote:Error has changed to:
CRITICAL: FTP check failed when trying to list the contents of a directory.
The command looks like it may have been setup incorrectly (Yes, this could be our fault for not testing this on the VM)
Lets change the command to read the following
Code: Select all
$USER1$/check_ftp_fully "$ARG1$" "$ARG2$" "$ARG3$" $HOSTADDRESS$I'll do some testing on this side, but it will take some time...
-
benningtonr
- Posts: 524
- Joined: Tue May 22, 2012 2:16 pm
Re: FTP error
I was just being funny, sorry about the bueller
I made changes and getting the following
CRITICAL: FTP check failed when trying to get a file from a directory
I made changes and getting the following
CRITICAL: FTP check failed when trying to get a file from a directory
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: FTP error
Here's how the script works.
First it tries to logs in
Second it tries to list the users default directory
Third it tries to upload a file
Fourth it tries to download the same file it uploaded
Fifth it tries to remove the file it uploaded.
If any of these steps fail (often because of rights on the server) it will error.
You will need to check the permissions on the FTP server and then the FTP server log, to view any further errors
First it tries to logs in
Second it tries to list the users default directory
Third it tries to upload a file
Fourth it tries to download the same file it uploaded
Fifth it tries to remove the file it uploaded.
If any of these steps fail (often because of rights on the server) it will error.
You will need to check the permissions on the FTP server and then the FTP server log, to view any further errors