From 34f1f11923191e3f9dca335ad3ac291e1c298112 Mon Sep 17 00:00:00 2001 From: f0o Date: Fri, 8 May 2015 09:40:51 +0000 Subject: [PATCH] Set defaults for AddHost on xDP discovery --- includes/discovery/functions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/discovery/functions.inc.php b/includes/discovery/functions.inc.php index 095eb31238..de62837cc6 100644 --- a/includes/discovery/functions.inc.php +++ b/includes/discovery/functions.inc.php @@ -39,7 +39,7 @@ function discover_new_device($hostname) if ( match_network($config['nets'], $ip) ) { - $remote_device_id = addHost ($dst_host,''); + $remote_device_id = addHost ($dst_host, '', '161', 'udp', '0', $config['distributed_poller_group']); if ($remote_device_id) { $remote_device = device_by_id_cache($remote_device_id, 1); echo("+[".$remote_device['hostname']."(".$remote_device['device_id'].")]");