reorder command to follow documented syntax (#14910)

This commit is contained in:
mtentilucci
2023-03-30 15:04:06 -04:00
committed by GitHub
parent 468305651a
commit d508d2d6f3

View File

@@ -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":"%"}';