3月 122013
 

We are pleased to announce the immediate availability of CentOS-6.4
install media for i386 and x86_64 Architectures. Release Notes for 6.4
are available at http://wiki.centos.org/Manuals/ReleaseNotes/CentOS6.4 –
we recommend everyone looks through those once.

CentOS-6.4 is based on the upstream release EL 6.4 and includes packages
from all variants. All upstream repositories have been combined into
one, to make it easier for end users to work with. Continue reading »

 Posted by at 下午 12:44
3月 122013
 

CactiFans-v1.0中文版发行已经有半年左右的时间,由于本人毕业之后忙于工作等事情,很久没有更新blog,给大家使用造成一定的麻烦,在此说声不好意思啊!嘿嘿!好了,今天我写几个关于CactiFans中文版V1.0的小Tips,帮大家更好的使用。

一.修改系统密码

ssh登录上去执行

passwd root

根据提示输入新密码就可以修改系统密码

二.修改Nagios密码

Nagios的登录地址为:http://192.168.1.10/nagios/ (系统默认Ip地址为:192.168.1.10)
登录的用户名为:nagiosadmin

执行以下命令修改nagios登录密码

cd /etc/nagios
htpasswd -bc passwd nagiosadmin XXXXXX

根据提示输入新密码就可以修改系统密码
XXXXXX是你要设置的密码

三.修改nconf密码

nconf的登录地址为:http://192.168.1.10/nconf/
nconf的登录用户名为:admin
执行以下命令修改nconf的登录密码 Continue reading »

 Posted by at 上午 9:39
2月 262013
 

You can recover MySQL database server password with following five easy steps.
Step # 1: Stop the MySQL server process.
Step # 2: Start the MySQL (mysqld) server/daemon process with the –skip-grant-tables option so that it will not prompt for password.
Step # 3: Connect to mysql server as the root user.
Step # 4: Setup new mysql root account password i.e. reset mysql password.
Step # 5: Exit and restart the MySQL server.
Here are commands you need to type for each step (login as the root user):
Step # 1 : Stop mysql service

/etc/init.d/mysql stop

Output:

Stopping MySQL database server: mysqld.

Step # 2: Start to MySQL server w/o password: Continue reading »

 Posted by at 下午 8:45
1月 072013
 

centos的老版本对应的域名是vault.centos.org ,方便以后使用,直接repo文件。

Packages previously released as 5.5, and its updates

[C5.5-base]
name=CentOS-5.5 – Base
baseurl=http://vault.centos.org/5.5/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
enabled=0

[C5.5-updates]
name=CentOS-5.5 – Updates
baseurl=http://vault.centos.org/5.5/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
enabled=0

[C5.5-extras]
name=CentOS-5.5 – Extras
baseurl=http://vault.centos.org/5.5/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
enabled=0

[C5.5-centosplus]
name=CentOS-5.5 – Plus
baseurl=http://vault.centos.org/5.5/centosplus/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
enabled=0

Continue reading »

 Posted by at 下午 12:57
6月 182012
 

经过几个月来来的努力,CactiFans V1.0中文版终于发布了!仔细算起,自上次发布已经有一年多了,这个时间是有点长,主要的原因是我太忙了,事情太多了。做完这版本,我也要毕业了,离开学校了,大学也就这么上完了,也算毕业的纪念吧!进入正题。

CactiFans是我制作的一个cacti的集成全自动安装系统!

CactiFans v1.0中文版特性

  • 基于CentOS6.2构建,集成了cacti 0.8.8a 中文版(目前最新版),rrdtool 1.4.7(目前最新)
  • 集成nagios 3.3.1,nconf 1.3(管理nagios的一个工具)
  • 集成phpMyAdmin-3.5.0  webmin-1.580
  • 集成 syslog,npc.routerconfigs,weathermap,monitor,discovery等cacti常用的20个插件
  • 集成飞信机器人,可以配置短信报警
  • 包含FreeBSD,IIS,Nginx,apache,mysql,advance ping等实用模版
  • 解决weahermap插件的安全性问题
  • Patch官方所有补丁,解决目前已知bug
  • 集成最新spine高效轮询工具
  • 自动定期备份cacti和syslog数据
  • 优化系统服务

下载地址:

Continue reading »

 Posted by at 上午 3:33
4月 122012
 

cacti-0.8.8终于发布了,修复了很多bug,而且集成了PIA,以后就估计就没有PIA这个说法了。

Release Notes – 0.8.8

Important Notices

Plugin Architecture is now part of Cacti
Changelog

 

  • bug#0002056: un-initialized datetime used for host status (was: Zero length string != NULL)
  • bug#0002081: In Graph Management, search display graph title breaks when using pattern symbol “/”
  • bug#0002132: need to include pa.sql with the 0.8.7i and future releases
  • bug#0002134: rebuild_poller_cache.php –host-id deletes table poller_item completely
  • bug#0002141: cacti.sql missing BTREE PRIMARY KEY for poller_output
  • bug#0002146: Utilities -> View Log File -> refresh does not work
  • bug#0002150: usort_data_query_index() is broken -> graph order for hosts with data query sort option fails
  • bug#0002151: When building HTML forms with sub_checkbox on_change parameter is not used
  • bug#0002152: Issue with filter on graphs_new.php

Continue reading »

 Posted by at 下午 3:02
3月 122012
 

     cacti中syslog插件,是通过rsyslog或syslog-ng与mysql的交互,将日志存放到mysql数据库中,cacti中的syslog插件从mysql中检索查看日志数据。因此,首先要配置一台rsyslog与mysql的日志中心服务器来接收客户机的日志;其次,配置cacti的syslog插件,通过该插件检索与查询mysql中的日志。可以收集来自linux、windows等服务器和交换机路由器的日志。做到集中和分类查看。

说下软件环境
os:centos6.2×86
cacti-0.8.7i-PIA-3.1.tar.gz
syslog-v1.22-2.tgz
settings-v0.71-1.tgz
rsyslog-4.6.2-12.el6.i686
关于cacti的安装我这里就不详细讲了,可以在我的另外二篇文章

Continue reading »

 Posted by at 下午 8:55
9月 172011
 

In order to view this page you need Flash Player 9+ support!


Get Adobe Flash player

 Posted by at 上午 11:55
9月 082011
 
上次我们已经安装好了cacti的基本程序,这次来说一下安装Plugin Architecture。
首先给大家介绍一下Plugin Architecture。
以我理解PluginArchitecture就是cacti的一个插件架构,
安装了它之后才能安装cacti的众多插件,因此,我们想要获得
cacti的更多功能就要安装这个插件。这个插件的版本每个都
和cacti的插件版本是对应的,安装的时候要记得看好版本。
下载Patch安装包,并安装(可以到http://cactiusers.org/中下载cacti 0.8.7f对应的patch文件,
也叫做Plugin Architecture,即插件架构)

Continue reading »

 Posted by at 下午 10:36