INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Monitor Server Status

Monitor Server Status

(OP)
I have been looking on the web for some examples but haven't found anything to my liking. What I would like to build is a combination of CGI and perl. Basically, what I need it to do is just run a ping using cron. Then report back via a webpage if a server is up or down. As an addition to this, I was thinking of maybe trying to put in some historical items such as "server was up x and down y"

Has anyone done something like this?? If so could you share your experience or for that matter just some ideas on the best way that you all may feel this should be handled.

Thanks
info

RE: Monitor Server Status

not sure what kind of systems environment you work in, but our sysadmin uses a product called webmin which seems like it covers the entire spectrum of which you have just started to scratch the surface off.

see here http://www.webmin.com/index.html

Code what you mean,
and mean what you code!
But by all means post your code!

Razalas

RE: Monitor Server Status

I just don't find using php for the server side of things very useful.  It's great for the web front end to my code, but I do all of my data gather/processing, etc in perl write it to a db.

http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html if you want to know what's popular and what isn't :D

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
noevil
Travis - Those who say it cannot be done are usually interrupted by someone else doing it; Give the wrong symptoms, get the wrong solutions;

RE: Monitor Server Status

Perl and CGI will do it, just fine and very competently.  I'd do it as two applications.  One would be command line driven and called by the cron job.  It would simple write its results to a file or DB.  The second would simply be a web 'view' of the data that has been written by the first app.

The web view app could be CGI or javascript or PHP or whatever.  You would just need some language that can read the data and render and web page.

'hope this helps

If you are new to Tek-Tips, please use descriptive titles, check the FAQs, and beware the evil typo.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close