mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Testing
This commit is contained in:
parent
50dd166cb3
commit
e8e20b933c
@ -714,6 +714,7 @@ sub main() {
|
||||
my $exe_testing_api = `curl $curl_execution 2>/dev/null`;
|
||||
my @res_testing_api = split(',', $exe_testing_api);
|
||||
logger(\%Config, Dumper(@res_testing_api), 1);
|
||||
logger(\%Config, $curl_execution, 1);
|
||||
if ( $res_testing_api[0] ne 'OK' ) {
|
||||
logger(\%Config, "Warning! The server does not have access to the API, this can trigger problems in the generation of reports and graphs.", 1);
|
||||
pandora_event (\%Config, "Server does not have access to the API", 0, 0, 0, 0, 0, 'system', 0, $DBH);
|
||||
|
Loading…
x
Reference in New Issue
Block a user