Xymon Mailing List Archive search

Bug Report: Powershell client ignoring clientname option

3 messages in this thread

list Glauber Ribeiro · Tue, 14 Jan 2014 23:22:19 +0000 ·
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


glauber
list David Baldwin · Wed, 15 Jan 2014 15:37:29 +1100 ·
quoted from Glauber Ribeiro
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
user-cbbf693f2c89@xymon.invalid          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

This message is intended for the addressee named and may contain confidential and privileged information. If you are not the intended recipient please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you receive this message in error, please delete it and notify the sender.
list Glauber Ribeiro · Wed, 15 Jan 2014 14:57:13 +0000 ·
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
quoted from David Baldwin


-----Original Message-----
From: David Baldwin [mailto:user-cbbf693f2c89@xymon.invalid] 
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
user-cbbf693f2c89@xymon.invalid          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

This message is intended for the addressee named and may contain confidential and privileged information. If you are not the intended recipient please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you receive this message in error, please delete it and notify the sender.