Files
librenms-librenms/includes/services/check_ssl_cert.inc.php
T

9 lines
246 B
PHP
Raw Normal View History

2016-03-15 22:16:08 +10:00
<?php
$check_cmd = $config['nagios_plugins'] . "/check_ssl_cert -H ";
if (!empty($service['service_ip'])) {
$check_cmd .= $service['service_ip'];
2016-03-15 22:16:08 +10:00
} else {
$check_cmd .= $service['hostname'];
2016-03-15 22:16:08 +10:00
}
$check_cmd .= " ".$service['service_param'];