FTP error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: FTP error

Post by benningtonr »

anyone?
bueller, bueller?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: FTP error

Post by scottwilkerson »

benningtonr wrote:anyone?
bueller, bueller?
Really?
benningtonr wrote:Error has changed to:

CRITICAL: FTP check failed when trying to list the contents of a directory.
this is usually cause by either the hostname, username or password not being correct to connect.

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$
Let us know if that makes it work for you.

I'll do some testing on this side, but it will take some time...
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: FTP error

Post by benningtonr »

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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: FTP error

Post by scottwilkerson »

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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: FTP error

Post by benningtonr »

ok, thanks
Locked