[Xymon] [Newbie] Understanding client-server configuration (terabithia's rpm 4.3.10-1.fc17)
Jeremy Laidman
jlaidman at rebel-it.com.au
Thu Feb 28 02:45:26 CET 2013
On 27 February 2013 20:24, Sergey <a_s_y at sama.ru> wrote:
> 1. I need to make some network's tests on client and transfer results
> to server. Should I setup client installation or server installation
> in this case ?
>
It depends on the network tests you want to run. If they are standard
xymonnet checks, such as ssh or dns, then you only need to configure them
on the server in hosts.cfg. Can you tell us what network tests you want to
run?
> 2. I found a bug in packages. xymon and xymon-client packages contains
> /usr/libexec/xymon-client/xymonclient.sh with code:
> Is this script need always ?
> if test "$LOCALMODE" = "yes"; then
> echo "@@" >> $MSGTMPFILE
> /usr/libexec/xymon-client/xymond_client --local <$MSGTMPFILE
> else
>
I've never run in localmode, so not sure. But it would seem that
xymond_client binary only exists in the Xymon server package, and not in
the Xymon client package. My Xymon clients (that aren't servers) don't
have xymond_client anywhere. From reading the localclient.cfg file, it
would seem that the "--local" option is only for use on Xymon clients that
are also Xymon servers.
> xymond_client exist in xymon package only and by another path:
>
/usr/libexec/xymon/xymond_client
>
On my system, the line that calls this in xymonclient.sh is:
$XYMONHOME/bin/xymond_client --local
--config=$XYMONHOME/etc/localclient.cfg <$MSGTMPFILE
I think your package's xymonclient.sh is incorrect, and probably should be
using this:
/usr/libexec/xymon/xymond_client --local <$MSGTMPFILE
Is this script need always ?
No, only in "local" mode.
> Could this be the cause of problems in the
> client ?
>
Only if you're running it in local mode, by specifying "--local" in the
"[xymonclient]" section of tasks.cfg.
> 3. About package.
> xymon package contains xymonclient-*.sh for non linux. All this removed
> from xymon-client. Are they forgotten in xymon package or they needed ?
>
Nope, they're not needed. But they're always there. It makes it easy to
copy the files to another server and run them. The original BB was
generally copied around in this way, before packaging became popular, so
perhaps this is a legacy of Xymon's origins.
J
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20130228/e7bd7ac6/attachment.html>
More information about the Xymon
mailing list