mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-27 00:25:06 +02:00
fixed nagios dhcp check (-H changed to -s)
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
<?php
|
||||
|
||||
// provide some sane default
|
||||
if ($service['service_ip']) { $dhcp = $service['service_ip']; } else { $dhcp = $service['hostname']; }
|
||||
|
||||
$check_cmd = $config['nagios_plugins'] . "/check_dhcp -s ".$dhcp;
|
||||
Reference in New Issue
Block a user