Redhat配置nagios中如何配置windows被监控机

发布时间:2021-11-01 17:30:35 作者:柒染
来源:亿速云 阅读:104

这期内容当中小编将会给大家带来有关Redhat配置nagios中如何配置windows被监控机,文章内容丰富且以专业的角度为大家分析和叙述,阅读完这篇文章希望大家可以有所收获。

配置windows被监控机(客户端)

这里讲述的是:Redhat配置nagios。

Windows监控需要在windows安装一个插件nsclient,

下载后解压到c盘

C:\NSClient>nsclient++ /install   Service NSClientpp installed...   l NSClient++.cpp(227) Service installed!

用记事本编辑nsc.ini,去掉注释符号”;”除了CheckWMI.dll和RemoteConfiguration.dll

[modules]   FileLogger.dll   CheckSystem.dll   CheckDisk.dll   NSClientListener.dll   NRPEListener.dll   SysTray.dll   CheckEventLog.dll   CheckHelpers.dll   ;CheckWMI.dll   CheckExternalScripts.dll   NSCAAgent.dll   LUAScript.dll   ;RemoteConfiguration.dll   NRPEClient.dll   CheckTaskSched.dll   [Settings]   allowed_hosts=10.155.2.65/32   [NSClient]   port=12489  C:\NSClient>NSClient++ -start   Starting NSClientpp   C:\NSClient>netstat -an | more   Active Connections   Proto Local Address Foreign Address State   TCP 0.0.0.0:5666 0.0.0.0:0 LISTENING   TCP 0.0.0.0:12489 0.0.0.0:0 LISTENING

服务器

[root@localhost ~]# vi /usr/local/nagios/etc/nagios.cfg   # Definitions for monitoring a Windows machine   cfg_file=/usr/local/nagios/etc/objects/windows.cfg   [root@localhost ~]# vi /usr/local/nagios/etc/objects/windows.cfg

windows.cfg没有什么可改的,只是把hostname和ip改了就行了(图5)

Redhat配置nagios中如何配置windows被监控机

上述就是小编为大家分享的Redhat配置nagios中如何配置windows被监控机了,如果刚好有类似的疑惑,不妨参照上述分析进行理解。如果想知道更多相关知识,欢迎关注亿速云行业资讯频道。

推荐阅读:
  1. nagios监控windows物理内存配置
  2. nagios被监控机安装脚本

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

redhat nagios windows

上一篇:VS 设置调试异常触发怎么办

下一篇:如何实现进行Python测试模块

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》