ngios介绍
https://blog.csdn.net/yangyanjava/article/details/106855251

1、环境安装
https://blog.csdn.net/weixin_34138139/article/details/89899668
https://blog.csdn.net/hiyun9/article/details/51881839

ngios服务端安装

1、配置yum云
nagios 服务端与客户端安装 二
2、配置profile文件
nagios 服务端与客户端安装 二
3、关闭防火墙
nagios 服务端与客户端安装 二
4、配置定时任务和时间同步
nagios 服务端与客户端安装 二
5、安装gcc和lamp,便于web展示
nagios 服务端与客户端安装 二
6、插件

nagios 服务端与客户端安装 二
7、创建用户 用户组,吧nagios和apache放到同一个组中
nagios 服务端与客户端安装 二
7、编译主程序
nagios 服务端与客户端安装 二
cd …/

8、配置web权限
nagios 服务端与客户端安装 二

9、安装ngios插件
nagios 服务端与客户端安装 二
10、安装nrpe
nagios 服务端与客户端安装 二
nagios 服务端与客户端安装 二
11、启动服务以及检测服务
nagios 服务端与客户端安装 二

nagios主进程没有端口
12、网页查看服务
http://ip/nagios

nagios客户端安装

1、nagios客户端无需安装lamp环境、不需要界面
nagios 服务端与客户端安装 二
2、nagios客户端无需安装nagios服务端软件包
nagios 服务端与客户端安装 二
3、nagios客户端需要安装的软件包

nagios 服务端与客户端安装 二
4、客户端gcc mysql可装可不装
nagios 服务端与客户端安装 二

5、安装,配置yum profile,关闭防火墙,时间同步与服务端一样
6、添加nagios用户
nagios 服务端与客户端安装 二
7、安装nagios插件,与服务端有微小的差别
nagios 服务端与客户端安装 二
8、安装nrpe
nagios 服务端与客户端安装 二
9、安装插件iostat需要
nagios 服务端与客户端安装 二
nagios 服务端与客户端安装 二
nagios 服务端与客户端安装 二
10、修改配置文件,修改之前记得备份路径/usr/local/nagios/etc/nrpe.cfg
提交允许的ip,在文件的79行
nagios 服务端与客户端安装 二nagios 服务端与客户端安装 二
12、使用命令告诉nrpe如何调用插件
nagios 服务端与客户端安装 二
13、启动客户端
nagios 服务端与客户端安装 二

-----------------------流程和图片来自老男孩视频

相关文章: