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