Configure remote client to be monitored by xymon
list Zain Syed
Hello, Can anyone please let me know how to configure my remote machine to be monitored by xymon? I Currently only ssh and conn are working but other services are not getting monitored. Please advise. Thanks
list Paul Root
Install the client software on the remote machine and set it’s server to your xymon server.
▸
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Zain Syed
Sent: Tuesday, July 25, 2017 1:12 PM
To: Xymon at xymon.com
Subject: [Xymon] Configure remote client to be monitored by xymon
Hello,
Can anyone please let me know how to configure my remote machine to be monitored by xymon? I Currently only ssh and conn are working but other services are not getting monitored. Please advise.
Thanks
This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
list Mike Burger
▸
On 2017-07-25 2:11 pm, Zain Syed wrote:
Hello, Can anyone please let me know how to configure my remote machine to be monitored by xymon? I Currently only ssh and conn are working but other services are not getting monitored. Please advise.
Zain, Depending on which Linux distro the remote client is running, the info could be different. RHEL/CentOS: /etc/sysconfig/xymon-client - Update the "XYMONSERVERS" variable with your xymon server's FQDN. Debian/Ubuntu: look for xymonclient.cfg (mine's in ~xymon/client/etc) and change the "XYMSRV" variable with your xymon server's FQDN. Other systems distributions, I couldn't tell you. -- 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
list Zain Syed
So I found that on my client machine under /home/xymon/client/etc (xymonclient.cfg) had a differnent IP for xymon server. So I have replaced it and restarted xymon. But this doesn't seem to work as well. Zain On Tue, Jul 25, 2017 at 3:21 PM, Mike Burger <user-cc5c6e80f4c5@xymon.invalid>
▸
wrote:
On 2017-07-25 2:11 pm, Zain Syed wrote: Hello, Can anyone please let me know how to configure my remote machine to be monitored by xymon? I Currently only ssh and conn are working but other services are not getting monitored. Please advise. Zain, Depending on which Linux distro the remote client is running, the info could be different. RHEL/CentOS: /etc/sysconfig/xymon-client - Update the "XYMONSERVERS" variable with your xymon server's FQDN. Debian/Ubuntu: look for xymonclient.cfg (mine's in ~xymon/client/etc) and change the "XYMSRV" variable with your xymon server's FQDN. Other systems distributions, I couldn't tell you. -- 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
list Jeremy Laidman
Look at the Ghost report on the Xymon server to see if it recognises the client hostname, and adjust on either end if required. Look at the logfiles clientlaunch.log and xymonclient.log to see if anything weird is showing up. On the client, see what happens when you run this (replace xymoncmd if it's somewhere else): echo '$XYMON $XYMSRV ping' | ~xymon/client/bin/xymoncmd and if that works, try this: echo '$XYMON $XYMSRV "config hosts.cfg"' | ~xymon/client/bin/xymoncmd and then this: echo '$XYMON $XYMSRV "client/test $MACHINEDOTS."' | ~xymon/client/bin/xymoncmd and maybe this: echo '$XYMON $XYMSRV ghostlist' | ~xymon/client/bin/xymoncmd Cheers Jeremy
▸
On 26 July 2017 at 06:14, Zain Syed <user-bde0bb3aaa69@xymon.invalid> wrote:
So I found that on my client machine under /home/xymon/client/etc (xymonclient.cfg) had a differnent IP for xymon server. So I have replaced it and restarted xymon. But this doesn't seem to work as well. Zain On Tue, Jul 25, 2017 at 3:21 PM, Mike Burger <user-cc5c6e80f4c5@xymon.invalid> wrote:On 2017-07-25 2:11 pm, Zain Syed wrote: Hello, Can anyone please let me know how to configure my remote machine to be monitored by xymon? I Currently only ssh and conn are working but other services are not getting monitored. Please advise. Zain, Depending on which Linux distro the remote client is running, the info could be different. RHEL/CentOS: /etc/sysconfig/xymon-client - Update the "XYMONSERVERS" variable with your xymon server's FQDN. Debian/Ubuntu: look for xymonclient.cfg (mine's in ~xymon/client/etc) and change the "XYMSRV" variable with your xymon server's FQDN. Other systems distributions, I couldn't tell you. -- 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
list Zain Syed
Yes i do see these host under ghost report. Could tou tell me how to clear these out ? Thanks Zain
▸
On Tuesday, July 25, 2017, Jeremy Laidman <user-71895fb2e44c@xymon.invalid> wrote:
Look at the Ghost report on the Xymon server to see if it recognises the client hostname, and adjust on either end if required. Look at the logfiles clientlaunch.log and xymonclient.log to see if anything weird is showing up. On the client, see what happens when you run this (replace xymoncmd if it's somewhere else): echo '$XYMON $XYMSRV ping' | ~xymon/client/bin/xymoncmd and if that works, try this: echo '$XYMON $XYMSRV "config hosts.cfg"' | ~xymon/client/bin/xymoncmd and then this: echo '$XYMON $XYMSRV "client/test $MACHINEDOTS."' | ~xymon/client/bin/xymoncmd and maybe this: echo '$XYMON $XYMSRV ghostlist' | ~xymon/client/bin/xymoncmd Cheers Jeremy On 26 July 2017 at 06:14, Zain Syed <user-bde0bb3aaa69@xymon.invalid <javascript:_e(%7B%7D,'cvml','user-bde0bb3aaa69@xymon.invalid');>> wrote:So I found that on my client machine under /home/xymon/client/etc (xymonclient.cfg) had a differnent IP for xymon server. So I have replaced it and restarted xymon. But this doesn't seem to work as well. Zain On Tue, Jul 25, 2017 at 3:21 PM, Mike Burger <user-cc5c6e80f4c5@xymon.invalid <javascript:_e(%7B%7D,'cvml','user-cc5c6e80f4c5@xymon.invalid');>> wrote:On 2017-07-25 2:11 pm, Zain Syed wrote: Hello, Can anyone please let me know how to configure my remote machine to be monitored by xymon? I Currently only ssh and conn are working but other services are not getting monitored. Please advise. Zain, Depending on which Linux distro the remote client is running, the info could be different. RHEL/CentOS: /etc/sysconfig/xymon-client - Update the "XYMONSERVERS" variable with your xymon server's FQDN. Debian/Ubuntu: look for xymonclient.cfg (mine's in ~xymon/client/etc) and change the "XYMSRV" variable with your xymon server's FQDN. Other systems distributions, I couldn't tell you. -- 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
list Zain Syed
Thanks all! Jeremy, thanks for narrowing down the issue. I had to give the fqdn and it is being monitored by xymon now. Thanks Zain
▸
On Wednesday, July 26, 2017, Zain Syed <user-bde0bb3aaa69@xymon.invalid> wrote:
Yes i do see these host under ghost report. Could tou tell me how to clear these out ? Thanks Zain On Tuesday, July 25, 2017, Jeremy Laidman <user-71895fb2e44c@xymon.invalid <javascript:_e(%7B%7D,'cvml','user-71895fb2e44c@xymon.invalid');>> wrote:Look at the Ghost report on the Xymon server to see if it recognises the client hostname, and adjust on either end if required. Look at the logfiles clientlaunch.log and xymonclient.log to see if anything weird is showing up. On the client, see what happens when you run this (replace xymoncmd if it's somewhere else): echo '$XYMON $XYMSRV ping' | ~xymon/client/bin/xymoncmd and if that works, try this: echo '$XYMON $XYMSRV "config hosts.cfg"' | ~xymon/client/bin/xymoncmd and then this: echo '$XYMON $XYMSRV "client/test $MACHINEDOTS."' | ~xymon/client/bin/xymoncmd and maybe this: echo '$XYMON $XYMSRV ghostlist' | ~xymon/client/bin/xymoncmd Cheers Jeremy On 26 July 2017 at 06:14, Zain Syed <user-bde0bb3aaa69@xymon.invalid> wrote:So I found that on my client machine under /home/xymon/client/etc (xymonclient.cfg) had a differnent IP for xymon server. So I have replaced it and restarted xymon. But this doesn't seem to work as well. Zain On Tue, Jul 25, 2017 at 3:21 PM, Mike Burger <user-cc5c6e80f4c5@xymon.invalid> wrote:On 2017-07-25 2:11 pm, Zain Syed wrote: Hello, Can anyone please let me know how to configure my remote machine to be monitored by xymon? I Currently only ssh and conn are working but other services are not getting monitored. Please advise. Zain, Depending on which Linux distro the remote client is running, the info could be different. RHEL/CentOS: /etc/sysconfig/xymon-client - Update the "XYMONSERVERS" variable with your xymon server's FQDN. Debian/Ubuntu: look for xymonclient.cfg (mine's in ~xymon/client/etc) and change the "XYMSRV" variable with your xymon server's FQDN. Other systems distributions, I couldn't tell you. -- 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
list Jeremy Laidman
Excellent! On 27 Jul. 2017 00:49, "Zain Syed" <user-bde0bb3aaa69@xymon.invalid> wrote:
Thanks all! Jeremy, thanks for narrowing down the issue. I had to give the fqdn and it is being monitored by xymon now. Thanks Zain On Wednesday, July 26, 2017, Zain Syed <user-bde0bb3aaa69@xymon.invalid> wrote:Yes i do see these host under ghost report. Could tou tell me how to clear these out ? Thanks Zain On Tuesday, July 25, 2017, Jeremy Laidman <user-71895fb2e44c@xymon.invalid> wrote:Look at the Ghost report on the Xymon server to see if it recognises the client hostname, and adjust on either end if required. Look at the logfiles clientlaunch.log and xymonclient.log to see if anything weird is showing up. On the client, see what happens when you run this (replace xymoncmd if it's somewhere else): echo '$XYMON $XYMSRV ping' | ~xymon/client/bin/xymoncmd and if that works, try this: echo '$XYMON $XYMSRV "config hosts.cfg"' | ~xymon/client/bin/xymoncmd and then this: echo '$XYMON $XYMSRV "client/test $MACHINEDOTS."' | ~xymon/client/bin/xymoncmd and maybe this: echo '$XYMON $XYMSRV ghostlist' | ~xymon/client/bin/xymoncmd Cheers Jeremy On 26 July 2017 at 06:14, Zain Syed <user-bde0bb3aaa69@xymon.invalid> wrote:So I found that on my client machine under /home/xymon/client/etc (xymonclient.cfg) had a differnent IP for xymon server. So I have replaced it and restarted xymon. But this doesn't seem to work as well. Zain On Tue, Jul 25, 2017 at 3:21 PM, Mike Burger <user-cc5c6e80f4c5@xymon.invalidwrote:On 2017-07-25 2:11 pm, Zain Syed wrote: Hello, Can anyone please let me know how to configure my remote machine to be monitored by xymon? I Currently only ssh and conn are working but other services are not getting monitored. Please advise. Zain, Depending on which Linux distro the remote client is running, the info could be different. RHEL/CentOS: /etc/sysconfig/xymon-client - Update the "XYMONSERVERS" variable with your xymon server's FQDN. Debian/Ubuntu: look for xymonclient.cfg (mine's in ~xymon/client/etc) and change the "XYMSRV" variable with your xymon server's FQDN. Other systems distributions, I couldn't tell you. -- 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