Xymon Mailing List Archive search

disable not always working in 4.3.25

list John Thurston
Wed, 10 Feb 2016 10:14:23 -0900
Message-Id: <user-c284d5dc3255@xymon.invalid>

I can disable tests when I use
https://x.foo.com/xymon-seccgi/enadis.sh

but when I try to disable tests from a host's "info" page, it quietly fails.

https://x.foo.com/xymon-cgi/svcstatus.sh?HOST=y.foo.com&SERVICE=info

I suspect this is related to the cgi_refererok function added to 
lib/cgi.c I can see there may be a chance at some logging, but I can't 
figure out which module on which to enable --debug.

Can someone tell me where I will find the output from cgi_refererok
 errprintf("Disallowed request due to missing HTTP_HOST variable\n");
or from enadis.c
 dbgprintf("Not coming from self or svcstatus; abort\n");

-- 
    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