mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Added Documentation, Scrut-fixes
This commit is contained in:
@@ -26,7 +26,8 @@ if( !empty($agent_data['app']['bind']) && $app['app_id'] > 0 ) {
|
||||
echo " bind ";
|
||||
$bind = $agent_data['app']['bind'];
|
||||
$rrd_filename = $config['rrd_dir'] . "/" . $device['hostname'] . "/app-bind-".$app['app_id'].".rrd";
|
||||
unset($bind_parsed);
|
||||
$bind_parsed = array();
|
||||
$prefix = "";
|
||||
foreach( explode("\n",$bind) as $line ) {
|
||||
$pattern = '/^\+\+ ([^+]+) \+\+$/';
|
||||
preg_match($pattern, $line, $matches);
|
||||
|
Reference in New Issue
Block a user