Error while trying to connect to the OIAG agent from console

Error while trying to connect to the OIAG agent from console

book

Article ID: KB0073261

calendar_today

Updated On:

Products Versions
TIBCO Operational Intelligence Agent 3.0

Description

Facing the below error while accessing the OIAG agent from the OIAG console. 
===================================================
2021-08-09 13:54:48,118 ERROR [http-nio-8083-exec-1] c.t.r.e.CustomExceptionHandler [CustomExceptionHandler.java:29] Agent test118 is Down
com.tibco.rest.exception.HawkException: Agent test118 is Down
at com.tibco.rest.microagent.HawkMicroAgentServiceImpl.invoke(HawkMicroAgentServiceImpl.java:261) ~[oiconsole.jar:na]
at com.tibco.rest.uc.UniversalCollectorServiceImpl.getAllLogsourcesInfo(UniversalCollectorServiceImpl.java:871) ~[oiconsole.jar:na]
====================================================

Please have a look at the attached screenshot "OIAG_Error.JPG" for the error message on the OIAG console 

Issue/Introduction

facing error while trying to connect to the agents configured in the OIAG consoles

Resolution

This error is caused by the transport configuration(-tcp_session) in the agent file: 
if the transport is configured with "localhost" then this will give you the error. 
we have to change this to ip address, for example: 

-tcp_session localhost:2551 localhost:2561     #the agent will not be visible in console with this configuration 
we have to change the localhost to ip address 

-tcp_session 10.100.102.117:2551 10.100.102.117:2561

Attachments

Error while trying to connect to the OIAG agent from console get_app