Alan Hoyt wrote:
Ken McDonell wrote:
On Tue, 5 Aug 2003, Alan Hoyt wrote:
Line 64 was changed from LOCALHOSTNAME=`hostname`
LOCALHOSTNAME=`hostname -s`
At that point we need the short form of the hostname, and on some
systems hostname returns the fully qualified domain name, while
hostname -s
returns the short name.
What was the logic behind this change?
I haven’t tested it exhaustively but it seems to work correctly either
way – with a fully qualified name or a short name. That's why the
addition of the -s flag wasn't clear to me.
Ok, the logger control file specifies the logger instance (controlling
pmlogger_check) and this change fixed the inability to stipulate short
names in the control file - so it's necessary to work for all cases.
- Alan -
|