added a test to spectre at startup to make sure it can connect to each webgui site
added a spectre ping function which will be useful for monitoring services like nagios and the wremonitor removed references to the old theme systemm
This commit is contained in:
parent
363404b598
commit
5635534b4c
7 changed files with 151 additions and 23 deletions
|
|
@ -255,8 +255,7 @@ sub www_runCronJob {
|
|||
$session->http->setMimeType("text/plain");
|
||||
$session->http->setCacheControl("none");
|
||||
unless (isInSubnet($session->env->get("REMOTE_ADDR"), $session->config->get("spectreSubnets"))) {
|
||||
$session->errorHandler->security("make a Spectre cron job runner request, but we're only allowed to
|
||||
accept requests from ".join(",",@{$session->config->get("spectreSubnets")}).".");
|
||||
$session->errorHandler->security("make a Spectre cron job runner request, but we're only allowed to accept requests from ".join(",",@{$session->config->get("spectreSubnets")}).".");
|
||||
return "error";
|
||||
}
|
||||
my $taskId = $session->form->param("taskId");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue