Page 1 of 1

FTP Server Config Wizard check command wrong

Posted: Wed Dec 13, 2017 2:11 pm
by GldRush98
This has got me in the past and it just got me again as I ran a bunch of config wizard updates on our XI machine today.

The FTP Server wizard has this in its templates, and is thus set as a command in XI:

Code: Select all

define command{
	command_name	check_ftp_fully
	command_line	$USER1$/check_ftp_fully "$ARG1$" "$ARG2$" "$ARG3$" $HOSTNAME$
	}
The problem being it is using $HOSTNAME$ instead of $HOSTADDRESS$
The hostname of a host is usually not a resolvable DNS name or IP, but rather a friendly host name.
The hostaddress however is always a resolvable name or IP, and is also what is used in every other check out there. For some reason the FTP Server config wizard has this wrong.
Granted, it's not updated often, but that almost makes it harder to fix as I never remember exactly what the problem is and go and track it down every time :lol:

[Lumberg]So if you could go ahead and get that fixed, that'd be greeeaaattt[/Lumberg] :)

Re: FTP Server Config Wizard check command wrong

Posted: Wed Dec 13, 2017 4:10 pm
by kyang
Thanks for showing this to us.

I will notify a developer about it.