[Xymon] 'xymond' in tasks.cfg?
Mills,David (HHSC Contractor)
David.Mills at hhsc.state.tx.us
Thu Dec 15 23:34:21 CET 2016
Hey, thx, John...
That was exactly the problem -- lack of back-whacks half-way down the param list. Apparently Xymon just ignored the rest of the param lines...
:-)
-----Original Message-----
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of John Thurston
Sent: Thursday, December 15, 2016 3:27 PM
To: xymon at xymon.com
Subject: Re: [Xymon] 'xymond' in tasks.cfg?
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
_______________________________________________
Xymon mailing list
Xymon at xymon.com
http://lists.xymon.com/mailman/listinfo/xymon
More information about the Xymon
mailing list