zabbix - passing result of one item into the URL for a second item

Solution 1:

No, it doesn't.

There are only some macros you can use in the URL field:

Supported macros: {HOST.IP}, {HOST.CONN}, {HOST.DNS}, {HOST.HOST}, {HOST.NAME}, {ITEM.ID}, {ITEM.KEY}, user macros, low-level discovery macros.

That's it.

I haven't tried it, but the low-level discovery macros sound interesting. If the server ID you get with your first check is constant for the server, you could turn your check into a discovery rule that creates the actual check. You can use the same prepocessing steps there and it should allow you to use the ID in the actual check.