Monitoring a Server with Munin on Ubuntu
Munin is a simple to configure tool that make nice graph about your server
status.It can actually deal with almost any aspect of your server(load average,
network cards status,CPU usage,memory usage,postfix,exim4,mysql ...)
1.installing and configuring munin
munin is composed of a master and client nodes.
every client(node) runs munin-node and then the master regularly query the different
node to gather and process datas.
$sudo apt-get install munin munin-node
2.configuring the master and node
edit the master file: /etc/munin/munin.conf
This is in this file that you define every clients the master is going to gather information
dbdir /var/lib/munin
htmldir /var/www/munin
logdir /var/log/munin
rundir /var/run/munin
[sillycat.com]
address 192.168.50.92
use_node_name yes
我本机的IP是192.168.50.92
edit /etc/munin/munin-node.conf
#host *
host 192.168.50.92
allow ^192\.168\.50\.92$
修改5分钟执行监控一次
crontab -e
修改内容如下:
# m h dom mon dow command
#BEGIN_MUNIN_MAIN
MAILTO=root
*/5 * * * * /usr/bin/munin-cron --force-root
#END_MUNIN_MAIN
重启守护进程
/etc/init.d/cron restart
重启
$sudo /etc/init.d/munin-node restart
3.由于apache2上已经配置了很多东东,所以决定还是用lighttpd
安装lighttpd
sudo apt-get install lighttpd
安装后启动失败,是因为默认的80端口已经被apache2给用了
vi /etc/lighttpd/lighttpd.conf
找到此行,修改成为如下内容,端口改为81
server.port = 81
重启
/etc/init.d/lighttpd restart
4.查看信息
访问如下地址:
http://server.com:port/munin
我本机的地址是:
http://www.sillycat.com:81/munin/
分享到:
相关推荐
docker run -p 8080:80 -d -v /path/to/conf.d:/etc/munin/munin-conf.d -v /path/to/access:/etc/munin-access --name munin-server maxwayt/munin-server 管理创建htpasswd文件 htpasswd -c /path/to/access/...
munin-influxdb, Munin到 influxdb/grafana网关 munin-influxdbMunin 至 InfluxDB Grafana gateway从 Munin ( RRD ) 迁移到InfluxDB和Grafana仪表板的工具。提供两个命令:导入将现有的Munin数据导入
mongo-munin - MongoDB的Munin插件
基于munin的主机监控解决方案.doc
[原创]在Debian 6安装munin监视服务器
安装MUNIN 服务器,监控LINUX系统平台下的,服务器硬件资源使用情况,还可监控大部分的数据库运行情况
Munin的新网站是使用Jekyll构建的。 以下是对贡献者/好奇者的一些补充说明: 当地发展环境 要安装依赖项,请阅读。 完成后,您将可以使用bundle exec jekyll serve本地运行该项目。 然后,您可以打开自己喜欢的...
Munin是一个在线散列检查器实用程序,可从各种在线来源检索有价值的信息
python库。 资源全名:munin-influxdb-1.2.0a.tar.gz
php5-fpm-munin-plugins, Munin FPM的一组插件 安装在Ubuntu上的插件:cd/usr/share/munin/pluginsgit clone git://github.com/tjstein/php5-fpm-munin-plugins.gitchmod x
munin插件集合,用于监视AVM FRITZ!Box路由器。 这些脚本是使用运行FRITZ!OS 7.00的 (Amazon链接)开发的。 如果您在其他Fritz!Box模型上使用脚本,请通过以下方式通知我 开一个问题 提交拉取请求 到目前为止,...
As scalability is one of our major modern problems, messaging with RabbitMQ is the main part of the solution to this problem., This book explains and demonstrates the RabbitMQ server in a detailed ...
As scalability is one of our major modern problems, messaging with RabbitMQ is the main part of the solution to this problem., This book explains and demonstrates the RabbitMQ server in a detailed ...
Clickhouse-munin 适用于ClickHouse的Munin插件图示例查询cp bin/clickhouse_ /etc/munin/plugins/clickhouse_queries缓存命中/未命中cp bin/clickhouse_ /etc/munin/plugins/clickhouse_cache文件操作cp bin/...
Monitor the health of your code with Nagios, Munin, and Graphite Explore the workings of Trac-a tool used for issue tracking In Detail DevOps is a practical field that focuses on delivering business ...
muninn-源码.rar
Munin-moe 这是一个可定制化的Munin监控面板
Piwik ServerMonitor插件描述将用作工具收集的统计信息的分析平台。 这是一个插件,可从您的Munin主... Piwik仪表板小部件所有Munin指标都可以作为仪表板小部件使用,从而允许您为Server Monitoring创建自定义仪表板。
munin-nginx_request_time:用于Nginx请求时间的Munin插件
smartos-munin-plugins:用于SmartOS的经过修改的munin插件