librenms-librenms/includes/services/check_mssql_health.inc.php
prem 09e9fe6171 feature: Added check_mssql_health.inc.php for service checks (#6415)
This could be very usefull for the people who want to monitor MS SQL Servers. It is a very cool service check.
2017-04-17 21:44:59 +01:00

11 lines
248 B
PHP

<?php
$check_cmd = $config['nagios_plugins'] . "/check_mssql_health --server ";
if ($service['service_ip']) {
$check_cmd .= $service['service_ip'];
} else {
$check_cmd .= $service['server'];
}
$check_cmd .= " ".$service['service_param'];