当前位置: 首页 >> Linux >> 【监控】Explorer.exe : not running,nagios 监测 windows 的进程 >> 正文

【监控】Explorer.exe : not running,nagios 监测 windows 的进程

6年前 (2018-06-29)     作者:Jiaozn     分类:Linux     阅读次数:3936     评论(0)    

nagios 监测 windows Explorer.exe进程

nagios 监测 windows Explorer.exe进程,我的windows服务器,已经登录到图形界面了,但nagios却显示 "Explorer.exe : not running"

测试命令:

/usr/local/nagios/libexec/check_nt -H 192.168.0.30 -p 12489 -s 123456 -v PROCSTATE -l explorer.exe

11.png

配置文件windows.cfg:

define service{

        use                     generic-service

        host_name               winserver

        service_description     Explorer

        check_command           check_nt!PROCSTATE!-d SHOWALL -l explorer.exe

        }


============

问题出在explorer.exe的开头字母是否大写了,Linux大小写是区分的。

22.png


注意:监控Windows进程的时候一定要注意进程名字的大小写!

除非注明,发表在“Jiaozn的博客”的文章『【监控】Explorer.exe : not running,nagios 监测 windows 的进程』版权归Jiaozn所有。 转载请注明出处为“本文转载于『Jiaozn的博客』原地址https://www.jiaozn.com/reed/356.html
0

评论

发表评论   

昵称*

E-mail*(建议输入,以便收到博主回复的提示邮件)

网站

分享:

支付宝

微信