Articles of munin

如何在慕尼黑获得总带宽图

我有一个基本的默认configuration在我的所有服务器上的munin-node,我想创build一个汇总图表,显示总带宽input/输出http和另一个图表显示所有接口的总带宽input/输出。 [编辑]按照第一次海报build议,我现在在这里; 我正在试图实现一个汇总的上/下为if_eth0服务的graphics 基于FAQ中的细节; http://munin-monitoring.org/wiki/faq#Q:HowdoIusefieldname.sum 和详细的例子; http://munin-monitoring.org/wiki/aggregate_examples 和这个有趣的聚合文章; http://blog.loftninjas.org/2010/04/08/an-evening-with-munin-graph-aggregation/ 我有以下在/etc/munin/munin.conf中定义我的主机; [cirrusj1605.hpl.com] address 19x.xx.xx.205 use_node_name yes [cirrusj1606.hpl.com] address 19x.xx.xx.206 use_node_name yes … 并像这样聚合虚拟主机; [hpl.com;聚合]更新没有联系人号码 total_bandwidth.graph_title Aggregated bandwidth total_bandwidth.upload.label upload total_bandwidth.upload.sum \ cirrusj1605.hpl.com:if_eth0:up \ cirrusj1606.hpl.com:if_eth0:up 如果我尝试手动运行munin-graph,则在生成每个graphics时出现以下错误; 2011/02/24 20:04:39 [RRD ERROR]无法显示/var/www/html/munin/hpl.com/aggregates/total_bandwidth-month.png:无效的rpnexpression式:az1_0,UN,0,az1_0 ,IF ,, + 完整的跟踪如下,任何build议可能是什么问题? 谢谢,T > -bash-3.2$ /usr/share/munin/munin-graph –debug > –nofork –nolazy –host aggregates 2011/02/24 20:04:39 [DEBUG] […]

从/ var / log / syslog中停止Munin消息

我正在使用munin,每次执行munin-node cron作业时都会在syslog中添加日志条目。 这不是一个问题,但有时会使其他错误发现困难。 有像这样的条目 Feb 28 07:05:01 li235-57 CRON[2634]: (root) CMD (if [ -x /etc/munin/plugins/apt_all ]; then /etc/munin/plugins/apt_all update 7200 12 >/dev/null; elif [ -x /etc/munin/plugins/apt ]; then /etc/munin/plugins/apt update 7200 12 >/dev/null; fi) 每5分钟,我想知道如何停止进入系统日志的消息。 对于慕宁特定的错误,我反正要留意/ var / log / munin / * 感谢Sparsh

如何更改Munin的图表颜色?

我开始使用Munin进行监控,但是我想改变graphics的颜色,这是由'loggrep'插件绘制的。 有什么办法来指定configuration文件中的颜色?

是否有任何工具可以实时监控各个Apache虚拟主机?

我正在寻找一种方法来监视和logging由虚拟主机分隔的Apachestream量。 我目前使用Munin来捕获整个服务器的这个和其他数据,但我似乎无法find一种方法来做到这一点的虚拟主机。 这个链接描述了使用一个名为mod_watch的模块,它显然已经不在开发中了: http://www.freshnet.org/wordpress/2007/03/08/monitoring-apaches-virtualhost-with-munin/ 报告列出的与Apache 2.x兼容的文件在正确缺less报告数据的虚拟主机方面存在问题。 有谁知道一个可靠的方法来确定每个虚拟主机的实时stream量? 如果我能find这个,应该很容易写一个新的穆宁插件。 编辑: 我真正希望看到的是类似于Apache服务器状态记分板页面的连接数/请求数(由虚拟主机分隔的时间点)。 这将使我能够实时检查哪个虚拟主机可能遇到交通高峰,并且还会提供Munin模块(或一些替代的性能监控/分析系统)所需的数据。

jmxremote会影响tomcat的性能吗?

我想启用jmxremote来监视与Munin的Apache Tomcat资源利用率,但是我想知道这是否会影响服务器性能,是多less会受到影响。

Munin聚合图不起作用

我知道这个问题以前曾经在很多论坛上被问过几次,但是我仍然遇到类似的问题。 个别图表正常工作,但聚合图不是。 我什至没有一个空的图(没有数据的图)。 所有的机器都运行在Ubuntu-12.04 m1.medium ec2实例上。 Munin版本是1.4.6。 我的munin.conf看起来像… [的localhost.localdomain] 地址127.0.0.1 use_node_name是 [页面没有自动跳转-西1.compute.internal] 地址 use_node_name是 [页面没有自动跳转-西1.compute.internal] 地址 use_node_name是 [页面没有自动跳转-西1.compute.internal] 地址 use_node_name是 [美西1.compute.internal; totalcheckpoints] 更新编号 联系号码 postgres_checkpoints_checkpoints_req.update no postgres_checkpoints_checkpoints_req.graph yes postgres_checkpoints_checkpoints_req.graph_args –base 1000 -l 0 postgres_checkpoints_checkpoints_req.cdef 0 postgres_checkpoints_checkpoints_req.graph_category PG Total Checkpoints postgres_checkpoints_checkpoints_req.graph_title Aggregated checkpoints postgres_checkpoints_checkpoints_req.graph_vlabel Total Checkpoints postgres_checkpoints_checkpoints_req.checkpoints_req_total.label Total checkpoints postgres_checkpoints_checkpoints_req.graph_order checkpoints_req_total postgres_checkpoints_checkpoints_req.checkpoints_req_total.sum \ <internal_ip>.us-west-1.compute.internal:postgres_checkpoints_<internal_ip>.us-west-1.compute.internal_checkpoints_req.checkpoints_req \ <internal_ip>.us-west-1.compute.internal:postgres_checkpoints_<internal_ip>.us-west-1.compute.internal_checkpoints_req.checkpoints_req […]

Munin不会在Ubuntu Server 14.04中创buildHTML文件

我曾经在几台服务器上使用过munin,这是第一次把我花这么多时间来设置它。 当我直接telnet munin时,我可以列出服务,日志和munin没有错误,每5分钟更新一次。 但是没有创buildhtml文件。 我使用的默认位置(/ var /caching/ munin / www),我可以确认该目录的权限设置为munin.munin (IP和域已被更改) munin.conf: dbdir /var/lib/munin htmldir /var/cache/munin/www logdir /var/log/munin rundir /var/run/munin [example.ne.jp;] address 100.100.50.200 穆宁-node.conf: log_level 4 log_file /var/log/munin/munin-node.log pid_file /var/run/munin/munin-node.pid background 1 setsid 1 user root group root host_name example.ne.jp allow ^127\.0\.0\.1$ allow ^100\.100\.50\.200$ allow ^::1$ / etc / hosts: 100.100.50.200 example.ne.jp mail.example.ne.jp 127.0.0.1 localhost […]

Munindynamicgraphics缩放(dynazoom)不起作用(Nginx,PHP-FPM)

Debian 7.5 Nginx / 1.6.0 PHP 5.6.0RC2(fpm-fcgi)(built:Jul 11​​ 2014 08:17:52)Munin v2.0.21-2 我在网上search了几天来解决我的问题,但似乎没有人知道该怎么做。 我得到了穆宁和运行,但穆宁dynamicgraphics变焦(dynazoom)不工作,它似乎是一个CGI问题我已经用lighttpd和Apache使用spawnfcgitesting穆宁和一切工作正常,但不是与php5-fpm。 在缩放屏幕上显示的graphics,但不是与php5-fpm它只是显示一个破碎的图像链接就像这张图片http://serversupportforum.de/forum/attachments/monitoring/4901d1373968950-munin-dynazoom-funktioniert-nicht-1592281191 .png “Munindynamicgraphics缩放(dynazoom)” 现在很多人都在用php-fpm来使用Nginx,所以我认为这对很多人来说都是很有帮助的。 例如: https : //stackoverflow.com/questions/18645812/munin-dynamic-graph-zoom-dynazoom-not-working-centos6-nginx-php-fpm 这是我的nginxconfiguration文件: user www-data; worker_processes 4; pid /run/nginx.pid; events { worker_connections 768; # multi_accept on; } http { ## # Basic Settings ## sendfile on; tcp_nopush on; tcp_nodelay on; keepalive_timeout 65; types_hash_max_size 2048; # server_tokens […]

强制Munin电子邮件通知只在状态更改,而不是更新

如果某些数值高于我的门槛,我得到了Munin通过电子邮件通知我。 这工作得很好,我很高兴。 但是,有一个小故障。 如果我的任何一个值处于严重或警告状态,并且Munin向我发送通知,那么在下一次Munin更新运行中,我将再次收到相同的通知,无论状态没有变化。 我发现默宁每5分钟默认运行一次更新。 有没有办法让穆宁发送单一的电子邮件只有状态变化(即第一封电子邮件的关键价值,第二个回到正常,而不是关键 – 临界 – 关键 – 正常)?

Bash脚本 – Munin插件不工作

我写了一个munin-plugin来计算lighttpd的http-statuscodes。 剧本: #!/bin/bash ###################################### # Munin-Script: Lighttpd-Statuscodes # ###################################### ##Config # path to lighttpd access.log LIGHTTPD_ACCESS_LOG_PATH="/var/log/lighttpd/access.log" # rows to parse in logfile (higher value incrase time to run plugin. if value to low you may get bad counting) LOG_ROWS="200000" # #munin case $1 in autoconf) # check config AVAILABLE=`ls $LIGHTTPD_ACCESS_LOG_PATH` if [ "$AVAILABLE" = "$LIGHTTPD_ACCESS_LOG_PATH" […]