[Xymon] EXT :Re: --debug not working for xymonlaunch?

Mills, David (IS) David.Mills at ngc.com
Thu Apr 4 18:05:06 CEST 2013


Thx, JC!

;-)

-----Original Message-----
From: cleaver at terabithia.org [mailto:cleaver at terabithia.org] 
Sent: Thursday, April 04, 2013 11:03 AM
To: Mills, David (IS)
Cc: xymon at xymon.com
Subject: EXT :Re: [Xymon] --debug not working for xymonlaunch?

>
> ...
> /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