首页
学习
活动
专区
工具
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

开源 网管 工具_网管软件

大家好,又见面了,我是你们的朋友全栈君。 Nagios:最大的亮点是轻量灵活,且报警机制很强,如果你只是需要监控服务器/服务是否在运行,Nagios 以前只是从目标主机收集信息,,并且有很强大的发送报警信息的功能。适合监视大量服务器上面的大批服务是否正常, 重点并不在图形化的监控, 其集成的很多功能例如报警,都是 cacti 没有或者很弱的. cacti 主要用途还是用来收集历史数据和画图, 所以界面比 nagios 漂亮很多 cacti:比较着重于直观数据的监控,易于生成图形,用来监控网络流量、cpu使用率、硬盘使用率等可以说很在合适不过。 ganglia:更加关注收集和跟踪指标 zabbix:相对来说配置简单,基本上在web上配置就行了,商业开源软件。zabbix只是一个脚本监控触发器 具体需求诸如网站挂马 sql注入是需要个人定制的 zabbix自带了一些系统级别的监控脚本。学习成本和定制模板比较大 zenoss:将状态监控,性能监控,资源管理,更好的报告机制进行有机的整合。Zenoss主要的特点是可以无agent来进行监控。Zenoss主要的监控协议为SNMP,支持通过ssh、telnet的方式采集数据。

03

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
领券