Xymon Mailing List Archive search

Configure remote client to be monitored by xymon

8 messages in this thread

list Zain Syed · Tue, 25 Jul 2017 14:11:30 -0400 ·
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 · Tue, 25 Jul 2017 18:21:31 +0000 ·
Install the client software on the remote machine and set it’s server to your xymon server.
quoted from Zain Syed


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 · Tue, 25 Jul 2017 15:21:36 -0400 ·
quoted from Zain Syed
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 · Tue, 25 Jul 2017 16:14:27 -0400 ·
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>
quoted from Mike Burger
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 · Wed, 26 Jul 2017 11:31:38 +1000 ·
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
quoted from Zain Syed


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 · Wed, 26 Jul 2017 10:21:43 -0400 ·
Yes i do see these host under ghost report. Could tou tell me how to clear
these out ?


Thanks
Zain
quoted from Jeremy Laidman


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 · Wed, 26 Jul 2017 10:49:19 -0400 ·
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
quoted from Zain Syed

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 · Thu, 27 Jul 2017 08:36:53 +1000 ·
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.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