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

FTP error

Post by benningtonr »

getting:

UNKNOWN: Executable /usr/bin/lftp is not accessible

command is
check_ftp_fully!Domain\Username!Password!21

there are probably 50-60 ftp site on this server

Thanks for the help
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: FTP error

Post by lmiltchev »

Can you show the output of the following command:

Code: Select all

ll /usr/bin/lftp
Be sure to check out our Knowledgebase for helpful articles and solutions!
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: FTP error

Post by benningtonr »

Still fighting the ftp error


[root@helpdesk84 libexec]# ll /usr/bin/lftp
ls: cannot access /usr/bin/lftp: No such file or directory
You have new mail in /var/spool/mail/root
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: FTP error

Post by scottwilkerson »

try

Code: Select all

yum install lftp -y
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 »

[root@helpdesk84 libexec]# ll /usr/bin/lftp
-rwxr-xr-x 1 root root 39412 Nov 11 2010 /usr/bin/lftp


Not sure what this means?
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: FTP error

Post by benningtonr »

Error has changed to:

CRITICAL: FTP check failed when trying to list the contents of 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 »

I was just looking at your first post and you will likely need to escape the \ in your username field
change
Domain\Username
to
Domain\\Username
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 »

tried the \\

got the same error
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: FTP error

Post by scottwilkerson »

Can you give us the command definition for check_ftp_fully

I'm not really familiar with this 3rd party plugin but with all the info we will try to help
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 »

it was configure in the nagios vm i downloaded.

$USER1$/check_ftp_fully "$ARG1$" "$ARG2$" "$ARG3$" $HOSTNAME
Entry cannot be activated because it is used by another configuration:
Relational information for check_ftp_fully of table tbl_command:
Relation to tbl_service, entry web4-FTP Transfer - deletion not possible
Locked