zabbix: small refactorign on add_url.
zabbix: small refactoring.