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.
This commit is contained in:
prem
2017-04-17 22:44:59 +02:00
committed by Neil Lathwood
parent 8c8a41f23e
commit 09e9fe6171

View File

@ -0,0 +1,10 @@
<?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'];