客戶端配置:
目前創新互聯建站已為1000+的企業提供了網站建設、域名、網頁空間、網站托管、服務器租用、企業網站設計、瀘溪網站維護等服務,公司將堅持客戶導向、應用為本的策略,正道將秉承"和諧、參與、激情"的文化,與客戶和合作伙伴齊心協力一起成長,共同發展。
客戶端下載安裝NSclient
下載地址:http://nsclient.org/nscp/downloads
安裝NSCP-0.4.1.090-Win32 .msi (本人windows系統為32位,如果是64位系統下載64位安裝即可)
安裝完成后運行nscp.exe會自動打開12489端口,用于nagios采集數據
使用netstat -an |more 查看端口是否開啟
安裝完成后如果要修改Nagios alias zrer-windows ; A longer name associated with the host address 192.168.0.9 ; IP address of the host 被監控主機ip } define hostgroup{ hostgroup_name windows-servers ; The name of the hostgroup alias Windows Servers ; Long name of the group } define service{ use generic-service host_name zrer-win service_description NSClient++ Version check_command check_nt!CLIENTVERSION } define service{ use generic-service host_name zrer-win service_description Uptime check_command check_nt!UPTIME } define service{ use generic-service host_name zrer-win service_description CPU Load check_command check_nt!CPULOAD!-l 5,80,90 } define service{ use generic-service host_name zrer-win service_description Memory Usage check_command check_nt!MEMUSE!-w 80 -c 90 } define service{ use generic-service host_name zrer-win service_description C:\ Drive Space check_command check_nt!USEDDISKSPACE!-l c -w 80 -c 90 } define service{ use generic-service host_name zrer-win service_description Explorer check_command check_nt!PROCSTATE!-d SHOWALL -l Explorer.exe } 3. 重啟nagios服務 [root@localhost /]# service nagios restart 打開Nagios web界面查看監控信息
分享題目:Nagios配置監控windows客戶端
本文URL:http://www.yuzhuanjia.cn/article/psdoej.html