mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
9 lines
246 B
PHP
9 lines
246 B
PHP
<?php
|
|
$check_cmd = $config['nagios_plugins'] . "/check_ssl_cert -H ";
|
|
if (!empty($service['service_ip'])) {
|
|
$check_cmd .= $service['service_ip'];
|
|
} else {
|
|
$check_cmd .= $service['hostname'];
|
|
}
|
|
$check_cmd .= " ".$service['service_param'];
|