On 16/11/13 02:54, Frank Ch. Eigler wrote:
"Ken McDonell" <kenj@xxxxxxxxxxxxxxxx> writes:
[...]
Pmhostname returns ?Unknown Host? for valid hostnames that can be looked up
with nslookup.
There have been no material changes to pmhostname in recent releases.
pmhostname does next to nothing, so I'd expect the changes to be in
libpcp below __pmGetAddrInfo() or __pmHostEntGetName().
They don't necessarily have to be recent changes, this was an upgrade
from a very old working PCP installation.
It could even be something fixed between 3.8.0 and 3.8.9.
This is really bad and breaking a HUGE pmlogger farm because
pmlogger_check is failing to look up every single host in the
control file.
However, current pmlogger_check doesn't use pmhostname. The host
field from the control file is passed to pmlogconf/pmlogger pretty
much verbatim. Can you give an extract of the control file and the
pmlogger log files to see what's up?
- FChE
in pcp-3.8.0-1.el6.x86_64
$ grep pmhostname /usr/libexec/pcp/bin/pmlogger_check
if [ "X$host" != "X$LOCALHOSTNAME" -a "X$host" != "X`pmhostname`" ]
fqdn=`pmhostname $host | sed -e 's/@.*//'`
|