The xymon package for Debian must be seriously hosed, there is no runclient.sh script and no README.Client files. I will try the one from the 12.04 repository.
Below is listed all that was installed with xymon-client package on 12.04:
I installed xymon-client_4.3.10_i386.deb from sourceforge:
dpkg -i xymon-client_4.3.10_i386.deb ... ... root at indy-dt-l-01:/var/run/xymon# dpkg -l xymon-client Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Description +++-================-================-================================================ ii xymon-client 4.3.10 client for the Xymon network monitor
root at indy-dt-l-01:/var/run/xymon# dpkg -L xymon-client /. /usr /usr/bin /usr/share /usr/share/xymon /usr/share/xymon/init-common.sh /usr/share/xymon/xymon-client.default /usr/share/doc /usr/share/doc/xymon-client /usr/share/doc/xymon-client/changelog.Debian.gz /usr/share/doc/xymon-client/changelog.gz /usr/share/doc/xymon-client/copyright /usr/share/man /usr/share/man/man7 /usr/share/man/man7/xymon.7.gz /usr/share/man/man8 /usr/share/man/man8/msgcache.8.gz /usr/share/man/man8/xymonlaunch.8.gz /usr/share/man/man1 /usr/share/man/man1/logfetch.1.gz /usr/share/man/man1/xymoncfg.1.gz /usr/share/man/man1/xymon.1.gz /usr/share/man/man1/clientupdate.1.gz /usr/share/man/man1/orcaxymon.1.gz /usr/share/man/man1/xymoncmd.1.gz /usr/share/man/man1/xymondigest.1.gz /usr/share/man/man1/xymongrep.1.gz /usr/share/man/man5 /usr/share/man/man5/xymonclient.cfg.5.gz /usr/share/man/man5/clientlaunch.cfg.5.gz /usr/share/lintian /usr/share/lintian/overrides /usr/share/lintian/overrides/xymon-client /usr/lib /usr/lib/xymon /usr/lib/xymon/client /usr/lib/xymon/client/bin /usr/lib/xymon/client/bin/xymonclient.sh /usr/lib/xymon/client/bin/xymonclient-sco_sv.sh /usr/lib/xymon/client/bin/xymoncfg /usr/lib/xymon/client/bin/xymonclient-irix.sh /usr/lib/xymon/client/bin/clientupdate /usr/lib/xymon/client/bin/xymongrep /usr/lib/xymon/client/bin/orcaxymon /usr/lib/xymon/client/bin/xymonclient-osf1.sh /usr/lib/xymon/client/bin/xymonclient-hp-ux.sh /usr/lib/xymon/client/bin/xymon /usr/lib/xymon/client/bin/xymonlaunch /usr/lib/xymon/client/bin/xymonclient-linux.sh /usr/lib/xymon/client/bin/logfetch /usr/lib/xymon/client/bin/xymonclient-netbsd.sh /usr/lib/xymon/client/bin/xymonclient-openbsd.sh /usr/lib/xymon/client/bin/msgcache /usr/lib/xymon/client/bin/xymonclient-darwin.sh /usr/lib/xymon/client/bin/xymonclient-unixware.sh /usr/lib/xymon/client/bin/xymonclient-freebsd.sh /usr/lib/xymon/client/bin/xymondigest /usr/lib/xymon/client/bin/xymoncmd /usr/lib/xymon/client/bin/xymonclient-sunos.sh /usr/lib/xymon/client/bin/xymonclient-aix.sh /usr/lib/xymon/client/local /usr/lib/xymon/client/local/README /usr/lib/xymon/client/ext /etc /etc/default /etc/xymon /etc/xymon/localclient.cfg /etc/xymon/clientlaunch.cfg /etc/xymon/clientlaunch.d /etc/xymon/xymonclient.cfg /etc/xymon/xymonclient.d /var /var/log /var/log/xymon /var/lib /var/lib/xymon /var/lib/xymon/tmp /usr/bin/xymon /usr/bin/xymoncmd /usr/lib/xymon/client/tmp /usr/lib/xymon/client/logs /usr/lib/xymon/client/etc
README.CLIENT:
Running it
To start the client, su to the "xymon" user, then run $HOME/client/runclient.sh start
You should arrange for your boot-time scripts to run this command at startup.
wbeauchaine wbeauchaine at katei.net Wed Sep 5 22:19:59 CEST 2012
README.CLIENT:
Running it
To start the client, su to the "xymon" user, then run $HOME/client/runclient.sh start
You should arrange for your boot-time scripts to run this command at startup.
From: Benjamin P. August [baugust at stanford.edu] Sent: Wednesday, September 05, 2012 4:20 PM To: Larry A. Rosen Cc: xymon at xymon.com Subject: Re: [Xymon] How to launch Xymon client on Ubuntu 12.04
Re: lack of init scripts:
I think 12.04 is systemd-based now and not sysvinit or upstart based. You can look for a compatibility package in the Ubuntu repos (RHEL and OpenSUSE both have some form of compatibility for old-style init scripts along with systemd), or look into writing your own service file to have systemd start Xymon on boot:
https://wiki.archlinux.org/index.php/Systemd#Writing_custom_.service_files
Re: Not being able to start it from a shell:
Is anything showing up in the console? What are you getting on stdout?
----- Original Message ----- From: "Larry A. Rosen" <larry at digonex.com> To: xymon at xymon.com Sent: Wednesday, September 5, 2012 12:49:46 PM Subject: [Xymon] How to launch Xymon client on Ubuntu 12.04
There is no documentation regarding starting/configuring the client. Does the client run continuously (like a daemon) or is it run on-demand from the server? How do I start the client as I currently show no xymon processes in ps after installation? I tried running /usr/lib/xymon/client/bin/xymonclient-linux.sh, but it doesn't do anything but send a bunch of output to std out.
I notice there are no init.d startup scripts either.
The only info I'm getting from a monitored host is: conn, info, and trends, no cpu or disk, etc. How do I enable the other services?
The config help page states: "With the Xymon client running and reporting data into Xymon, you should see the cpu-, disk-, memory- and procs-columns appear" and does not mention what config files need to be edited to set host thresholds (/etc/localclient.cfg???)
Larry Rosen, Linux Administrator Digonex Technologies, Inc. 150 West Market St. - Suite 728, Indianapolis, IN, 46204, U.S.A. Telephone: 317.638.4150 X206 | Mobile: 317.385.7876 | Fax: 317.638.4174
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon