[Xymon] New client problems

Josh Luthman josh at imaginenetworksllc.com
Fri Mar 13 21:47:41 CET 2015


in ~/bin/xymonclient.sh
$XYMON --debug $XYMSRV "@" < $MSGTMPFILE >$LOGFETCHCFG.tmp

$ /home/shire/./bin/xymoncmd --env=/home/shire/./etc/xymonclient.cfg sh -x
sh-4.1$ /home/shire/./bin/xymonclient.sh
+ /home/shire/./bin/xymonclient.sh
sh-4.1$

Neither of the two logs were changed.  No output other than what was
copied.  Should I be looking for something elsewhere?


Josh Luthman
Office: 937-552-2340
Direct: 937-552-2343
1100 Wayne St
Suite 1337
Troy, OH 45373

On Fri, Mar 13, 2015 at 4:41 PM, J.C. Cleaver <cleaver at terabithia.org>
wrote:

> On Fri, March 13, 2015 1:25 pm, Josh Luthman wrote:
> > I assume you mean runclient.sh?
> >
> > If so I edited start:
> > $XYMONCLIENTHOME/bin/xymonlaunch
> > --config=$XYMONCLIENTHOME/etc/clientlaunch.cfg
> > --log=$XYMONCLIENTHOME/logs/clientlaunch.log
> > --pidfile=$XYMONCLIENTHOME/logs/clientlaunch.$MACHINEDOTS.pid --debug
> >
> > But I'm not sure what "xymon call" you're referring to?
> >
> > logs/clientlaunch.log:
> > 2015-03-13 16:24:03 xymonlaunch starting
> > 2015-03-13 16:24:03 Loading tasklist configuration from
> > /home/shire/./etc/client
> > launch.cfg
> > 2016 2015-03-13 16:24:03 Opening file /home/shire/./etc/clientlaunch.cfg
> > 2016 2015-03-13 16:24:03
> > 2016 2015-03-13 16:24:03 Starting tasklist scan
> > 2016 2015-03-13 16:24:03 About to start task client
> > 2017 2015-03-13 16:24:03 client -> Loading environment from
> > /home/shire/./etc/xy
> > monclient.cfg area
> > 2017 2015-03-13 16:24:03 Opening file /home/shire/./etc/xymonclient.cfg
> > 2017 2015-03-13 16:24:03 client -> Assigning stdout/stderr to log
> > '/home/shire/.
> > /logs/xymonclient.log'
> > 2016 2015-03-13 16:24:08
> > 2016 2015-03-13 16:24:08 Starting tasklist scan
> > 2016 2015-03-13 16:24:08 Task client active with PID 2017
> > 2016 2015-03-13 16:24:12
> > 2016 2015-03-13 16:24:12 Starting tasklist scan
> > 2016 2015-03-13 16:24:17
> > 2016 2015-03-13 16:24:17 Starting tasklist scan
> > 2016 2015-03-13 16:24:22
> > 2016 2015-03-13 16:24:22 Starting tasklist scan
> > 2016 2015-03-13 16:24:27
> > 2016 2015-03-13 16:24:27 Starting tasklist scan
> >
> >
>
>
> Well, that's good. It means the client task is getting launched properly.
>
> the "xymon call" is actually "$XYMON $XYMSRV..." in what should be
> /home/shire/./bin/xymonclient.sh, based on what the output here. You'd
> want to change that to "$XYMON --debug $XYMSRV..."
>
>
> After that, can you run the following?
>
> /home/shire/./bin/xymoncmd --env=/home/shire/./etc/xymonclient.cfg sh -x
> /home/shire/./bin/xymonclient.sh
>
>
> That should give us more indication of where we're failing.
>
>
> HTH,
>
> -jc
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20150313/eb2681a2/attachment.html>


More information about the Xymon mailing list