Hi,
It seems that the API map.get function doesn't return values from links and triggers on a map anymore. Inserting is no problem.
my $getmap = $zabbixapi->apicall('get','map',
{'output' => 'extend', 'select_selements' => 'extend', 'select_links' => 'extend'});
This API query, returns the following (it is just some perl that gets translated to json etc.)
$VAR1 = {
'jsonrpc' => '2.0',
'id' => 2,
'result' => [
,
{ 'show_unack' => '0', 'width' => '2560', 'label_type_trigger' => '2', 'grid_show' => '1', 'label_location' => '0', 'iconmapid' => '0', 'urls' => [], 'label_type' => '0', 'grid_size' => '50', 'label_string_hostgroup' => '', 'backgroundid' => '0', 'highlight' => '0', 'label_string_host' => '', 'label_type_host' => '2', 'name' => 'test-api-map', 'label_format' => '0', 'label_string_image' => '', 'sysmapid' => '175', 'height' => '1600', 'label_type_map' => '2', 'expand_macros' => '0', 'label_string_map' => '', 'label_type_image' => '2', 'label_type_hostgroup' => '2', 'expandproblem' => '0', 'markelements' => '0', 'grid_align' => '1', 'label_string_trigger' => '' } ]
};
As you can see, no selements or links expanded.
Can you have a look at this before the final version?