General discussion

Locked

Need help with server monitoring.

By mike.crain ·
I'm starting a "project" that my co-workers seem to like , but has little support from management. We have servers that we monitor (NT , UNIX , and Novell). At this pint there is a 10 year old script set up in UNIX that ping them and sends the HelpDesk an email so we can file a problem report. But I'd like a way to do a Web interface. Nothing fancy , just to have it that as long as the server is up , then one icon is displayed , and it changes after an unsucessful ping. Any Ideas?

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Need help with server monitoring.

by Wayne M. In reply to Need help with server mon ...

Assuming you are using a WindowsNT web server, here is an answer I got to a similar question (thanks again to kirya) I was asking about using Oracle's tnsping, but this will work with a regular ping. You'll still have to do your own parsing of thereturn value to determine success or failure and select the correct image to paint.

Wayne
P.S. I hope line wrapping doesn't mess up the following :-)

From: kirya
Date: 08/03/00 05:32 AM EDT
Status: Accepted
Points: 100

You can use AspExec from http://serverobjects.com/products.htm#free And use page Some_Title.asp with following content:

--- Header ---
<%
Set Executor=Server.CreateObject("ASPExec.Execute")
Executor.Application = "tnsping"
strResult = Executor.ExecuteDosApp Response.Write " tnsping returned : " & strResult
%>
--- Footer ---

Or, may be you can execute .bat-file on your server as CGI program.

Collapse -

Need help with server monitoring.

by Wayne M. In reply to Need help with server mon ...

Let me try again to see if I can't force this thing to format reasonably.

You can use AspExec from http://serverobjects.com/products.htm#free And use page Some_Title.asp with following content:

--- Header ---

<%

Set Executor=Server.CreateObject("ASPExec.Execute")

Executor.Application = "tnsping"

strResult = Executor.ExecuteDosApp Response.Write " tnsping returned : " & strResult

%>

--- Footer ---

Collapse -

Need help with server monitoring.

by mike.crain In reply to Need help with server mon ...

Poster rated this answer

Collapse -

Need help with server monitoring.

by mike.crain In reply to Need help with server mon ...

Sorry I have not commented. Other more important projects have come up and this has been placed on the back burner.

Collapse -

Need help with server monitoring.

by mike.crain In reply to Need help with server mon ...

This question was closed by the author

Back to Web Development Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums