Articles of munin

Munin和postgresql 9.2

我试图build立一个服务器上使用postgresql 9.1和9.2(服务器当前正在运行9.1,已经在9.2新鲜的虚拟机上testing,以排除运行的服务器上的一些奇怪的问题的服务器上的统计数据,我不得不补丁9.2的插件由于重命名的列(例如procpid到pid),但这没有问题)。 Munin是从EPEL回购版安装的,postgres是官方的。 两者都是最新的。 当我尝试运行munin-node-configure –suggest时,我得到这个输出: # The following plugins caused errors: # postgres_bgwriter: # Junk printed to stderr # postgres_cache_: # Junk printed to stderr # postgres_checkpoints: # Junk printed to stderr # postgres_connections_: # Junk printed to stderr # postgres_connections_db: # Junk printed to stderr # postgres_locks_: # Junk printed to stderr # […]

configurationmunin-node为nginx

我正在部署munin来监视我生产的ubuntu aws ec2在nginx上运行的实例。 现在我想在生产系统中部署munin-node,并在另一个aws ec2 ubuntu实例中部署munin-master。 博客的大部分内容都提到了使用apache2 web服务器configurationmunin,而不是使用nginx

用于Apache Solr 4.0+的Munin插件?

我们刚刚开始在内部项目上使用Linux上的Apache Solr 4.0.0,现在已经部署了Solr 1.4.1和3.5.0。 从我的search,似乎大多数人仍然使用3.x. 实际上,我可以find的所有munin插件(请参阅下面的列表)都引用了/admin/stats.jsp页面,显然,AFAIK不再存在于Solr 4.0中。 http://rossduggan.ie/blog/technology/munin-plugins-for-solr/ https://github.com/Gasol/munin-solr-plugins/ https://github.com/munin-monitoring/contrib/tree/master/plugins/solr … 后来,我在Solr错误跟踪器SOLR-1750中发现了这个问题,它似乎指向了一个片段,您需要将此代码片段添加到solrconfig.xml : <requestHandler name="/admin/stats" class="org.apache.solr.handler.admin.SolrInfoMBeanHandler" /> 但是,试图在我的Solr 4安装目录上find/admin/mbeans ,可以让我得到一些XML信息: <response> <lst name="responseHeader"> <int name="status">0</int> <int name="QTime">1</int> </lst> <lst name="solr-mbeans"> <lst name="CORE"> <lst name="core"> <str name="class">mycore</str> <str name="version">1.0</str> <str name="description">SolrCore</str> <str name="src">$URL: https://svn.apache.org/repos/…</str> </lst> … <lst name="QUERYHANDLER"> <lst name="/admin/system"> <str name="class">org.apache.solr.handler.admin.SystemInfoHandler</str> <str name="version">4.0.0.2012.10.06.03.04.33</str> <str name="description">Get […]

如何通过Munin监视远程Postgresql Amazon EC2数据库?

如何使用Munin监视Amazon EC2上的远程postgresql数据库? 我想绘制读取,写入和总数据库操作的数量。

Munin限制COUNTER和DERIVE数据

对于COUNTER和DERIVEtypes的Munin插件,我应该使用${name}.warning和${name}.critical值来使用${name}.critical值?

munin-node发送数据给多个主设备?

我正在使我们的服务器设置上的所有内容都是冗余的,所以监控也是如此。 我们有一个虚拟机作为munin master,所有其他虚拟机都是munin节点(Ubuntu 12.04 LTS上的1.​​4版本)。 所以我的想法是创build另一个munin虚拟机,就像我已经有的那样,所以我的问题是, 如果所有的虚拟机可能只有一次虚拟机轮询并发送他们的数据到两个munin服务器 。 这个想法是为了不让虚拟机重复两次,只是为了收集相同的信息,同时能够closures(用于维护,或者因为事故)监视器虚拟机,并且仍然能够看到graphics。

如何通过netcat查询一个munin插件?

我想从Nagios中查询一个现在的Munin插件。 因为我想做一些计算和聚合(插件报告一段时间内的数据),而不只是看最后的值,可用的插件查询Munin的数据,如check_munin似乎不合适。 所以我的想法是获取整个fetch输出并parsing它。 这似乎是一个我不明白的理由。 如果在发出nc my-munin-node 4949后手动inputfetch my-plugin ,我会得到预期的数据输出。 如果我尝试编写脚本,它不会按预期工作: echo "fetch my-plugin" | nc my-munin-node 4949 只是什么都没有返回 (sleep 1 && echo "fetch my-plugin") | nc my-munin-node 4949 只返回这个munin-node横幅 # munin node at my-munin-node 没有任何尾随数据。 运行networking跟踪表明,远程的Munin节点确实开始发送数据,但是立即从请求者那里获得一个TCP RST 。

munin-cron无法复制内容

我最近在我的(基于Fedora12的)服务器上安装了munin。 现在,我想把所有的图表都放在一个静态目录中(应用程序在Django上运行)。 所以,我编辑文件/etc/munin/munin.conf通过设置htmldir作为我的静态文件夹的绝对path。 然后,当我做了一个munin-cron ,我得到了以下错误: This program will easily break if you run it as root as you are trying now. Please run it as user 'nobody'. The correct 'su' command on many systems is 'su – munin –shell=/bin/bash' Aborting. 所以,我改变了用户,并尝试运行与用户一样的munin 。 然后我得到以下错误: [ERROR] Could not copy contents from /etc/munin/static/ to /[path to static file] […]

太多来自munin的电子邮件

我最近花时间来看看慕宁,并修复了一些不起作用的插件。 其中百胜。 现在在过去的几天里,我已经发布了一些针对我的centos的更新,而且munin通知我,但是每隔5分钟就会发送一次相同的邮件。 我一直在search慕尼黑的设置,但一直没有find能够防止它通过电子邮件发送给我的东西。 在这一点上,我假设也许没有。 任何人都可以提供一些关于我如何实现这一点的提示。 我的configuration contact.me.command mail -s "Munin notification ${var:host}" [email protected] contact.me.always_send warning critical 电邮样本: Date: Sat, 21 Jun 2014 15:35:23 +0100 To: [email protected] Subject: Munin notification server.example.com User-Agent: Heirloom mailx 12.4 7/29/08 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <[email protected]> From: [email protected] (Munin user) example.com :: server.example.com :: Pending packages […]

Munin聚合不起作用(在服务器之间总计CPU时间)

我正试图获得一些服务器的CPU使用率的聚合图。 我已经拿出这个到目前为止: [totals] update no contacts no lb_cpu.graph_title LB Total User CPU lb_cpu.user.sum lb1.example.com:cpu.user lb2.example.com:cpu.user 不幸的是graphics生成不起作用。 日志显示这个错误: 2015/07/22 07:21:15 [RRD ERROR] rrdtool graph did not generate the image (make sure there are data to graph). 2015/07/22 07:21:15 [WARNING] Could not draw graph "/var/cache/munin/www/totals/lb_cpu-day.png": /var/cache/munin/www/totals/lb_cpu-day.png 任何人都可以发现我的configuration有什么问题吗? 谢谢 更新:我更新了我的示例,以反映我真的在做什么 – 即我没有添加一个组到聚合的节点名称,并使用来自另一个组的节点。