[Xymon] help with xymon client configuration

Jeremy Laidman jlaidman at rebel-it.com.au
Tue Jan 8 03:27:28 CET 2013


The xymon client will use whatever it finds in the output of "uname -n".
 You can solve this in several ways:

1) Change the hostname in the hosts.cfg file to use the short name,
2) Add "CLIENT:shortname" to the hosts.cfg entry,
3) Adjust the configuration on the client (eg xymonclient.cfg) to specify
the FQDN in MACHINEDOTS

J



On 7 January 2013 21:45, Ciprian Parfon <ciprian.parfon at gmail.com> wrote:

>  Hi Chris
>
> Hmm ... On your suggestion I went to "Reports" > " Ghost Clients " and
> indeed I have that host listed there. Apparently xymon reads the "short"
> host name, without domain name (fqdn).
>
> Thank you.
>
>
> On 01/07/2013 12:39 PM, Chris.Morris at rwe.com wrote:
>
> Is the xymond status displaying any "ghost" reports? This would indicate
> that the client hostname does not match the one defined in the hosts.cfg
> file on the xymon server!
>
>  ------------------------------
> *From:* xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com<xymon-bounces at xymon.com>]
> *On Behalf Of *Ciprian Parfon
> *Sent:* 07 January 2013 10:33
> *To:* Jeremy Laidman
> *Cc:* xymon at xymon.com
> *Subject:* Re: [Xymon] help with xymon client configuration
>
>  Hi J
>
> I do have the IP of the Xymon server in xymonclient.cfg on the hosts which
> has the client installed. I have checked from the client if the port, 1984
> is open and it is.
>
> zeratul etc # telnet 89.22.97.130 1984
> Trying 89.22.97.130...
> Connected to 89.22.97.130.
> Escape character is '^]'.
> quit
>
> Unfortunatelly there isn't anything more the the "conn" "info" and
> "trends" on Xymon server display.
>
> I can't see anything relevant in the xymond logs.
>
> On the hosts which I have the client installed I have this:
>
> zeratul client # ps aufx |grep xymon
> root     10279  0.0  0.0   4452   756 pts/1    S+   12:32   0:00      |
> |   |               \_ grep --colour=auto xymon
> root     10115  0.0  0.0   2048   512 ?        S    12:30   0:00 sh -c
> vmstat 300 2 1>./tmp/xymon_vmstat.zeratul.10083 2>&1; mv
> ./tmp/xymon_vmstat.zeratul.10083 ./tmp/xymon_vmstat.zeratul
> root     10226  0.0  0.0   2028   504 ?        Ss   12:31   0:00
> ./bin/xymonlaunch --config=./etc/clientlaunch.cfg
> --log=./logs/clientlaunch.log --pidfile=./logs/clientlaunch.zeratul.pid
> root     10263  0.0  0.0   2048   508 ?        S    12:31   0:00 sh -c
> vmstat 300 2 1>./tmp/xymon_vmstat.zeratul.10231 2>&1; mv
> ./tmp/xymon_vmstat.zeratul.10231 ./tmp/xymon_vmstat.zeratul
>
>
> On 01/07/2013 05:11 AM, Jeremy Laidman wrote:
>
> The only configuration required on the Xymon client is the IP address of
> the Xymon server.  Typically, this is configured in the file
> xymonclient.cfg, where you can set XYMSRV to the correct IP address.
>
>  Then you start the client running, perhaps by an init script.  The
> master Xymon client process is xymonlaunch.  If this isn't running, then
> you won't get any local details (cpu, memory, etc).
>
>  There are logfiles (on my system, in /var/log/xymon/) that might help
> identify any problems.
>
>  J
>
>
>
> On 7 January 2013 06:32, Ciprian Parfon <ciprian.parfon at gmail.com> wrote:
>
>> Hello
>>
>> I have just installed a fresh xymon server with the latest xymon version.
>> I have also managed to install the client on some external host. Both are
>> running fine and the monitoring page is showing correctly.  However I
>> haven't managed to find how can I configure multiple checks on the client
>> side, as for the single host I have added all I have is "conn", "info" and
>> "trends" columns. On the host which is running the xymon client I have the
>> following files which you can see below:
>>
>> zeratul etc # pwd
>> /home/xymon/client/etc
>> zeratul etc # ls -la
>> total 40
>> drwxr-xr-x 2 xymon root  4096 2013-01-06 19:31 .
>> drwxr-xr-x 8 xymon root  4096 2013-01-06 16:58 ..
>> -rw-r--r-- 1 xymon root   975 2013-01-06 16:58 clientlaunch.cfg
>> -rw-r--r-- 1 xymon root 20959 2013-01-06 16:58 localclient.cfg
>> -rw-r--r-- 1 xymon root  1850 2013-01-06 16:58 xymonclient.cfg
>>
>> I would like to enable at least cpu, load, memory, disk etc ...
>>
>> Where can I make this available?
>>
>>
>> _______________________________________________
>> Xymon mailing list
>> Xymon at xymon.com
>> http://lists.xymon.com/mailman/listinfo/xymon
>>
>>
>
>
> --
> Ciprian Parfon
> System & Network Engineer+40 721879113ciprian.parfon at gmail.com
>
>  ****************************************************************************
>
>
> The information contained in this email is intended only for the use of
> the intended recipient at the email address to which it has been addressed.
> If the reader of this message is not an intended recipient, you are hereby
> notified that you have received this document in error and that any review,
> dissemination or copying of the message or associated attachments is
> strictly prohibited. If you have received this email in error, please
> contact the sender by return email or call 01793 877777 and ask for the
> sender and then delete it immediately from your system.Please note that
> neither the RWE Group of Companies nor the sender accepts any
> responsibility for viruses and it is your responsibility to scan
> attachments (if any).
>
>
>
> *****************************************************************************
>
>
>
>
>
>
> --
> Ciprian Parfon
> System & Network Engineer+40 721879113ciprian.parfon at gmail.com
>
>
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20130108/bc7a40e3/attachment.html>


More information about the Xymon mailing list