<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Chifeng's Blog &#187; nagios</title>
	<atom:link href="http://blog.chifeng.name/tag/nagios/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.chifeng.name</link>
	<description></description>
	<lastBuildDate>Wed, 08 Sep 2010 08:32:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>nagvis安装过程</title>
		<link>http://blog.chifeng.name/2010/07/nagvis%e5%ae%89%e8%a3%85%e8%bf%87%e7%a8%8b/</link>
		<comments>http://blog.chifeng.name/2010/07/nagvis%e5%ae%89%e8%a3%85%e8%bf%87%e7%a8%8b/#comments</comments>
		<pubDate>Thu, 29 Jul 2010 09:48:35 +0000</pubDate>
		<dc:creator>chifeng</dc:creator>
				<category><![CDATA[SystemMaintenance]]></category>
		<category><![CDATA[nagios]]></category>
		<category><![CDATA[nagvis]]></category>

		<guid isPermaLink="false">http://blog.chifeng.name/?p=387</guid>
		<description><![CDATA[整个过程相当郁闷，主要是卡在不明白ndomod是干嘛用的了。从3点折腾到现在。。。 整个工作原理是，在nagios中加载ndomod模块，然后ndomod读取nagios的状态信息，写入到一个socket，ndo2db再读取这个socket，把数据写入到mysql里面。然后nagvis来读取数据库中的内容，生成相应的图片标志，等等等。。。 记录一下几个需要注意的点： 1，nagvis安装很简单，用install.sh就ok了，不需要自己 一步一步装，安装时候，由于我的nagios和ndoutils都是通过rpm包装的，因此需要指定一下路径，否则找不到这两个命令，用如下命令就ok了。 #./install.sh -m /usr/sbin/ndo2db -B /usr/sbin/nagios 2，ndomod.o加载不了，我也用yum安装的ndoutils不行，缺少ndomod-3x.o文件，带的那个ndomod.o加载不到nagios中去，这点只好去编译源代码了。下载ndoutils #wget http://prdownloads.sourceforge.net/sourceforge/nagios/ndoutils-1.4b9.tar.gz 编译的时候加上&#8211;enable-mysql，然后拷贝ndomod-3x.o到一个目录。 3，一定不要忘记在nagios配置文件中加入下面这一行 broker_module=/usr/local/nagvis/lib/ndomod-3x.o config_file=/etc/nagios/ndomod.cfg 重启nagios，就ok了。]]></description>
			<content:encoded><![CDATA[<p>整个过程相当郁闷，主要是卡在不明白ndomod是干嘛用的了。从3点折腾到现在。。。</p>
<p>整个工作原理是，在nagios中加载ndomod模块，然后ndomod读取nagios的状态信息，写入到一个socket，ndo2db再读取这个socket，把数据写入到mysql里面。然后nagvis来读取数据库中的内容，生成相应的图片标志，等等等。。。</p>
<p>记录一下几个需要注意的点：<br />
1，nagvis安装很简单，用install.sh就ok了，不需要自己 一步一步装，安装时候，由于我的nagios和ndoutils都是通过rpm包装的，因此需要指定一下路径，否则找不到这两个命令，用如下命令就ok了。<br />
#./install.sh -m /usr/sbin/ndo2db -B /usr/sbin/nagios</p>
<p>2，ndomod.o加载不了，我也用yum安装的ndoutils不行，缺少ndomod-3x.o文件，带的那个ndomod.o加载不到nagios中去，这点只好去编译源代码了。下载ndoutils<br />
#wget http://prdownloads.sourceforge.net/sourceforge/nagios/ndoutils-1.4b9.tar.gz<br />
编译的时候加上&#8211;enable-mysql，然后拷贝ndomod-3x.o到一个目录。</p>
<p>3，一定不要忘记在nagios配置文件中加入下面这一行<br />
broker_module=/usr/local/nagvis/lib/ndomod-3x.o config_file=/etc/nagios/ndomod.cfg<br />
重启nagios，就ok了。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chifeng.name/2010/07/nagvis%e5%ae%89%e8%a3%85%e8%bf%87%e7%a8%8b/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nagios的web管理插件</title>
		<link>http://blog.chifeng.name/2010/06/nagios%e7%9a%84web%e7%ae%a1%e7%90%86%e6%8f%92%e4%bb%b6/</link>
		<comments>http://blog.chifeng.name/2010/06/nagios%e7%9a%84web%e7%ae%a1%e7%90%86%e6%8f%92%e4%bb%b6/#comments</comments>
		<pubDate>Sun, 13 Jun 2010 13:25:09 +0000</pubDate>
		<dc:creator>chifeng</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[lilac]]></category>
		<category><![CDATA[nagios]]></category>
		<category><![CDATA[nagiosql]]></category>
		<category><![CDATA[nconf]]></category>

		<guid isPermaLink="false">http://blog.chifeng.name/?p=371</guid>
		<description><![CDATA[nagiosql 看似不错,更新频繁,有中文界面,界面比较友好.值得一试. nconf 也很不错,支持查看服务之间的依赖关系,颇是先进. lilac 貌似也不错,目前看来这三个都值得一试,但是具体用那个呢.还是一个一个来试吧,试完了,写个推荐.呵呵.]]></description>
			<content:encoded><![CDATA[<p>nagiosql</p>
<p>看似不错,更新频繁,有中文界面,界面比较友好.值得一试.</p>
<p>nconf</p>
<p>也很不错,支持查看服务之间的依赖关系,颇是先进.</p>
<p>lilac</p>
<p>貌似也不错,目前看来这三个都值得一试,但是具体用那个呢.还是一个一个来试吧,试完了,写个推荐.呵呵.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chifeng.name/2010/06/nagios%e7%9a%84web%e7%ae%a1%e7%90%86%e6%8f%92%e4%bb%b6/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

