mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
Pass service parameters to check_ssh allowing one to specify alternative port for ssh for example using -p flag.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user