Xymon Mailing List Archive search

'xymond' in tasks.cfg?

list David Mills
Thu, 15 Dec 2016 22:34:21 +0000
Message-Id: <user-c94421c78865@xymon.invalid>

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    XXX-XXX-XXXX
user-ce4d79d99bab@xymon.invalid
Enterprise Technology Services
Department of Administration
State of Alaska