使用check_was Nagios插件监视WebSphere门户线程池时出错

内容来源于 Stack Overflow,并遵循CC BY-SA 3.0许可协议进行翻译与使用

  • 回答 (1)
  • 关注 (0)
  • 查看 (63)

我在CentOS 7上安装了WebSphere Portal 8.5版本。我正在尝试监视各种门户参数,如堆内存,实时会话,线程池等。为了监控,我正在使用Nagios。为此,我安装了最新版本的'check_was'nagios插件。我能够监视堆内存和实时会话,但我无法监视线程池。每当我发出reqd命令检查'threadpool'时,我收到以下错误----

/usr/local/nagios/libexec/check_was-0.4/check_was -s threadpool -w 80 -c 90 -p WebSphere_Portal ERROR - Failed to get stats object on WebSphere:cell=Cell85,mbeanIdentifier=null,name=server.startup,node=Node85,platform=dynamicproxy,process=WebSphere_Portal,spec=1.0,type=ThreadPool,version=8.5.5.2.

有人可以帮助我吗?

提问于
用户回答回答于

可能你缺少启用PMI。看看波纹管链接:

https://www.ibm.com/support/knowledgecenter/en/SSAW57_9.0.0/com.ibm.websphere.nd.multiplatform.doc/ae/tprf_prfstartadmin.html

如何启用PMI:

程序

Open the administrative console.
Click Servers > Server Types > WebSphere application servers > server_name.
Click the Configuration tab.
Click Performance Monitoring Infrastructure (PMI) under Performance.
Select the Enable Performance Monitoring Infrastructure (PMI) check box.
Optionally, select the check box Use sequential counter updates to enable precise statistic update.
Optionally, choose a statistic set that needs to be monitored under Currently Monitored Statistic Set.
Optionally, click on Custom to selectively enable or disable statistics. Choose a component from the tree and enable or disable statistics on the opposite table. Go back to the main PMI configuration page by clicking the Performance Monitoring Infrastructure link.
Click Apply or OK.
Click Save.
Restart the application server. The changes you make will not take effect until you restart the application server.
Note: When Intelligent Management is enabled, the application server does not let you disable PMI counters that the Intelligent Management requires. For information about the list of PMI counters that cannot be disabled when Intelligent Management is enabled, see Enabling PMI data collection.

扫码关注云+社区

领取腾讯云代金券