Hi,
I run 4.3.10 and the client name for my server has always been the same as the server name (xymon). This is not the hostname of the machine. The server machine is also listed elsewhere in hosts.cfg with just the network tests under its actual hostname.
I've decided it would be better to have the client tests (cpu, disk, etc.) under the host's real name as well and keep the xymon stuff under the xymon name. Originally I had the actual hostname in hosts.cfg in a CLIENT: tag. I've since removed that next to the host name xymon and moved it to the real host name. However, even after a restart, nothing has changed -- all client tests are still kept up to date under hostname xymon.
The client is launched by the server in tasks.cfg as per usual. Any idea why this is happening?
Thanks.
Hi,
I run 4.3.10 and the client name for my server has always been the same as the server name (xymon). This is not the hostname of the machine. The server machine is also listed elsewhere in hosts.cfg with just the network tests under its actual hostname.
I've decided it would be better to have the client tests (cpu, disk, etc.) under the host's real name as well and keep the xymon stuff under the xymon name. Originally I had the actual hostname in hosts.cfg in a CLIENT: tag. I've since removed that next to the host name xymon and moved it to the real host name. However, even after a restart, nothing has changed -- all client tests are still kept up to date under hostname xymon.
The client is launched by the server in tasks.cfg as per usual. Any idea why this is happening?
Thanks.
Did you run run a xymon drop on the old host name? Have you checked the config on the client to make sure it doesn't have the wrong hostname manually set?
Mike Burger http://www.bubbanfriends.org
"It's always suicide-mission this, save-the-planet that. No one ever just stops by to say 'hi' anymore." --Colonel Jack O'Neill, SG1
If you don't want to lose the history, use "rename" instead of "drop". But the core issue is probably that the client side is still reporting as "xymon".
On 2013-02-22 8:11, Mike Burger wrote:
Hi, I run 4.3.10 and the client name for my server has always been the same as the server name (xymon). This is not the hostname of the machine. The server machine is also listed elsewhere in hosts.cfg with just the network tests under its actual hostname. I've decided it would be better to have the client tests (cpu, disk, etc.) under the host's real name as well and keep the xymon stuff under the xymon name. Originally I had the actual hostname in hosts.cfg in a CLIENT: tag. I've since removed that next to the host name xymon and moved it to the real host name. However, even after a restart, nothing has changed -- all client tests are still kept up to date under hostname xymon. The client is launched by the server in tasks.cfg as per usual. Any idea why this is happening? Thanks.
Did you run run a xymon drop on the old host name? Have you checked the config on the client to make sure it doesn't have the wrong hostname manually set?
I definitely agree, and know that I could probably fix this by manually setting the hostname in the client software... But I am reticent to do that if I don't understand why it is happening. Is this just how it works when you run the client via the server? Where is the server name set?
---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Sr. Systems Programmer |$&| |__| | | |__/ | \| _| |novosirj at umdnj.edu - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/EI-Academic Svcs. - ADMC 450, Newark
From: xymon-bounces at xymon.com [xymon-bounces at xymon.com] On Behalf Of Another Xymon User [xymon at epperson.homelinux.net] Sent: Friday, February 22, 2013 9:01 AM To: xymon at xymon.com Subject: Re: [Xymon] Client hostname on server
If you don't want to lose the history, use "rename" instead of "drop". But the core issue is probably that the client side is still reporting as "xymon".
On 2013-02-22 8:11, Mike Burger wrote:
Hi, I run 4.3.10 and the client name for my server has always been the same as the server name (xymon). This is not the hostname of the machine. The server machine is also listed elsewhere in hosts.cfg with just the network tests under its actual hostname. I've decided it would be better to have the client tests (cpu, disk, etc.) under the host's real name as well and keep the xymon stuff under the xymon name. Originally I had the actual hostname in hosts.cfg in a CLIENT: tag. I've since removed that next to the host name xymon and moved it to the real host name. However, even after a restart, nothing has changed -- all client tests are still kept up to date under hostname xymon. The client is launched by the server in tasks.cfg as per usual. Any idea why this is happening? Thanks.
Did you run run a xymon drop on the old host name? Have you checked the config on the client to make sure it doesn't have the wrong hostname manually set?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
So it would appear that the name of the client hostname comes into the equation before xymonclient.cfg -- that file doesn't contain a hostname, and the hostname is instead set in xymon.sh that runs the server.
What I ended up doing is not running the client via the server anymore and just running it separately, which is what I was doing before 4.3.x because for whatever reason the server just failed to run the clients on my machine under 4.2.x
In any case, if someone has a better solution, I'd be interested to hear it. Basically I'm trying to run the client software on the server via the client server but have a different value for MACHINEDOTS, which is the client software hostname.
On 02/22/2013 12:03 PM, Novosielski, Ryan wrote:
I definitely agree, and know that I could probably fix this by manually setting the hostname in the client software... But I am reticent to do that if I don't understand why it is happening. Is this just how it works when you run the client via the server? Where is the server name set?
- -- ---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Sr. Systems Programmer |$&| |__| | | |__/ | \| _| |novosirj at umdnj.edu - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/EI-Academic Svcs. - ADMC 450, Newark ________________________________________ From: xymon-bounces at xymon.com [xymon-bounces at xymon.com] On Behalf Of Another Xymon User [xymon at epperson.homelinux.net] Sent: Friday, February 22, 2013 9:01 AM To: xymon at xymon.com Subject: Re: [Xymon] Client hostname on server
If you don't want to lose the history, use "rename" instead of "drop". But the core issue is probably that the client side is still reporting as "xymon".
On 2013-02-22 8:11, Mike Burger wrote:
Hi, I run 4.3.10 and the client name for my server has always been the same as the server name (xymon). This is not the hostname of the machine. The server machine is also listed elsewhere in hosts.cfg with just the network tests under its actual hostname. I've decided it would be better to have the client tests (cpu, disk, etc.) under the host's real name as well and keep the xymon stuff under the xymon name. Originally I had the actual hostname in hosts.cfg in a CLIENT: tag. I've since removed that next to the host name xymon and moved it to the real host name. However, even after a restart, nothing has changed -- all client tests are still kept up to date under hostname xymon. The client is launched by the server in tasks.cfg as per usual. Any idea why this is happening? Thanks.
Did you run run a xymon drop on the old host name? Have you checked the config on the client to make sure it doesn't have the wrong hostname manually set?
_______________________________________________ Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
- ---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Sr. Systems Programmer |$&| |__| | | |__/ | \| _| |novosirj at umdnj.edu - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/EI-Academic Svcs. - ADMC 450, Newark -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.net/
iEYEARECAAYFAlEn4cIACgkQmb+gadEcsb6fSgCg2zNMunL8R4S2FmB24+TuSt+U 75gAn2v7t8Fdmw/A3CPe3s2C8Yehr6r/ =s8VY -----END PGP SIGNATURE-----
Yup. I dropped both the xymon (which is a CNAME to the real name) name and the client's real name. The hostname in the client software is set to uname -n which does report the name I want.
----- Original Message ----- From: Mike Burger [mailto:mburger at bubbanfriends.org] Sent: Friday, February 22, 2013 08:11 AM To: Novosielski, Ryan Cc: 'xymon at xymon.com' <xymon at xymon.com> Subject: Re: [Xymon] Client hostname on server
Hi,
I run 4.3.10 and the client name for my server has always been the same as the server name (xymon). This is not the hostname of the machine. The server machine is also listed elsewhere in hosts.cfg with just the network tests under its actual hostname.
I've decided it would be better to have the client tests (cpu, disk, etc.) under the host's real name as well and keep the xymon stuff under the xymon name. Originally I had the actual hostname in hosts.cfg in a CLIENT: tag. I've since removed that next to the host name xymon and moved it to the real host name. However, even after a restart, nothing has changed -- all client tests are still kept up to date under hostname xymon.
The client is launched by the server in tasks.cfg as per usual. Any idea why this is happening?
Thanks.
Did you run run a xymon drop on the old host name? Have you checked the config on the client to make sure it doesn't have the wrong hostname manually set?
Mike Burger http://www.bubbanfriends.org
"It's always suicide-mission this, save-the-planet that. No one ever just stops by to say 'hi' anymore." --Colonel Jack O'Neill, SG1
participants (3)
-
mburger@bubbanfriends.org
-
novosirj@umdnj.edu
-
xymon@epperson.homelinux.net