简单记录使用的工具,对于使用哪个工具的批判标准是:
只要符合你的某个程度上的需要,就是说只要满足你需要的批判标准,获取到对应的数据,就不必再纠结于使用什么样的工具了.
Cacti
sudo apt-get install cacti
中间会下载mysql,tomcat,apache等辅助的软件,下吧.不过貌似这些工具都是这样的.
cacti使用的画图工具时rrdtools.
安装过程中会让你输入mysql数据库中的root的密码,还会让你输入administrator的密码等.设置的合理一点是常用的密码****gamma.
最后是:
http://10.13.8.27/cacti
可以通过这个地址访问对应的cacti安装程序,这个是一个apache的内容.
查看监听的地址:
hibernatesone@hibernatesone-laptop:/etc/apache2/conf.d$ netstat -lt --numeric-host
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:sunrpc 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:www 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:ftp 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:ssh 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:ipp 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:12865 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:mysql 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:11211 0.0.0.0:* LISTEN
tcp6 0 0 :::http-alt :::* LISTEN
tcp6 0 0 :::ssh :::* LISTEN
tcp6 0 0 ::1:ipp :::* LISTEN
tcp6 0 0 127.0.0.1:8005 :::* LISTEN
hibernatesone@hibernatesone-laptop:/etc/apache2/conf.d$ netstat -lt --numeric-ports
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:12865 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:11211 0.0.0.0:* LISTEN
tcp6 0 0 :::8080 :::* LISTEN
tcp6 0 0 :::22 :::* LISTEN
tcp6 0 0 ::1:631 :::* LISTEN
tcp6 0 0 127.0.0.1:8005 :::* LISTEN
hibernatesone@hibernatesone-laptop:/etc/apache2/conf.d$
80的是一个apache的启动内容,而8080是一个tomcat的启动程序.
再看看apache的启动内容:
hibernatesone@hibernatesone-laptop:/etc/apache2/conf.d$ ps -aef | grep apache
tomcat6 937 1 0 19:22 ? 00:00:05 /usr/lib/jvm/java-6-openjdk/bin/java -Djava.util.logging.config.file=/var/lib/tomcat6/conf/logging.properties -Djava.awt.headless=true -Xmx128M -XX:+UseConcMarkSweepGC -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/usr/share/tomcat6/endorsed -classpath /usr/share/tomcat6/bin/bootstrap.jar -Dcatalina.base=/var/lib/tomcat6 -Dcatalina.home=/usr/share/tomcat6 -Djava.io.tmpdir=/tmp/tomcat6-tmp org.apache.catalina.startup.Bootstrap start
root 3147 1 0 19:28 ? 00:00:00 /usr/sbin/apache2 -k start
www-data 3955 3147 0 19:30 ? 00:00:00 /usr/sbin/apache2 -k start
www-data 3956 3147 0 19:30 ? 00:00:00 /usr/sbin/apache2 -k start
www-data 3958 3147 0 19:30 ? 00:00:00 /usr/sbin/apache2 -k start
www-data 4089 3147 0 19:37 ? 00:00:00 /usr/sbin/apache2 -k start
www-data 4117 3147 0 19:38 ? 00:00:00 /usr/sbin/apache2 -k start
www-data 4119 3147 0 19:38 ? 00:00:01 /usr/sbin/apache2 -k start
www-data 4120 3147 0 19:38 ? 00:00:00 /usr/sbin/apache2 -k start
www-data 4121 3147 0 19:38 ? 00:00:00 /usr/sbin/apache2 -k start
www-data 4221 3147 0 19:40 ? 00:00:00 /usr/sbin/apache2 -k start
www-data 4254 3147 0 19:41 ? 00:00:00 /usr/sbin/apache2 -k start
其中一个是tomcat6的,另一个是apache2的.
hibernatesone@hibernatesone-laptop:/etc/apache2$ whereis apache2
apache2: /usr/sbin/apache2 /etc/apache2 /usr/lib/apache2 /usr/share/apache2 /usr/share/man/man8/apache2.8.gz
apache2的配置文件一般在/etc/apache2中.
进入详细的看看.
发现还有一个conf.d目录,其中内容如下:
/etc/apache2/conf.d
hibernatesone@hibernatesone-laptop:/etc/apache2$ ls conf.d/
cacti.conf charset localized-error-pages security
发现了cacti.conf文件内容了...
Alias /cacti /usr/share/cacti/site
Options +FollowSymLinks
AllowOverride None
order allow,deny
allow from all
AddType application/x-httpd-php .php
php_flag magic_quotes_gpc Off
php_flag short_open_tag On
php_flag register_globals Off
php_flag register_argc_argv On
php_flag track_vars On
# this setting is necessary for some locales
php_value mbstring.func_overload 0
php_value include_path .
DirectoryIndex index.php
cacti的内容配置是:
Alias /cacti /usr/share/cacti/site
这个说明了为什么能够使用上面的url进行访问了,这里定义了apache的/cacti 的别名.OK.
看看site中的内容:
hibernatesone@hibernatesone-laptop:/usr/share/cacti/site$ ls
about.php data_queries.php graph_settings.php graph_view.php install rra.php user_admin.php
auth_changepassword.php data_sources.php graphs_items.php graph_xport.php lib scripts utilities.php
auth_login.php data_templates.php graphs_new.php host.php logout.php script_server.php
cdef.php docs graphs.php host_templates.php poller_commands.php settings.php
cmd.php gprint_presets.php graph_templates_inputs.php images poller_export.php templates_export.php
color.php graph_image.php graph_templates_items.php include poller.php templates_import.php
data_input.php graph.php graph_templates.php index.php resource tree.php
基本上就确认了cacti是用的内容了.
看看cacti中阐述的:
Cacti requires MySQL, PHP, RRDTool, net-snmp, and a webserver that supports PHP such as Apache or IIS. Please see the requirements section of the manual for information on how to fulfill these requirements under certain operating systems. Please use the install guide for either Unix or Windows for information about installing Cacti.
对于tomcat6,先不用管它....apt-get install也是一个不爽的事情,动不动就给你启动...一时还没去想好方法...
使用http://10.13.8.27/cacti能够直接定位到install步骤,会让你输入一些密码的,简单的来,以后可以修改的....
cacti的默认登录账号是:
admin
admin
千万别设置的连你自己都会忘记的密码.
好了.
http://10.13.8.27/cacti/index.php
已经能够访问了...
http://10.13.8.27/cacti/graph_view.php?action=tree&tree_id=1&leaf_id=7&select_first=true
2.对于Munin,可以参考这个:
http://www.iteye.com/topic/539319
http://munin-monitoring.org/wiki/LinuxInstallation
http://munin-monitoring.org/wiki
只要符合你的某个程度上的需要,就是说只要满足你需要的批判标准,获取到对应的数据,就不必再纠结于使用什么样的工具了.
Cacti
sudo apt-get install cacti
中间会下载mysql,tomcat,apache等辅助的软件,下吧.不过貌似这些工具都是这样的.
cacti使用的画图工具时rrdtools.
安装过程中会让你输入mysql数据库中的root的密码,还会让你输入administrator的密码等.设置的合理一点是常用的密码****gamma.
最后是:
http://10.13.8.27/cacti
可以通过这个地址访问对应的cacti安装程序,这个是一个apache的内容.
查看监听的地址:
hibernatesone@hibernatesone-laptop:/etc/apache2/conf.d$ netstat -lt --numeric-host
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:sunrpc 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:www 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:ftp 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:ssh 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:ipp 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:12865 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:mysql 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:11211 0.0.0.0:* LISTEN
tcp6 0 0 :::http-alt :::* LISTEN
tcp6 0 0 :::ssh :::* LISTEN
tcp6 0 0 ::1:ipp :::* LISTEN
tcp6 0 0 127.0.0.1:8005 :::* LISTEN
hibernatesone@hibernatesone-laptop:/etc/apache2/conf.d$ netstat -lt --numeric-ports
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:12865 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:11211 0.0.0.0:* LISTEN
tcp6 0 0 :::8080 :::* LISTEN
tcp6 0 0 :::22 :::* LISTEN
tcp6 0 0 ::1:631 :::* LISTEN
tcp6 0 0 127.0.0.1:8005 :::* LISTEN
hibernatesone@hibernatesone-laptop:/etc/apache2/conf.d$
80的是一个apache的启动内容,而8080是一个tomcat的启动程序.
再看看apache的启动内容:
hibernatesone@hibernatesone-laptop:/etc/apache2/conf.d$ ps -aef | grep apache
tomcat6 937 1 0 19:22 ? 00:00:05 /usr/lib/jvm/java-6-openjdk/bin/java -Djava.util.logging.config.file=/var/lib/tomcat6/conf/logging.properties -Djava.awt.headless=true -Xmx128M -XX:+UseConcMarkSweepGC -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/usr/share/tomcat6/endorsed -classpath /usr/share/tomcat6/bin/bootstrap.jar -Dcatalina.base=/var/lib/tomcat6 -Dcatalina.home=/usr/share/tomcat6 -Djava.io.tmpdir=/tmp/tomcat6-tmp org.apache.catalina.startup.Bootstrap start
root 3147 1 0 19:28 ? 00:00:00 /usr/sbin/apache2 -k start
www-data 3955 3147 0 19:30 ? 00:00:00 /usr/sbin/apache2 -k start
www-data 3956 3147 0 19:30 ? 00:00:00 /usr/sbin/apache2 -k start
www-data 3958 3147 0 19:30 ? 00:00:00 /usr/sbin/apache2 -k start
www-data 4089 3147 0 19:37 ? 00:00:00 /usr/sbin/apache2 -k start
www-data 4117 3147 0 19:38 ? 00:00:00 /usr/sbin/apache2 -k start
www-data 4119 3147 0 19:38 ? 00:00:01 /usr/sbin/apache2 -k start
www-data 4120 3147 0 19:38 ? 00:00:00 /usr/sbin/apache2 -k start
www-data 4121 3147 0 19:38 ? 00:00:00 /usr/sbin/apache2 -k start
www-data 4221 3147 0 19:40 ? 00:00:00 /usr/sbin/apache2 -k start
www-data 4254 3147 0 19:41 ? 00:00:00 /usr/sbin/apache2 -k start
其中一个是tomcat6的,另一个是apache2的.
hibernatesone@hibernatesone-laptop:/etc/apache2$ whereis apache2
apache2: /usr/sbin/apache2 /etc/apache2 /usr/lib/apache2 /usr/share/apache2 /usr/share/man/man8/apache2.8.gz
apache2的配置文件一般在/etc/apache2中.
进入详细的看看.
发现还有一个conf.d目录,其中内容如下:
/etc/apache2/conf.d
hibernatesone@hibernatesone-laptop:/etc/apache2$ ls conf.d/
cacti.conf charset localized-error-pages security
发现了cacti.conf文件内容了...
Alias /cacti /usr/share/cacti/site
Options +FollowSymLinks
AllowOverride None
order allow,deny
allow from all
AddType application/x-httpd-php .php
php_flag magic_quotes_gpc Off
php_flag short_open_tag On
php_flag register_globals Off
php_flag register_argc_argv On
php_flag track_vars On
# this setting is necessary for some locales
php_value mbstring.func_overload 0
php_value include_path .
DirectoryIndex index.php
cacti的内容配置是:
Alias /cacti /usr/share/cacti/site
这个说明了为什么能够使用上面的url进行访问了,这里定义了apache的/cacti 的别名.OK.
看看site中的内容:
hibernatesone@hibernatesone-laptop:/usr/share/cacti/site$ ls
about.php data_queries.php graph_settings.php graph_view.php install rra.php user_admin.php
auth_changepassword.php data_sources.php graphs_items.php graph_xport.php lib scripts utilities.php
auth_login.php data_templates.php graphs_new.php host.php logout.php script_server.php
cdef.php docs graphs.php host_templates.php poller_commands.php settings.php
cmd.php gprint_presets.php graph_templates_inputs.php images poller_export.php templates_export.php
color.php graph_image.php graph_templates_items.php include poller.php templates_import.php
data_input.php graph.php graph_templates.php index.php resource tree.php
基本上就确认了cacti是用的内容了.
看看cacti中阐述的:
Cacti requires MySQL, PHP, RRDTool, net-snmp, and a webserver that supports PHP such as Apache or IIS. Please see the requirements section of the manual for information on how to fulfill these requirements under certain operating systems. Please use the install guide for either Unix or Windows for information about installing Cacti.
对于tomcat6,先不用管它....apt-get install也是一个不爽的事情,动不动就给你启动...一时还没去想好方法...
使用http://10.13.8.27/cacti能够直接定位到install步骤,会让你输入一些密码的,简单的来,以后可以修改的....
cacti的默认登录账号是:
admin
admin
千万别设置的连你自己都会忘记的密码.
好了.
http://10.13.8.27/cacti/index.php
已经能够访问了...
http://10.13.8.27/cacti/graph_view.php?action=tree&tree_id=1&leaf_id=7&select_first=true
2.对于Munin,可以参考这个:
http://www.iteye.com/topic/539319
http://munin-monitoring.org/wiki/LinuxInstallation
http://munin-monitoring.org/wiki
相关推荐
vmware view 资源容量规划工具
vmware view容量规划工具 提供view桌面虚拟化容量的具体计算
Exchange 2007容量规划工具,包括服务器的数量,CPU,内存,硬盘灯
该工具将尝试成为容量规划工具。 可以从http://zelionix.ddns.net/获得SVN版本的演示,该演示根据代理收集的KPI(CPU,内存,卷)进行绘制。 通过夜间收集,加载,分析处理来警告和严重级别。此工具旨在检查您的基础...
用来计算小区容纳用户数,在网络规划中使用
《Web容量规划的艺术》由John Allspaw(F订ickr的工程运营经理)撰写,结合了他个人在F1ickr成长过程中的许多经历和很多其他产业中同行的洞察力。在衡量增长、预测趋势、成本效益等方面,他们的经验都会给你一些可靠并...
新能源-电制氢容量双层规划 摘要:本文提出了一种新的电制氢容量双层规划方法,旨在提高风电制氢系统的经济效益和环境效益。该方法通过建立随机波动输入下的电制氢系统全寿命经济分析模型,并提出了三种风电-电制氢...
作者介绍了基本概念以帮助您了解云容量和如何计算它,也介绍了一个工具,可帮助您计划使您的云环境获得成功所必要的最佳资源。作为移动到云计算环境的一部分,公司利用规划流程和工具来实现成本的下降,提高系统部署...
4G、5G网络优化
在使用 VirtualBox 创建虚拟机时,磁盘容量的规划是一个非常重要的问题。尤其是当虚拟机使用的次数越来越多时,原本分配的存储空间可能不足以满足需求。这时候,扩展虚拟机的磁盘容量就成了迫切需要解决的问题。本文...
本文深入探讨了基于V图理论的配电网电动汽车充电站选址与定容方法。通过可视化技术,文章详细介绍...目标是为相关专业人士提供一个科学的决策支持工具,以促进电动汽车的普及和电网的可持续发展。 关键词 电动汽车
5.1.2 中心机房管理员应定期使用管理信息系统的工具,识别出系统容量使用趋势,预测未来 将要使用的系统资源,避免潜在的瓶颈及对关键人员的依赖,预防可能引起系统安全或 用户服务的威胁。 5.1.3 如新增项目或压力...
通过网络容量进行PCI规划取得最优效果。保证某个小区的同频邻小区PCI值不相等;切换时,UE将报告邻小区的PCI和测量量。如果服务小区有两个邻区都使用同样的PCI,则服务小区无法分辨UE到底应该切往哪个邻小区。所以,...
排队论是电动汽车充电站规划中的重要工具,可以用于优化电动汽车充电站的容量和服务效率。通过排队论,可以确定电动汽车充电站的最优容量和服务模式,提高充电站的服务效率和用户满意度。 知识点6:电动汽车充电站...
总览简而言之, kube-opex-analytics或字面上的Kubernetes Opex Analytics是一种工具,可帮助组织跟踪其Kubernetes集群消耗的资源以防止超额支付。 为此,它会生成短期,中期和长期使用情况报告,以显示有关每个项目...
本书全面地介绍了基于IS-95、cdma2000 1x空中接口技术建立的CDMA移动通信系统的网络规划和网络优化,包括CDMA移动通信系统及技术的概述,CDMA无线网络规划、优化方法,网络评估方法以及系统仿真技术,同时以附录及...
数字地图是无线网络规划的重要工具。数字地图可以提供地形、地物和其他因素对无线网络的影响信息。数字地图可以分为多种类型,包括: 1. 数字高程模型 DEM 2. 地物覆盖模型 DOM 3. 线状地物模型 LDM 4. 建筑物矢量...
随着3G网络建设的来临,移动本地传输网面临种种发展机遇也同样面对着严峻的挑战,因此需要积极做好规划,同时还应整体提高规划质量,利用先进的传输网容量测算工具对3G网络传输容量进行严格测算。尤其对于网络资源...
高速增长的互联网业务要求产品开发、迭代和交付周期越来越短,而IT基础设施的广泛云化和第三方API接口的大量使用,使传统的基于内部环境搭建的压力测试方法和测试工具越来越难以满足应用功能可用和容量规划预估的...