mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
refactor: Remove the specific services files with the same content as the main services.inc.php (#5934)
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
<?php
|
||||
|
||||
$check_cmd = $config['nagios_plugins'] . "/check_ftp -H ".$service['hostname']." ".$service['service_param'];
|
@@ -1,3 +0,0 @@
|
||||
<?php
|
||||
|
||||
$check_cmd = $config['nagios_plugins'] . "/check_http -H ".$service['hostname']." ".$service['service_param'];
|
@@ -1,3 +0,0 @@
|
||||
<?php
|
||||
|
||||
$check_cmd = $config['nagios_plugins'] . "/check_imap -H ".$service['hostname']." ".$service['service_param'];
|
@@ -1,3 +0,0 @@
|
||||
<?php
|
||||
|
||||
$check_cmd = $config['nagios_plugins'] . "/check_ircd -H ".$service['hostname']." ".$service['service_param'];
|
@@ -1,2 +0,0 @@
|
||||
<?php
|
||||
$check_cmd = $config['nagios_plugins'] . "/check_ntp -H ".$service['hostname']." ".$service['service_param'];
|
@@ -1,2 +0,0 @@
|
||||
<?php
|
||||
$check_cmd = $config['nagios_plugins'] . "/check_pop -H ".$service['hostname']." ".$service['service_param'];
|
@@ -1,2 +0,0 @@
|
||||
<?php
|
||||
$check_cmd = $config['nagios_plugins'] . "/check_simap -H ".$service['hostname']." ".$service['service_param'];
|
@@ -1,2 +0,0 @@
|
||||
<?php
|
||||
$check_cmd = $config['nagios_plugins'] . "/check_smtp -H ".$service['hostname']." ".$service['service_param'];
|
@@ -1,2 +0,0 @@
|
||||
<?php
|
||||
$check_cmd = $config['nagios_plugins'] . "/check_spop -H ".$service['hostname']." ".$service['service_param'];
|
@@ -1,2 +0,0 @@
|
||||
<?php
|
||||
$check_cmd = $config['nagios_plugins'] . "/check_ssh -H ".$service['hostname']." ".$service['service_param'];
|
@@ -1,8 +0,0 @@
|
||||
<?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'];
|
Reference in New Issue
Block a user