mirror of
				https://github.com/librenms/librenms.git
				synced 2024-10-07 16:52:45 +00:00 
			
		
		
		
	This could be very usefull for the people who want to monitor MS SQL Servers. It is a very cool service check.
		
			
				
	
	
		
			11 lines
		
	
	
		
			248 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			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'];
 |