mirror of
https://github.com/librenms/librenms.git
synced 2024-09-28 22:06:25 +00:00
Merge pull request #1385 from spinza/fixssh
Pass service parameters to check_ssh.
This commit is contained in:
commit
f0f924c7a9
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user