监控安全
zabbix忘记密码怎么办?首先去看看mysql数据库查看数据库mysql> show databases;+--------------------+| Database           |+--------------------+| zabbix             |+--------------------+5 rows in set (0.00 sec)进入数据库mysql> use zabbix;Reading table information for completion of table and column namesYou can turn off this feature to get a quicker startup with -ADatabase changed查看数据有那些表mysql> show tables;查看是否存放用户、密码信息mysql> select * from users;更改密码为zabbixmysql> update  users set passwd=md5("zabbix") where userid='1';Query OK, 0 rows affected (0.01 sec)Rows matched: 1  Changed: 0  Warnings: 0
启动zabbix_server 进程时找不到libiksemel.so.3安装好zabbix 后,再启动zabbix_server 进程时,提示。error while loading shared libraries: libiksemel.so.3: cannot open shared object file: No such file or directory以前编译zabbix 时,已经编译了iksemel ,后来查看才知道。libiksemel.so.3此文件存在,我所安装iksemel目录lib里同。直接复制到/usr/lib/ 目录下,再重启zabbiz_server 就可以正常使用了。[root@localhost sbin]#./zabbix_server./zabbix_server: error while loading shared libraries: libiksemel.so.3: cannot open shared object file: No such file or directory[root@localhost sbin]# locate libiksemel.so.3/root/iksemel-1.4/src/.libs/libiksemel.so.3/root/iksemel-1.4/src/.libs/libiksemel.so.3.1.1/usr/local/lib/libiksemel.so.3/usr/local/lib/libiksemel.so.3.1.1[root@localhost sbin]# lltotal 1408-rwxr-xr-x 1 root root 1433467 Nov 27 09:01 zabbix_server[root@localhost sbin]# ldd zabbix_server         linux-gate.so.1 => (0x00b02000)         libcurl...
centos5.4下cacti的安装配置系统环境OS:CentOS5.4DataBase:MySQL5.0PHP Apachenet-snmp部署cacti需要的环境安装MySQLyum install mysqlyum install mysql-server安装apacheyum install httpd安装phpyum install phpyum install php-mysql启动各类服务并且加入启动列表service httpd startservice mysqld start #第一次启动会初始化MySQL的数据字典chkconfig httpd onchkconfig mysqld on由于cacti的运行需要大量的其它库的支持,我们还需要安装一些:zib:yum install ziblibpng:yum install libpngfreetype:yum install freetypejpeg:yum install libjpegfontconfig:yum install fontconfiggd:yum install gdlibxml:yum install libxml2另外,还需要rrdtool的支持: 从这里下载:http://www.express.org/~wrl/rrdtool/这里我下载对应centos5.4的版本,读者请对应自己的系统版本下载wgethttp://www.express.org/~wrl/rrdtool/rrdtool-1.2.30-1.el5.wrl.x86_64.rpmwgethttp://www.express.org/~wrl/rrdtool/rrdtool-perl-1.2.30-1.el5.wrl.x86_64.rpmrpm -ivh rrdtool-1.2.30-1.el5.wrl.x86_64.rpm rrdtool-perl-1.2.30-1.el5.wrl.x86_64.rpm安装snmp的支持工具yum install net-...
RedHat Linux安装mrtg监控主机流量 作者:leexoyo linux下需要的软件:gd-1.8.4-11、gd-devel-1.8.4-11、libpng-1.2.2-16、libpng- devel-1.2.2-16、libpng10-1.0.13-8、libpng10-devel-1.0.13-8、perl-5.8.0-88、 zlib-1.1.4-8、zlib-devel-1.1.4-8、httpd-2.0.40-21、gcc-3.2.2-5、net-snmp- 5.06-17、mrtg-2.14.5.tar.gz 需下载:http://people.ee.ethz.ch/~oetike ... /mrtg-2.14.5.tar.gz查看软件包是否已经安装,如:#rpm -qa | grep gd如果没有安装的话,光盘里都有。确定需要的软件都安装好后,现在继续MRTG的安装。管理站地址为192.168.1.30,被管理站地址为:192.168.1.50(1)首先,修改snmp的配置文件:#vi /etc/snmp/snmpd.conf把第89行前面的注释符号#去掉,变成view mib2 included .iso.org.dod.internet.mgmt.mib-2 fc在62行进行修改:将access notConfigGroup "" any noauth exact systemview none none改为access notConfigGroup "" any noauth exact mib2 none none(2)启动http服务和snmp服务:首先查看两个服务在系统启动时是否已经开启#chkconfig --list | grep httpd没有启动的话需要修改下在什么启动模式下要自己启动:# chkconf...
    总共14页,当前第14页 | 页数:
  1. 4
  2. 5
  3. 6
  4. 7
  5. 8
  6. 9
  7. 10
  8. 11
  9. 12
  10. 13
  11. 14