How to remove offline agents from Hawk Web Console.

How to remove offline agents from Hawk Web Console.

book

Article ID: KB0075222

calendar_today

Updated On:

Products Versions
TIBCO Hawk 5.x, 6.0
Not Applicable -

Description

Description:
Once an agent is discovered by the Hawk Web Console, even if it is no longer in the domain, it will still be shown as offline in the Hawk Web Console. An easy way to remove it is just to reset the DB.
 
 

Issue/Introduction

How to remove offline agents from Hawk Web Console.

Resolution

For the default H2 DB:
 
1). Stop H2 DB and Web Console.
 
2). Backup and remove hawk.h2.db file from <USER_HOME>.
 
3). Restart the H2 DB and Web Console.

For external DB:

Access to the DB with the proper credentials from DB client, delete the offline agent from table "AGENT"

For Non Persistent Mode:

Remove the corresponding entries in <HAWK_HOME>/webconsole/tomcat/AppData/hawk_agents.xml

---updated-on-May-29-2020---
Webconsole has been deprecated since v6.1. In v6.1 and above, we recommend HawkConsole instead of webconsole. This article is not applicable to HawkConsole.