FTP Server Config Wizard check command wrong

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
GldRush98
Posts: 259
Joined: Wed May 25, 2011 10:51 am
Location: Springfield, IL
Contact:

FTP Server Config Wizard check command wrong

Post 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] :)
Prod XI: Debian 12 - Nagios XI 2026R1.2
Dev XI: Debian 12 - Nagios XI 2026R1.2
kyang

Re: FTP Server Config Wizard check command wrong

Post by kyang »

Thanks for showing this to us.

I will notify a developer about it.
Locked