Back to Geneos FAQ

In running post setup apply script from the Gateway server, inside hooks directory. Is there any in-built variable that auto detects the gateway name?

Question Copied

Your Answer here Copied

Environment Variable Information Stored Example
_COMMENT A comment typed in by the setup editor in the Gateway Setup Editor when the setup was changed Added new Managed Entity
_USER User name of the setup editor This is the Genos username as described in Authentication
_WORKSTATION The machine ip address where the Setup was edited 183.23.23.12
_FILES An XML Document containing the information about the state of all of the setup files <setup> <files> <file> <main/> <path>gateway.setup.xml</path> </file> </files> </setup>

https://docs.itrsgroup.com/docs/geneos/current/administration/geneos_advancedfeatures_tr/index.html#data-passed-to-the-hook

["Geneos"] ["Geneos > Gateway"] ["FAQ"]

Was this topic helpful?