简体   繁体   English

监视服务器,进程,服务,任务调度程序状态

[英]Monitor server, process, services, Task scheduler status

I am wondering if there is a way to monitor these automatically. 我想知道是否有办法自动监控这些。 Right now, in our production/QA/Dev environments - we have bunch of services running that are critical to the application. 现在,在我们的生产/ QA / Dev环境中 - 我们运行了大量对应用程序至关重要的服务。 We also have automatic ETLs running on windows task scheduler at a set time of the day. 我们还在一天的设定时间在Windows任务调度程序上运行自动ETL。 Currently, I have to log into each server and see if all the services are running fine or not, or check event logs for any errors, or check task scheduler to see if ETLs ran well etc etc... I have to do all the manually... I am wondering if there is a tool out there that will do the monitoring for me and send emails only in case something needs attention (like ETLs fail to run, or service get stopped for whatever reason or errors in event log etc). 目前,我必须登录每个服务器并查看所有服务是否正常运行,或检查事件日志是否有任何错误,或检查任务调度程序以查看ETL是否运行良好等等...我必须完成所有操作手动...我想知道是否有一个工具将对我进行监控并发送电子邮件,以防万一需要注意(如ETL无法运行,或服务因任何原因停止或事件日志中的错误等)。 Thanks for the help. 谢谢您的帮助。

Paessler PRTG Network Monitor can do all that. Paessler PRTG网络监视器可以做到这一切。 we have very good experience with it. 我们有很好的经验。

http://www.paessler.com/prtg/features http://www.paessler.com/prtg/features

Nagios is the best tool for monitoring. Nagios是最好的监控工具。 It checks for the server status as well the defined services in it and if any service goes down or system goes down, sends the mail to specified mail id. 它会检查服务器状态以及其中定义的服务,如果任何服务出现故障或系统出现故障,请将邮件发送到指定的邮件ID。

Refer the : http://nagios.org/ 请参阅: http//nagios.org/

Thanks for the above information. 感谢您提供以上信息。 I looked at the above options but they have a price.. what I did is an inexpensive way to address my concerns.. 我看了上面的选项,但他们有一个价格..我所做的是一种廉价的方式来解决我的担忧..

For my windows task scheduler jobs that run every night - I installed this tool/service from codeplex that is working great. 对于我每晚运行的Windows任务调度程序作业 - 我从codeplex安装了这个工具/服务,工作得很好。

http://motash.codeplex.com/documentation#CommentsAnchor http://motash.codeplex.com/documentation#CommentsAnchor

For Windows services - I am just setting the "Recovery" Tab in each service "property" with actions to do when it fails. 对于Windows服务 - 我只是在每个服务“属性”中设置“恢复”选项卡,并在失败时执行操作。 (like restart, reboot, or run a program which could be an email that will notify) (比如重新启动,重新启动或运行可能会通知的电子邮件的程序)

I built a simple tool ( https://cronitor.io ) for monitoring periodic/scheduled tasks. 我构建了一个简单的工具( https://cronitor.io )来监控周期性/计划任务。 The name is a play on "cron" from the unix world, but it is system/task agnostic. 这个名字是来自unix世界的“cron”剧,但它与系统/任务无关。 All you have to do is make an http request to a unique tracking URL whenever your job runs. 您所要做的就是在作业运行时向唯一的跟踪URL发出http请求。 If your job doesn't check-in according to the rules you define then it will send you an email/sms message. 如果您的工作没有按照您定义的规则办理登机手续,那么它会向您发送电子邮件/短信。

It also allows you to track the duration of your jobs by making calls at the beginning and end of your task. 它还允许您通过在任务的开始和结束时进行呼叫来跟踪作业的持续时间。 This can be really useful for long running jobs since you can be alerted if they start taking too long to run. 这对于长时间运行的作业非常有用,因为如果它们开始运行太长时间就可以收到警报。 For example, I once had a backup task that was scheduled every hour. 例如,我曾经有一个每小时安排一次的备份任务。 About six months after I set it up it started taking longer than an hour to run! 我设置它大约六个月后开始运行超过一个小时!

There is https://eyewitness.io - which is for monitoring server cron tasks, queues and websites. https://eyewitness.io - 用于监控服务器cron任务,队列和网站。 It makes sure each of your cron jobs run when they are supposed to, and alerts you if they failed to be run. 它确保每个cron作业在应该运行时运行,并在它们无法运行时发出警报。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM