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
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.
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
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 <mburger at bubbanfriends.org> 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
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 <zain1723 at gmail.com> 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 <mburger at bubbanfriends.org> 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
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
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 <jlaidman at rebel-it.com.au> 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 <zain1723 at gmail.com <javascript:_e(%7B%7D,'cvml','zain1723 at gmail.com');>> 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 <mburger at bubbanfriends.org <javascript:_e(%7B%7D,'cvml','mburger at bubbanfriends.org');>> 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
Xymon mailing list Xymon at xymon.com <javascript:_e(%7B%7D,'cvml','Xymon at xymon.com');> http://lists.xymon.com/mailman/listinfo/xymon
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 <zain1723 at gmail.com> 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 <jlaidman at rebel-it.com.au <javascript:_e(%7B%7D,'cvml','jlaidman at rebel-it.com.au');>> 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 <zain1723 at gmail.com> 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 <mburger at bubbanfriends.org> 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
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
Excellent!
On 27 Jul. 2017 00:49, "Zain Syed" <zain1723 at gmail.com> 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 <zain1723 at gmail.com> 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 <jlaidman at rebel-it.com.au> 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 <zain1723 at gmail.com> 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 <mburger at bubbanfriends.org
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
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
participants (4)
-
jlaidman@rebel-it.com.au
-
mburger@bubbanfriends.org
-
Paul.Root@CenturyLink.com
-
zain1723@gmail.com