[Xymon] --debug not working for xymonlaunch?

cleaver at terabithia.org cleaver at terabithia.org
Thu Apr 4 18:03:11 CEST 2013


>
> ...
> /export/xymon-4.3.3/server/bin/xymonlaunch \
> --config=/export/xymon-4.3.3/server/etc/tasks.cfg \
> --env=/export/xymon-4.3.3/server/etc/xymonserver.cfg
> --log=/var/log/xymon-4.3.3/xymonlaunch.log \
> --pidfile=/var/log/xymon-4.3.3/xymonlaunch.pid \
> --debug=/var/log/Xymon/xymonlaunch-debug.log            # This last switch
> was the addition
>         echo "Xymon started"
>
> ~~~
> Did a "xymon.sh restart" (several times) and no log file. Then I tried
> removing the "=....log" , with just the "... --debug" and
> stopped/restarted things. All with no success.
> Any ideas?
>
> Thanks!
>
> david



Simply a "--debug" is sufficient. The flag is set as soon as it's
encountered in the option list, so you should actually see output even
sooner if you put it first. Output should end up in xymonlaunch.log.

Also, for xymonlaunch I believe even in 4.3.3 sending it a -USR2 signal
will turn debugging on and off on the fly. Wherever it starts sending data
out to as a result of that should be where a '--debug' sends it to as
well.


HTH,
-jc




More information about the Xymon mailing list