mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
reorder command to follow documented syntax (#14910)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
// check_cmd is the command that is run to execute the check
|
||||
$check_cmd = \LibreNMS\Config::get('nagios_plugins') . '/check_icmp ' . ($service['service_ip'] ? $service['service_ip'] : $service['hostname']) . ' ' . $service['service_param'];
|
||||
$check_cmd = \LibreNMS\Config::get('nagios_plugins') . '/check_icmp ' . $service['service_param'] . ' ' . ($service['service_ip'] ? $service['service_ip'] : $service['hostname']);
|
||||
|
||||
// Check DS is a json array of the graphs that are available
|
||||
$check_ds = '{"rtt":"s","pl":"%"}';
|
||||
|
Reference in New Issue
Block a user