How does hawk get the local host name? Is there a way to hard code the hawk agent name?

How does hawk get the local host name? Is there a way to hard code the hawk agent name?

book

Article ID: KB0087235

calendar_today

Updated On:

Products Versions
TIBCO Hawk -
Not Applicable -

Description

Resolution:
By default, If the agent name is not provided in the hawkagent.cfg file, then in our agent code we use java.net API calls to get the local host name. To hardcode the hawk agent name, one needs to specify an agent name in the hawkagent.cfg file.

Issue/Introduction

How does hawk get the local host name? Is there a way to hard code the hawk agent name?