Hi Glimbeek,
The query should be returning results based on the CONN_HOST field in COND which should be your machine's name. In the event you want to modify this, take a look at this part of the stored procedure:
select id from cond with (nolock)
where CONN_HOST = @MACHINENAME
That's where the magic is for delimiting the data pulled. If you change the <where CONN_HOST> portion, you can set it to whatever field you would prefer in COND. Do a SELECT * FROM COND sometime and look at the columns. Changing it to MACHINE_NAME or IP_ADDRESS are also good choices. Here's a few examples:
select id from cond with (nolock)
where MACHINE_NAME = @MACHINENAME
select id from cond with (nolock)
where IP_ADDRESS = @MACHINENAME
Depending how you set up your environment, results could vary a little bit. Play with those adjustments and see if that works out better.