FAN(Fully Automated Nagios)使用问题汇总
[*]FAN是 “Fully Automated Nagios” 的缩写。FAN的包含了由nagios社区提供的所有nagios工具包,同时FAN提供iso镜像,使得nagios安装非常容易。
[*]FAN是基于centos 系统之上的。
[*]
[*]AN是基于centos 系统之上的。
[*]FAN包含以下工具:
[*]Nagios: Core monitoring application(核心监视应用)
[*]Nagios plugins: plugins to monitor servers (监视服务的插件)
[*]Centreon: web frontend for Nagios (Centreon is one of the better tools for that!)(更好的网页界面展示工具)
[*]NagVis: a great tools for configuring maps (不错的图形配置工具)
[*]NDOUtils: Nagios module to store monitoring data in MySQL (将数据存入mysql的Nagios 模块)
[*]NRPE: the check_nrpe plugin (NRPE daemon is not provided) (check_nrpe 插件)
[*]NaReTo (Nagios Reporting Tools): a great tool for getting availabilty report(状态报告配置工具)
[*](一)如何汉化centreon?
[*]
[*]1.创建中文目录
[*]
[*] mkdir -p /usr/share/centreon/www/locale/zh_CN/LC_MESSAGES/
[*]
[*]2.下载message.mo语言包 cd /usr/share/centreon/www/locale/zh_CN/LC_MESSAGES/
wget http://cacti-nagios.googlecode.com/files/messages.mo
[*]3. 执行转换工作,翻译messages.po文件
[*]msgunfmt messages.mo -o /usr/share/centreon/www/locale/zh_CN/LC_MESSAGES/messages.po
msgunfmt命令如果没有,请先下载gettext包
4.重新apache
service httpd restart
5.登录centreon,点击administartors,再点option,进入”my account”,更改语言为zh_CN保存即可。
http://blog.运维网.com/attachment/201209/135140996.png
[*](二)如何汉化nareto?
[*]1.下载汉化包:
[*]进入:https://code.google.com/p/cacti-nagios/downloads/list
[*]下载:nareto-汉化中文包.rar
[*]
[*]2.修改服务器 /var/www/html/nareto/lang/config.php
[*]中的最后一行 define ("_LANG","en")为define ("_LANG","zh") 即可.
[*]
[*]3.替换index.php 和 增加zh.txt 即可
页:
[1]