Xymon Mailing List Archive search

Configure remote client to be monitored by xymon

list Zain Syed
Wed, 26 Jul 2017 10:49:19 -0400
Message-Id: <CACkQWH_+naKVX=user-49eafefc6b8b@xymon.invalid>

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