首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往
您找到你想要的搜索结果了吗?
是的
没有找到

Cacti安装插件之thold

Cacti安装插件之thold 基本环境 os:rhel5.5 i386 rpm:lamp cacti:0.8.8a rrdtool:1.4.5 1,安装settings插件 #wget http://docs.cacti.net/_media/plugin:settings-v0.7-1.tgz #mv plugin\:settings-v0.7-1.tgz settings-v0.7-1.tgz #tar  zxvf settings-v0.7-1.tgz -C /var/www/html/cacti/plugins 2,安装thold插件 #wget http://docs.cacti.net/_media/plugin:thold-v0.4.9-3.tgz #mv plugin\:thold-v0.4.9-3.tgz thold-v0.4.9-3.tgz #tar zxvf thold-v0.4.9-3.tgz -C /var/www/html/cacti/plugins 3,更改config.php主配置文件 #cat /var/www/html/cacti/include/config.phps $database_type = "mysql"; $database_default = "cacti"; $database_hostname = "localhost"; $database_username = "cacti"; $database_password = "cacti"; $database_port = "3306"; $database_ssl = false; $plugins[] = 'ntop'; $plugins[] = 'npc'; $plugins[] = 'settings'; $plugins[] = 'thold'; 4,设置cacti添加进thold 控制面板-----插件管理---settings和thold安装和启用

01

Cacti插件安装之NTOP

一,安装ntop 在官网获得最新源码包 wget http://cdnetworks-kr-2.dl.sourceforge.net/project/ntop/ntop/ntop-4.0.1/ntop-4.0.1.tar.gz 安装环境如下 Quick Instructions ================== 1. Get and install mandatory packages/tools       These instructions assume your system is already provided with       the normal source compile tools.  Most are gnu packages, available       through http://www.gnu.org or your favorite prebuilt package source.       Using their RedHat package names, these are:          - glibc, glibc-devel, gcc, cpp          - Some version of awk          - libtool (1.4+)                Note that there are reports of success with libtool 1.3.x under                FreeBSD so the script allows this.          - m4          - autoconf (2.53+)          - automake (1.6+)          - gdbm, gdbm-devel          - libpcap (http://www.tcpdump.org)          - librrdtool 1b. Optional packages          - openssl, openssl-devel (http://www.openssl.org)          - zlib, zlib-devel 2. Build ntop    - cd ntop    - ./autogen.sh    - make    - make install 如果./autoen.sh后make时报错过不去 错误一 checking for GeoIP_record_by_ipnum in -lGeoIP... no Please install GeoIP (http://www.maxmind.com/) 解决方法: wget http://www.maxmind.com/download/geoip/api/c/GeoIP.tar.gz tar xzvf it ./configure it make it make install it 错误二 If you run into problems, you can ALWAYS recreate the generated files    via this procedure:       rm -f acinclude.m4 aclocal.m4 Makefile.in config.h.in configure Makefile       find current versions of libtool, config.guess and config.sub and cp       them into your working directory.       cat acinclude.m4.ntop libtool.m4.in > acinclude.m4       aclocal       autoheader       autoconf       automake --gnu --copy --add-missing    and then:       ./configure ...       make       make install    as usual. 二,安装后调试 1,设置ntop # chown -R nobody /usr/local/var/ntop 安全 # ntop -A设置密码 # ntop -i eth0 -d -l echo " ntop -i eth0 -d -l " >>/etc/rc.local >& /dev/null开机启动 http://ip:3000测试 2,配置文件中加入插件 在cacti官网上下载ntop插件 wget http://docs.cact

02

python学习-python与rrdt

rrdtool(round robin database)工具为环状数据库的存储格式,round robin是一种处理定量数据以及当前元素指针的技术。rrdtool主要用来跟踪对象的变化情况,生成这些变化的走势图,比如业务的访问流量、系统性能、磁盘利用率等趋势图,很多流行监控平台都使用到rrdtool,比较有名的为Cacti、Ganglia、Monitorix等。更多rrdtool介绍见官网http://oss.oetiker.ch/rrdtool/。rrdtool是一个复杂的工具,涉及较多参数概念,本节主要通过Python的rrdtool模块对rrdtool的几个常用方法进行封装,包括create、fetch、graph、info、update等方法,本节对rrdtool的基本知识不展开说明,重点放在Python rrdtool模块的常用方法使用介绍上。

01

Cacti插件安装之nagios

一,安装nagios useradd nagios必须的,要不make install时过不去 wget http://cdnetworks-kr-1.dl.sourceforge.net/project/nagios/nagios-3.x/nagios-3.4.1/nagios-3.4.1.tar.gz #tar zxvf nagios-3.4.1.tar.gz -C /opt #cd /opt/nagios #./configure --prefix=/usr/local/nagios #make all # make  install install-base install-cgis install-html install-exfoliation install-config install-init install- commandmode fullinstall nagios.conf文件已生成,不用修改 # egrep 'AuthUserFile' /etc/httpd/conf.d/nagios.conf    AuthUserFile /usr/local/nagios/etc/htpasswd.users    AuthUserFile /usr/local/nagios/etc/htpasswd.users 创建HTTP认证用户登录Nagios,用户名nagiosadmin,密码123456     #htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin 重启apache     #service httpd restart   其他配置基本不用改,启动nagios   # service nagios start # chkconfig nagios on http://ip/nagios访问即可

04

企业监控调研指引:17个精心准备的开源运维监控系统

监控系统是整个运维环节,乃至整个产品生命周期中最重要的一环,事前及时预警发现故障,事后提供翔实的数据用于追查定位问题。监控系统作为一个成熟的运维产品,业界有很多开源的实现可供选择。当公司刚刚起步,业务规模较小,运维团队也刚刚建立的初期,选择一款开源的监控系统,是一个省时省力,效率最高的方案。之后,随着业务规模的持续快速增长,监控的对象也越来越多,越来越复杂,监控系统的使用对象也从最初少数的几个SRE,扩大为更多的DEVS,SRE。这时候,监控系统的容量和用户的“使用效率”成了最为突出的问题。 监控系统业

06
领券