fixed nagios dhcp check (-H changed to -s)

This commit is contained in:
Rainer Schueler
2016-04-13 16:00:22 +02:00
parent f7aa825d44
commit fb350e6d73
+6
View File
@@ -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;