We're a community of 1076K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,075,590 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

Perl to resolve server status, up or down

This forum has been always a great help for me.
I have a problem also this time and hope you can help me wth a solution.

I have a few servers (svn, sql..) running remotely in various windows servers and sometimes it goes beyond notice that a particulr server stopped and I relasied that after many hours or even days.

Can you please suggest me a script that would check the status of the servers and if down, would restart? and send me a notification by email, specifying the time when a server went down?

If you please give me some hints then I could try to make a script myself or if you know something is already there then I would be glad if you share, I know this could be a commong problem for many and as well solution may exist.

Waiting for your expert opinion/responses.

Thanks
And Happy Holidays!

2
Contributors
1
Reply
1 Week
Discussion Span
4 Months Ago
Last Updated
5
Views
boshu
Junior Poster in Training
51 posts since Jan 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

Since noone has replied this, I will just put some notes on.

Here is an example to deal with checking server status. And here is one of many samples for sending email.

Taywin
Posting Maven
2,633 posts since Apr 2010
Reputation Points: 275
Solved Threads: 375
Skill Endorsements: 17

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page rendered in 0.0628 seconds using 2.65MB