Resolved.
Needed to specify the hostname in xymon-client file because of some odd things being done with hostnames on the systems involved.
After dropping the clients and re-adding them all is well. Thanks for the help!
Thanks,
Chris Short http://chrisshort.net Public PGP Key: http://cshort.co/pub_key
On Thu, May 15, 2014 at 2:35 PM, Mike Burger <mburger at bubbanfriends.org>wrote:
On 2014-05-15 1:36 pm, Chris Short wrote:
Both "configured" clients show up in my Ghost Clients list.
From hosts.cfg:
10.1.5.179 host1.example.com [6] 10.1.5.178 host2.example.com [7]
From Ghost Clients:
host1 10.1.5.179 host1.example.com [6] 1:40 host2 10.1.5.178 host2.example.com [7] 0:00
I have tried both short and fqdn in hosts.cfg. Doesn't seem to matter, clients always appear as ghosts.
Thanks,
Chris Short http://chrisshort.net [3] Public PGP Key: http://cshort.co/pub_key [4]
On Wed, May 14, 2014 at 3:43 PM, Mike Burger <mburger at bubbanfriends.org> wrote:
On 2014-05-14 3:01 pm, Chris Short wrote:
Of course. That's not having any effect though. Very unusual.
I do see that the client is trying to communicate with the xymon server though:
netstat -tupan | grep 1984
tcp 0 0 10.1.5.178:56627 [1] [4] 10.1.5.219:1984 [2]
[5] TIME_WAIT -
Are there any communication tests I can run from the server or client to test functions?
Thanks,
Chris Short
http://chrisshort.net [3] [1] Public PGP Key: http://cshort.co/pub_key [4] [2]
On Tue, May 13, 2014 at 7:40 PM, Mike Burger <mburger at bubbanfriends.org> wrote:
On 2014-05-13 4:25 pm, Chris Short wrote:
Interestingly enough that's not working either. I removed the old package, installed the terabithia rpm, and started the xymon-client. It did not complain about XYMONSERVERS not being set so something isn't right here. Let me try a different box.
Thanks,
Chris Short http://chrisshort.net [3] [1] [1] Public PGP Key: http://cshort.co/pub_key [4] [2] [2]
On Tue, May 13, 2014 at 2:29 PM, Mike Burger <mburger at bubbanfriends.org> wrote:
On 2014-05-13 1:48 pm, Chris Short wrote:
Built the rpm using the makerpm.sh script and installed with yum. Directory is not present on the box.
Thanks,
Chris Short http://chrisshort.net [3] [1] [1] [2] Public PGP Key: http://cshort.co/pub_key [4] [2] [2] [3]
On Tue, May 13, 2014 at 1:37 PM, Mike Burger <mburger at bubbanfriends.org> wrote:
On 2014-05-13 11:52 am, Chris Short wrote:
I have xymon-client running on a handful of RHEL6 servers. But, other RHEL6 servers where I am rolling out the client throw up this unusual error:
service xymon-client restart
Restarting xymon-client: su: warning: cannot change directory to /usr/share/xymon-client: No such file or directory This account is currently not available.
Any ideas why /usr/share/xymon-client isn't being built?
Thanks,
What method did you use to install the client? If you installed via RPM, the directory should exist with ownership root:root and permissions 755.
Interesting. I've been using the RPMs from terabithia.org [5] [3]
[3],
which
have installed, properly. My suggestion would be to grab them and try again.
You'll want to edit /etc/sysconfig/xymon-client and fill in the XYMON-SERVERS variable.
Does anything show up in your Ghost Clients list?
Since the xymon-client is reporting to the server via short name (as you can see in the ghost client list), I'm pretty sure you'll need to specify the hosts via short name in the hosts.cfg.
After that, it will take a while for the data to start populating the the columns on the page where you've specified the hosts to appear...it's not instantaneous and, if my understanding is correct, the server does not accept any data (messages, RRD data, etc) until the host has been properly added to the hosts.cfg.
Unless I've missed something, then as long as you've got the IP, hostname, OS and columns specified, you should start seeing within 15-30 minutes. In the meantime, you'll still see them in the ghost client list...but, in my experience, the hostname being displayed in the ghost list should match the link for the page for that host.
-- 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