<?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>夜行人 &#187; Nagios</title>
	<atom:link href="http://www.187299.com/archives/tag/nagios/feed" rel="self" type="application/rss+xml" />
	<link>http://www.187299.com</link>
	<description>寻觅生命中的那一片浅草......</description>
	<lastBuildDate>Sun, 05 Sep 2010 15:59:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>安装ndoutils找不到mysql.h和errmsg.h</title>
		<link>http://www.187299.com/archives/1391</link>
		<comments>http://www.187299.com/archives/1391#comments</comments>
		<pubDate>Wed, 09 Dec 2009 12:48:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Nagios]]></category>

		<guid isPermaLink="false">http://www.187299.com/?p=1391</guid>
		<description><![CDATA[安装ndoutils-1.4b9时报以下错 # ./configure --enable-mysql --with-mysql=/usr/local/mysql # make cd ./src &#38;&#38; make make[1]: Entering directory `/root/nagiosddd/ndoutils-1.4b9/src' gcc -fPIC -g -O2 -I/usr/local/mysql/include/mysql -DHAVE_CONFI... ]]></description>
			<content:encoded><![CDATA[<p>安装ndoutils-1.4b9时报以下错</p>
<p># ./configure --enable-mysql --with-mysql=/usr/local/mysql<br />
# make<br />
cd ./src &amp;&amp; make<br />
make[1]: Entering directory `/root/nagiosddd/ndoutils-1.4b9/src'<br />
gcc -fPIC -g -O2 -I/usr/local/mysql/include/mysql -DHAVE_CONFIG_H  -c -o io.o io.c<br />
In file included from io.c:11:<br />
../include/config.h:261:25: error: mysql/mysql.h: No such file or directory<br />
../include/config.h:262:26: error: mysql/errmsg.h: No such file or directory<br />
make[1]: *** [io.o] Error 1<br />
make[1]: Leaving directory `/root/nagiosddd/ndoutils-1.4b9/src'<br />
make: *** [all] Error 2</p>
<p>解决方法<br />
# vi include/config.h<br />
将<br />
#include &lt;mysql/mysql.h&gt;<br />
#include &lt;mysql/errmsg.h&gt;<br />
修改为<br />
#include &lt;/usr/local/mysql/include/mysql/mysql.h&gt;<br />
#include &lt;/usr/local/mysql/include/mysql/errmsg.h&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.187299.com/archives/1391/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>nagios 监控出现It appears as though you do not have permission</title>
		<link>http://www.187299.com/archives/1388</link>
		<comments>http://www.187299.com/archives/1388#comments</comments>
		<pubDate>Wed, 09 Dec 2009 09:19:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Nagios]]></category>

		<guid isPermaLink="false">http://www.187299.com/?p=1388</guid>
		<description><![CDATA[It appears as though you do not have permission to view information for any of the hosts you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in you... ]]></description>
			<content:encoded><![CDATA[<p>It appears as though you do not have permission to view information for any of the hosts you requested...</p>
<p>If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI<br />
and check the authorization options in your CGI configuration file.</p>
<p>修改/etc/cgi.cfg<br />
vi    /usr/local/nagios/cgi.cfg</p>
<p>use_authentication=1 #把1修改为0,保存<br />
root@nagios#/etc/init.d/nagios restart</p>
<p>转载自：http://cqfish.blog.51cto.com/622299/150542</p>
]]></content:encoded>
			<wfw:commentRss>http://www.187299.com/archives/1388/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
