All -
In the process of trying to debug a problem, I've run across two questions about how xymond functions on servers...
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?In this posting from years gone-by, Henrik said:
(from: http://lists.xymon.com/archive/2008-April/018734.html)
All of the daemon programs (hobbitd, the various hobbitd_channel
handlers etc.) support sending a SIGUSR2 signal to toggle debugging
on/off.
Henrik
=== And yet, when I try to turn on debugging on 'xymond', I see nothing in the xymond.log file... (This *is* where the debugging output should manifest, right?)
TIA!
david
~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~ David Mills Systems Administrator Northrop Grumman (512) 595-1238 (mobile)
On 12/14/2016 1:12 PM, Mills,David (HHSC Contractor) wrote:
…/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 started adding in the ‘--debug' flag to xymond in the
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
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:
…/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 started adding in the ‘--debug' flag to xymond in the
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
participants (2)
-
David.Mills@hhsc.state.tx.us
-
john.thurston@alaska.gov