Hi all,
I'm trying to change the hostid with zabbix 1.8.14 for an existing application. According to the docs http://www.zabbix.com/documentation/...ication/update i should be able to do it:
This just updates just the name, but leaves the hostid to what it was..
I'm using the Perl Zabbix-api found here: https://github.com/fgabolde/Zabbix-API/
I'm trying to change the hostid with zabbix 1.8.14 for an existing application. According to the docs http://www.zabbix.com/documentation/...ication/update i should be able to do it:
Code:
my $appid = $zabbix->query(method => 'application.update',
params => {
applicationid => '713',
name => 'FooBarBaz',
hostid => [ 10096 ],
}
);
I'm using the Perl Zabbix-api found here: https://github.com/fgabolde/Zabbix-API/