【发布时间】:2012-08-28 06:21:22
【问题描述】:
我已经在linux中安装了Nagios监控工具,服务运行正常。
现在根据 NSClient 文档,没有安装 windows 部分。 所需的步骤是:
(a) Copy pNSClient.exe, pdh.dll, psapi.dll and counters.defs in any directory on the machine you want to monitor. ie. (c:\nsclient).
(b) Open a dos prompt in the installation directory
(c) Run the following command : >pNSClient.exe /install
(d) Type 'net start nsclient' on the command line or start the service 'Nagios Agent' in the services applet of the control panel.
安装将在注册表中为服务创建一个条目,并创建一个新密钥来存储参数。创建的密钥如下:
HKEY_LOCAL_MACHINE\SOFTWARE\NSClient
问题在于按照第一步进行安装,并且“net start nsclient”命令未在命令提示符下执行,它显示服务名称无效
对此有任何帮助吗? M 在 Windows 7 上安装它。 仅剩下 NSClient 的 windows 安装部分,但 linux 部分已与“check_nt”插件一起正确安装。
提前致谢!!
【问题讨论】: