Discussion Locked

Need help with server monitoring.

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
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?

5 replies

by wayne m.

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.

by wayne m.

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 ---

by mike.crain

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

This discussion is closed to new replies.