[Xymon] can I put enadis into debug mode?

J.C. Cleaver cleaver at terabithia.org
Thu Sep 12 00:23:40 CEST 2019


On Wed, September 11, 2019 8:38 am, Rothlisberger, John R. wrote:
> We are having issues with acknowledge.sh & enadis.sh since upgrading to
> 4.3.29 and then to 4.3.30 on Ubuntu 16.04.
>
> For enadis.sh we do get the following error in the apache log:
> 2019-09-11 16:34:23.901080 Enadis POST that is not coming from self or
> svcstatus (referer=https://xymonserver/xymon-seccgi/enadis.sh). Ignoring.
>
> How can we enable debugging on enadis and have that dump to a file?
>
>

Unfortunately, it's not quite as easy as it used to be when we were using
shell-based wrappers about the C programs.

You can pass "--debug" as an option to the CGI_ENADIS_OPTS variable in
/etc/xymon/cgioptions.cfg , however. If the error appears to be happening
early in the CGI process (before headers are generated), you can also set
CGIDEBUG=1

For the issue in question, it seems like the XSS checking is not working
properly or the referer information is somehow being stripped. Are there
any unusual CSP changes in your apache configuration, or do you have
mod_security enabled by any chance?

-jc



More information about the Xymon mailing list