问题标签 [munin]

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 投票
2 回答
990 浏览

javascript - Munin 用于实时监控和 Javascript 绘图

我现在合作的组织使用 Munin 作为监控工具。我们编写了一个服务,它可以流式传输有关服务的实时数据,这些数据可以由 Javascript 组件显示。运营团队最好希望在 Munin 中显示这些指标,以避免使用另一个系统进行实时监控。

  1. 使用 Munin 使用 Javascript 显示实时数据是否可行且可行?最好我想将其创建为插件,但我们也可以修改一些 Munin HTML 页面或类似页面,只需将 Javascript 组件添加到页面。
  2. 当流的某些属性超过某个阈值时指定警报/警报也会很好。鉴于 (1) 是可行的,那么集成它的一个想法是编写一个外部应用程序来读取实时流并识别何时应该触发警报。当检测到错误时,外部应用程序可以将其写入磁盘上的文件。然后的想法是编写一个 Munin 插件,该插件从该文件中读取并在适用的情况下从 Munin 内触发更改/警报。
0 投票
0 回答
1745 浏览

python - Performance Monitoring on Django

I have a server that is running on django-nginx-gunicorn. I wish to monitor it's performance and get to know which module is using more resources, performance of the network etc.

I tried using Munin, which is pretty famous, but I couldn't get it to work with Django. So it'd be great of someone could help me setting up Munin on my Django-based server or suggest a similar alternate that can easily be incorporated with Django.

0 投票
1 回答
898 浏览

django - munin 运行 munin-cron 时无法复制内容

我最近在我的(基于 Fedora 的)服务器上安装了 munin。现在,我想在一个静态目录中获取所有图表(该应用程序在 Django 上运行)。因此,我\etc\munin\munin.conf通过将 设置htmldir为静态文件夹的绝对路径来编辑文件。然后,当我执行 a 时munin-cron,出现以下错误:

因此,我更改了用户并尝试以munin用户身份运行相同的用户。然后我收到以下错误:

chown编辑了静态目录(对于munin用户递归),甚至尝试过chmod 777(实际上不应该这样做),所以基本上它似乎不是权限问题。

此外,我的开发服务器基于 Ubuntu (12.04)。它在那里工作得很好。即使我的本地机器运行 Ubuntu (14.04),它也能正常工作。这可能是操作系统问题吗?这似乎极不可能。我还能错过什么?任何帮助,将不胜感激。

PS:还有一个问题。当我munin-cron在我的 Ubuntu(s) 中以 root 身份运行时,它给出的错误是:

而它在nobody这里。会不会是配置问题?

0 投票
1 回答
87 浏览

apache - munin mod_rewrite / 到空白页

我试图通过将其重定向到一个空文件来阻止用户访问 munin 的主页

我相信这里的问题是 mod_rewrite:

我不确定如何防止根 index.html 指向 /opt/munin/www/cgi/munin-cgi-html/ 这是一个用于每个 index.html 页面的 perl 脚本。

0 投票
1 回答
151 浏览

munin - 穆宁运行./