Site updated: 2022-10-31 22:24:59
This commit is contained in:
12
atom.xml
12
atom.xml
@ -167,6 +167,10 @@ server {
|
||||
<code>4000端口是hexo-admin使用的,如果你不用可以不配置</code></li>
|
||||
<li>环境<br />
|
||||
<img data-src="https://file.jingxiyuan.cn/images/2022/10/22/2022-10-22-11-02-19a0822966d88a012e.jpg" alt="" /></li>
|
||||
<li>登录<br />
|
||||
地址:<span class="exturl" data-url="aHR0cDovL3huLS1JUC1odThkeTcwZTRtNWE6NTcwMA==">http:// 极空间 IP:5700</span><br />
|
||||
默认账号:admin<br />
|
||||
默认密码:admin</li>
|
||||
</ul>
|
||||
<h4 id="配置"><a class="anchor" href="#配置">#</a> 配置</h4>
|
||||
<ul>
|
||||
@ -475,7 +479,7 @@ chmod('/var/www/html/wp-content/tmp', 0777);
|
||||
<link rel="alternate" href="https://blog.jingxiyuan.cn/2022/10/18/%E6%90%AD%E5%BB%BAnagios%E7%9B%91%E6%8E%A7/"/>
|
||||
<content type="html"><h4 id="监控端服务安装与配置"><a class="anchor" href="#监控端服务安装与配置">#</a> 监控端服务安装与配置</h4>
|
||||
<ol>
|
||||
<li>nagios 需要安装主程序和 nrpe(nagios 和各被监控主机都必须安装)。如需使用自研前端可通过安装 ndoutils (用于把 nagios 监控信息写入数据库) 和 mysql 实现。具体安装见<span class="exturl" data-url="aHR0cHM6Ly9zdXBwb3J0Lm5hZ2lvcy5jb20va2Iv">官网</span></li>
|
||||
<li>nagios 需要安装主程序 core 和 nrpe(nagios 和各被监控主机都必须安装)。如需使用自研前端可通过安装 ndoutils (用于把 nagios 监控信息写入数据库) 和 mysql 实现。具体安装见<span class="exturl" data-url="aHR0cHM6Ly9zdXBwb3J0Lm5hZ2lvcy5jb20va2Iv">官网</span></li>
|
||||
<li>nagios 默认监控命令脚本放置在 libexec 中,自定义脚本也放到此处</li>
|
||||
<li>etc/objects/commands.cfg 用于保存 nagios 默认监控命令</li>
|
||||
<li>etc/nrpe.cfg 文件中需要添加用于被监控执行命令项(各被监控主机中都需要添加)<br />
|
||||
@ -706,6 +710,10 @@ INSTALL
|
||||
|
||||
exit 0
|
||||
</code></pre>
|
||||
<h4 id="登录"><a class="anchor" href="#登录">#</a> 登录</h4>
|
||||
<p>地址:<span class="exturl" data-url="aHR0cDovL3huLS1JUC1mcjVjODZseDd6L25hZ2lvcw==">http:// 服务器 IP/nagios</span><br />
|
||||
用户名:nagiosadmin<br />
|
||||
密码:nagiosadmin</p>
|
||||
<h4 id="常见问题"><a class="anchor" href="#常见问题">#</a> 常见问题</h4>
|
||||
<ol>
|
||||
<li>监控日志未写入 mysql(可能是 ndoutils 服务不正常导致)。采用以下脚本命令解决</li>
|
||||
@ -891,8 +899,8 @@ url 后缀必须用红线圈中的部分,key 在 chevereto 登陆后 api 配
|
||||
<category term="Windows" scheme="https://blog.jingxiyuan.cn/categories/Windows/" />
|
||||
<category term="工具" scheme="https://blog.jingxiyuan.cn/categories/Windows/%E5%B7%A5%E5%85%B7/" />
|
||||
<category term="经验分享" scheme="https://blog.jingxiyuan.cn/categories/Windows/%E5%B7%A5%E5%85%B7/%E7%BB%8F%E9%AA%8C%E5%88%86%E4%BA%AB/" />
|
||||
<category term="PicGo" scheme="https://blog.jingxiyuan.cn/tags/PicGo/" />
|
||||
<category term="chevereto" scheme="https://blog.jingxiyuan.cn/tags/chevereto/" />
|
||||
<category term="PicGo" scheme="https://blog.jingxiyuan.cn/tags/PicGo/" />
|
||||
<updated>2022-10-12T06:40:00.000Z</updated>
|
||||
</entry>
|
||||
<entry>
|
||||
|
Reference in New Issue
Block a user