Hi, David,
Config is like this:
PS D:\apps\xymon\client> .\xymonclient.ps1 config XymonPSClient config:
clientfqdn : 0 clientconfigfile : d:\tmp\xymonconfig.cfg clientlogfile : d:\tmp\xymonclient.log clientname : mckoemtab5.mck.experian.com
Settable Params and values: clientbbwinmembug=1 clientconfigfile=d:\tmp\xymonconfig.cfg clientfqdn=0 clientlogfile=d:\tmp\xymonclient.log clientlower=1 clientname=mckoemtab5.mck.experian.com clientremotecfgexec=0 loopinterval=300 maxlogage=60 reportevt=1 servers=xymonhost slowscanrate=72 wanteddisks=3 wantedlogs=Application System Security
But it's sending client name as mckoemtab5.experiandmz.local
I originally had client set simply to "mckoemtab5", but it made no difference.
g
-----Original Message----- From: David Baldwin [mailto:david.baldwin at ausport.gov.au] Sent: Tuesday, January 14, 2014 22:37 To: Ribeiro, Glauber Cc: xymon at xymon.com Subject: Re: [Xymon] Bug Report: Powershell client ignoring clientname option
On 15/01/14 10:22 AM, Ribeiro, Glauber wrote:
It seems that it doesn't matter what I set on .\xymonclient.ps1 set clientname
Xymonclient is always sending the fully qualified computer name with the domain name set in ip config
What is the config value of clientfqdn ?
0 = unqualified, 1 = fully-qualified (always append default DNS domain)
See README.txt for all the details.
So to set clientname to some other domain you'd set clientname to FQDN, clientfqdn to 0. If you want other than lower case, clientlower = 0 also.
David.
-- David Baldwin - Senior Systems Administrator (Datacentres + Networks) Information and Communication Technology Services Australian Sports Commission http://ausport.gov.au Tel 02 62147830 Fax 02 62141830 PO Box 176 Belconnen ACT 2616 david.baldwin at ausport.gov.au 1 Leverrier Street Bruce ACT 2617 Our Values: RESPECT + INTEGRITY + TEAMWORK + EXCELLENCE
Keep up to date with what's happening in Australian sport visit http://www.ausport.gov.au