FreeKB - Enable or disable health monitoring in WebSphere
Enable or disable health monitoring in WebSphere

Home > Search


This assumes you are familiar with Health Management in WebSphere. If not, check out our getting started article.

In the WebSphere admin console, navigate to Operational policies > Autonomic Managers > Health Controller. On the Configuration tab, there is a checkbox to enable or disable health monitoring.

 

Likewise, on the Runtime tab, if the Health Controller is disabled, the following will be displayed. It's fairly obvious how to enable or disable Health Monitoring using the admin console, so there's no need to explain the procedure here. 

 

However, it's worth while to talk about using the command line. On the command line, you can use wsadmin to invoke the HmmControllerProcs.jacl script which will update Runtime but not Configuration.

cd ${WAS_INSTALL_ROOT}/bin
./wsadmin.sh -profile HmmControllerProcs.jacl -c "enable"
./wsadmin.sh -profile HmmControllerProcs.jacl -c "disable"

 

isEnabled can be used to determine if the Health Controller is enabled or disabled.

./wsadmin.sh -profile HmmControllerProcs.jacl -c "isEnabled"

 

One of the following outputs will be displayed.

HMM Controller is enabled
HMM Controller is disabled

 



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter 310b1 in the box below so that we can be sure you are a human.




Comments