mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Merge pull request #2647 from librenms/f0o-hotfix-ssl_service_check_php7
This commit is contained in:
@@ -9,7 +9,7 @@ if( !empty($service['service_ip']) ) {
|
|||||||
$cmd .= " ".$service['service_param'];
|
$cmd .= " ".$service['service_param'];
|
||||||
|
|
||||||
$check = shell_exec($cmd);
|
$check = shell_exec($cmd);
|
||||||
list($check, $time) = split("\|", $check);
|
list($check, $time) = explode("\|", $check);
|
||||||
|
|
||||||
if(strstr($check, "SSL_CERT OK")) {
|
if(strstr($check, "SSL_CERT OK")) {
|
||||||
$status = '1';
|
$status = '1';
|
||||||
|
|||||||
Reference in New Issue
Block a user