[Xymon] 'xymond' in tasks.cfg?
John Thurston
john.thurston at alaska.gov
Thu Dec 15 22:27:13 CET 2016
On 12/14/2016 1:12 PM, Mills,David (HHSC Contractor) wrote:
> 1) I started adding in the ‘--debug' flag to xymond in the
> …/etc/tasks.cfg file ([xymond] stanza), only to notice that after
> restarting Xymon, ‘xymond’ did not have any of the new args, including
> ‘--debug'! I know from the documentation that xymonlaunch starts up
> xymond, but why isn’t it using the params in the tasks.cfg? Where is it
> getting its parameter list from then?
I suspect a syntax problem in the tasks.cfg
Where on the line did you place the --debug ? Remember the "CMD" line is
a single line, though frequently continued. For example, my "line" looks
like:
> CMD xymond --pidfile=$XYMONSERVERLOGS/xymond.pid \
> --restart=$XYMONTMP/xymond.chk --checkpoint-file=$XYMONTMP/xymond.chk --checkpoint-interval=600 \
> --log=$XYMONSERVERLOGS/xymond.log \
> --admin-senders=127.0.0.1,$XYMONSERVERIP \
> . . .
What version of the software, and under what operating system is it
running? I've just confirmed it works as expected on 4.3.26 under
Solaris 10.
--
Do things because you should, not just because you can.
John Thurston 907-465-8591
John.Thurston at alaska.gov
Enterprise Technology Services
Department of Administration
State of Alaska
More information about the Xymon
mailing list