mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
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:
10
includes/services/check_mssql_health.inc.php
Normal file
10
includes/services/check_mssql_health.inc.php
Normal 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'];
|
Reference in New Issue
Block a user