How to monitor the memory usages of the AppNode (Heap size set in the bwappnode-<AppNode_Name>.tra file)?

How to monitor the memory usages of the AppNode (Heap size set in the bwappnode-<AppNode_Name>.tra file)?

book

Article ID: KB0080239

calendar_today

Updated On:

Products Versions
TIBCO Hawk -

Description

Some customer wants to monitor the memory usages of the Appnode. They want to monitor the heap size set in the bwappnode.tra file. 

Issue/Introduction

How to monitor the memory usages of the AppNode (Heap size set in the bwappnode-.tra file)?

Resolution

Workaround:

1. Configure the Java Virtual Machine Plug-in Microagent. Refer the Chapter 3 of Plug-in Reference Guide (https://docs.tibco.com/pub/hawk/5.2.0/doc/pdf/TIB_hawk_5.2_plugin_reference.pdf)
2. You can use the getVirtualMachineInfo method of the JVM Microagent to monitor the Heap memory usages of the App Node.
3. getVirtualMachineInfo method of the JVM Microagent returns Current Heap Size, Committed memory, Maximum Heap Size, Free Heap Size, etc.
4. Provide the Process Name = "bwappnode-<AppNodeName>" in the Method arguments.