Merge pull request #1385 from spinza/fixssh

Pass service parameters to check_ssh.
This commit is contained in:
Neil Lathwood
2015-07-05 19:51:05 +01:00
+1 -1
View File
@@ -1,6 +1,6 @@
<?php
$check = shell_exec($config['nagios_plugins'] . "/check_ssh -H ".$service['hostname']);
$check = shell_exec($config['nagios_plugins'] . "/check_ssh -H ".$service['hostname']." ".$service['service_param']);
list($check, $time) = split("\|", $check);