问题标签 [hawkular]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
0 回答
367 浏览

curl - 访问 OpenShift 上项目的所有指标

我正在运行 openshift vm。

当我在命令提示符下运行此命令时:

我得到 JSON 对象:

但我想访问一个项目的所有指标。

https://github.com/openshift/origin-metrics/blob/master/docs/hawkular_metrics.adoc#accessing-all-metrics-for-a-project

我怎样才能像这个链接一样运行命令?我想在 ssh 会话之外运行所有命令。我不确定授权。如果我在 ssh 会话中运行此命令,则会出现禁止错误。

我需要你的帮助。

0 投票
2 回答
1268 浏览

openshift - 如何在 OpenShift Enterprise 3.2 中为 hawkular-metrics 创建重新加密路由

根据启用集群指标的文档,我应该按照以下语句创建重新加密路由

  • 这些密钥和证书究竟应该使用什么?
  • 这些是否已经存在于某个地方或者我需要创建它们?
0 投票
2 回答
544 浏览

cassandra - Hawkular:无法连接到 LocalHost 上的 Cassandra DB

我想在 Windows 7 中构建 Hawkular 服务器 - 不幸的是,该服务器与 Cassandra DB 一起工作 - 我安装了最新版本,在 Hawkular 的启动过程中出现以下错误:

Cassandra DB 在线,我可以使用 Cassandra CQL Shell 连接到 localhost:9160 - 但不是 hawkular 服务器 - 我忘记了什么吗?

0 投票
1 回答
311 浏览

java - Hawkular 和 Vertx:为什么新安装的 Hawkular Metric Server 没有收到任何指标?

我的目标是可视化 vertx 指标——例如通过事件总线发送的消息计数等。(请考虑以下工具都在我的本地主机上,没有任何东西驻留在分离的机器上)

因此,我使用了 vertx 的 Hawkular 实现:http://vertx.io/docs/vertx-hawkular-metrics/java/

首先,我使用默认设置安装了 CassandraDB:

为了构建 Hawkular Metrics-alone 服务器,我使用了 WildFly 10 并从这里部署了 Metrics-warFile:https://github.com/hawkular/hawkular-metrics/releases/

当我现在启动 wildfly 服务器时,我在 url 下得到:http://localhost:8080/hawkular/metrics启动屏幕,上面有“Metrics Service started”。

到目前为止,一切似乎都运行良好......

现在我想插入度量数据 - 为此我用 HawkularAPI 编写了一个短垂直:

但是什么也没发生——我错过了什么吗?我的观点是,我也许可以通过点击 : etc....而不是图形来查看一些图表,http://localhost:8080/hawkular/metrics /counter/vertx我得到以下错误消息:

0 投票
1 回答
170 浏览

hawkular - 如何显示 Hawkular 的监控窗口?

我是 Hawkular 的初学者,正在努力展示 Hawkular web ui。我的操作系统是 Windows 10,Cassandra datastax-ddc-64bit-3.7.0 安装成功。

Wildfly 10 和 hawkular-services-dist-0.23.0.Final 都在 c 驱动程序中解压缩。

这是我的 Hawkular 安装过程。

  1. 在 Hawkular 主文件夹中添加用户<hawkular-services-dist-0.23.0.Final\bin>

add-user.bat -a -u 用户名 -p 密码 -g 读写,只读

  1. 在 hawkular 主文件夹 <hawkular-services-dist-0.23.0.Final\bin> 中执行standalone.bat

独立的.bat

  1. 我从欢迎窗口的 Wildfly 代理安装程序链接下载 hawkular-wildfly-agent-installer 文件,localhost:8080

  2. 我执行如下 jar 命令

java -jar hawkular-wildfly-agent-installer.jar --target-location=c:\wildfly-10.0.0.Final --username username --password 密码

  1. 我在 wildfly_home 文件夹 <c:\wildfly-10.0.0.Final\bin> 中使用以下选项启动 wildfly 10

Standalone.bat –Djboss.socket.binding.port-offset=100

  1. 这些步骤不会引发异常。但是我看不到任何监控选项显示,只有欢迎窗口。

如何显示 Hawkular 监控窗口?

0 投票
1 回答
144 浏览

monitoring - 必需的。应具有特权访问权限,例如 manageiq 中的 root 或管理员

我尝试在 Centos 7 上使用 manageiq 监控 Hawkular。这些是我以 root 权限运行的监控实现过程。

首先执行 cassandra nosql db。

接下来我以 root 身份执行如下所示的 hawkular 服务器

然后,我运行 Docker 和相关的 manageiq docker-image。

我使用以下地址在 Firefox 上运行 manageiq,它可以使用用户 admin 和密码 smartvm 成功运行。

我尝试使用菜单“添加新的中间件提供程序”在 manageiq Web UI 上添加 Hawkular 中间件但是显示错误消息,

我无法理解此错误消息。Hawkular 服务器和 manageiq 以 root 权限运行。如何将 Hawkular 服务添加到 manageiq 监控服务中?

0 投票
2 回答
687 浏览

https - ManageIQ docker 容器无法与 Web 浏览器连接

我尝试测试对 hawkular 的 manageiq 监控。我使用以下命令制作了 manageiq docker 容器

我可以看到容器已生成并运行。但是,我无法使用我的网络浏览器使用此 URL https://127.0.0.1:8443连接到 ManageIQ 。在 manageiq docker 容器内部的日志文件中显示如下错误,

0 投票
1 回答
65 浏览

configuration - Hawkular 代理:索引超出范围

我在设置hawkular-agent 时遇到问题。 我已经在 OpenShift pod 中设置了代理,当代理尝试调用在不同 pod 中运行的另一个应用程序的 jolokia 端点时,我得到了这个错误日志:

也许有人有类似的问题?代理的版本是Hawkular OpenShift Agent: Version: 0.1.0

0 投票
1 回答
209 浏览

hawkular - hawkular alert triggers do not fire

This is my test environment: - Hawkular Services 0.30 - Ubuntu Desktop 16.04.1 LTS running over VMWare - Apache Cassandra 3.9

I can send data to the metrics engine without no error, and the data is correctly stored. I checked it against the grafana plugin and with the csql cassandra client.

My problem is when trying the alerting engine, triggers are not fired. I have started from the very first example in the Quick Start Guide from Hawkular Services, the ADD Metrics point.

I can create the trigger, and I can see it in the cassandra store, I can recover it from the rest api, but it is never fired when data meeting the conditions is sended.

I have been trying creating another tenants, kind of triggers, events and alerts, sending loads of data ... but the result is exactly the same, the trigger is not fired.

I know the problem is not in the dumpening configuration, as it is said in the documentation

Note that default dampening for triggers is Strict(1). Which just means that by default a trigger fires every time it’s condition set evaluates to true.

The code of the trigger is this one. But I have tried creating another ones, with same result.

I know the email plugin is default configured to use a localhost:25 smtp server, which it is not installed in my environment. But I should see something in the log. The actions executed, at least, as explained in the docs. Just to clarify, these logs are not from me, but from the documentation. I have also changed the mail configuration in the wildfly standalone.xml file, to use my gmail account and its smtp server, but no mail received again.

11:59:37,361 INFO [org.hawkular.alerts.actions.api] (Thread-251 (ActiveMQ-client-global-threads-1118700939)) HAWKALERT240001: Plugin [email] has received an action message: [BusActionMessage[action=Action[eventId='temperature-trigger-1472551176767-dc41aaf3-bdd7-4a89-a950-44dc92f10c8b', ctime=1472551176769, event=Alert [alertId=temperature-trigger-1472551176767-dc41aaf3-bdd7-4a89-a950-44dc92f10c8b, status=OPEN, ackTime=0, ackBy=null, resolvedTime=0, resolvedBy=null, context={}], result='null']]] 11:59:37,385 INFO [org.hawkular.alerts.actions.api] (Thread-242 (ActiveMQ-client-global-threads-1118700939)) HAWKALERT240001: Plugin [email] has received an action message: [BusActionMessage[action=Action[eventId='temperature-trigger-1472551176770-300fda0d-2c82-46e3-9f09-f4e9ed4ffa3a', ctime=1472551176771, event=Alert [alertId=temperature-trigger-1472551176770-300fda0d-2c82-46e3-9f09-f4e9ed4ffa3a, status=OPEN, ackTime=0, ackBy=null, resolvedTime=0, resolvedBy=null, context={}], result='null']]]

I think I am missing something really very obvius, but I can't see it.

0 投票
1 回答
408 浏览

monitoring - 凭据验证不成功:无法从 hawkular 连接连接到 localhost:8080

我与 managiq ui 的 hawkular-services-dist-0.30.0.Final 的连接失败。但是我的 manageiq 配置似乎是成功的。我可以使用以下 URL 检查 manageiq UI,https://localhost:8443/(配置参考站点是http://www.manageiq.org/docs/get-started/docker)。但是在 manageiq UI 的中间件选项卡中,添加新的中间件提供程序总是会抛出此消息,

请检查以下捕获的图片。

在此处输入图像描述

更我不知道 manageiq 容器的哪些日志文件有这个错误语句。

更新

ssl 错误信息如下所示,

任何想法?