Try this patch^
--- snmp_builder.php.org 2010-10-26 17:10:31.000000000 +0200
+++ snmp_builder.php 2010-10-28 17:44:47.000000000 +0200
@@ -563,7 +566,7 @@
$template = array();
foreach (CTemplate::get($options) as $key => $value)
{
- array_push($template, array('key' => $key, 'host' => $value['host']));
+ array_push($template, array('key' => $value['hostid'], 'host' => $value['host']));
}
return $template;
+++ snmp_builder.php 2010-10-28 17:44:47.000000000 +0200
@@ -563,7 +566,7 @@
$template = array();
foreach (CTemplate::get($options) as $key => $value)
{
- array_push($template, array('key' => $key, 'host' => $value['host']));
+ array_push($template, array('key' => $value['hostid'], 'host' => $value['host']));
}
return $template;

Comment