Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Community Discussions (All other subjects)
 Monitoring Devices Thru ASP
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

redbrad0
Advanced Member

USA
3725 Posts

Posted - 24 December 2004 :  18:30:59  Show Profile  Visit redbrad0's Homepage  Send redbrad0 an AOL message
I was curious if there is a way thru ASP to monitor your domain name servers, FTP servers, SMTP email servers, POP3 servers, IMAP servers, NNTP news servers, Telnet servers, Web servers? I know there are services for this but was wondering if it would be possible thru ASP.

Brad
Oklahoma City Online Entertainment Guide
Oklahoma Event Tickets

DarkDrift
Junior Member

USA
126 Posts

Posted - 24 December 2004 :  18:34:03  Show Profile  Visit DarkDrift's Homepage  Send DarkDrift an AOL message
Like to see if they are up?

http://www.xcalliber.com - The Future of Boards
Go to Top of Page

redbrad0
Advanced Member

USA
3725 Posts

Posted - 24 December 2004 :  18:35:00  Show Profile  Visit redbrad0's Homepage  Send redbrad0 an AOL message
Yes I want to know if they are up or down

Brad
Oklahoma City Online Entertainment Guide
Oklahoma Event Tickets
Go to Top of Page

DarkDrift
Junior Member

USA
126 Posts

Posted - 24 December 2004 :  18:39:03  Show Profile  Visit DarkDrift's Homepage  Send DarkDrift an AOL message
Let me get the code.1 min

http://www.xcalliber.com - The Future of Boards
Go to Top of Page

DarkDrift
Junior Member

USA
126 Posts

Posted - 24 December 2004 :  19:10:04  Show Profile  Visit DarkDrift's Homepage  Send DarkDrift an AOL message
Alright download this www.jottswebhosting.com/check.zip
NOTE: I got lazy and didn't zip it so it is just a file with a different extension
when you get it just chang ethe .zip to .asp

now create a batch file to do this goto Start>Run and type either command for win 98 or cmd for winNT based platforms

Then type edit and press enter now you can create batch files and user your mouse in msdos..YAY!..

Type

@echo off
echo.
echo "Testing DOMAIN.com port:PORT"
echo.
ping www.DOMAIN.com or you can do ping www.DOMAIN.com:PORT
exit


Then you simple save it somewhere in the C drive as whatever.bat and then in the asp file change my file and path to yours and try that... I got lazy and didn't test it so let me know your outcome... There
may be some way to get input from the user to plug into the prompt but i am scared...

NOTE you may have to refine my bat with examples on the internet i am very rusty

http://www.xcalliber.com - The Future of Boards

Edited by - DarkDrift on 24 December 2004 19:11:12
Go to Top of Page

Da_Stimulator
DEV Team Forum Moderator

USA
3373 Posts

Posted - 25 December 2004 :  11:50:39  Show Profile  Send Da_Stimulator an AOL message  Send Da_Stimulator a Yahoo! Message
you might want to zip that up, downloading an ASCII file type through BINARY mode might disrupt the file (zip extension is binary, asp is ASCII)

-Stim
Go to Top of Page

DarkDrift
Junior Member

USA
126 Posts

Posted - 25 December 2004 :  12:04:21  Show Profile  Visit DarkDrift's Homepage  Send DarkDrift an AOL message
i just changed it like i would change it to a .txt it's fine :)

http://www.xcalliber.com - The Future of Boards
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 25 December 2004 :  23:06:55  Show Profile  Visit Gremlin's Homepage
Link doesn't seem to work for me

Redbrad0 did ask for something in "ASP" rather than a dos batch script. Ping isn't really very useful for testing a server for anything other than knowing that the network stack is still operating, you can't "ping" a specific port either, perhaps you were thinking of telnet ?

To correctly test a server you'd need to connect to the relevant services and check that you get a response etc. ASP could be used for this with a few COM objects but you'd need to schedule the script so that it checks the server often.

If you want a fairly good monitoring solution you'd be best to look into something like ServersCheck, Hybodus or some of the other readily available

Kiwihosting.Net - The Forum Hosting Specialists
Go to Top of Page

redbrad0
Advanced Member

USA
3725 Posts

Posted - 26 December 2004 :  00:02:45  Show Profile  Visit redbrad0's Homepage  Send redbrad0 an AOL message
Thanks for your reply Gremlin. Basically I was creating a small script that will be calling a web page to execute sending out the newsletters. While I was thinking about it I thought it would helpful if I tested different ports to see if SQL is running or the mail is still running.

Brad
Oklahoma City Online Entertainment Guide
Oklahoma Event Tickets
Go to Top of Page

redbrad0
Advanced Member

USA
3725 Posts

Posted - 26 December 2004 :  00:03:55  Show Profile  Visit redbrad0's Homepage  Send redbrad0 an AOL message
Oh yes sorry I did want something in pure ASP and not really in a command prompt. I do not mind purchasing components that would be needed to do this.

Brad
Oklahoma City Online Entertainment Guide
Oklahoma Event Tickets
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 26 December 2004 :  04:21:34  Show Profile  Visit Gremlin's Homepage
If your only wanting to check a few things, the free versin of this might do the trick for you it's not ASP but it's ok for just monitoring say a single server

http://www.paessler.com/products/ipcheck/?link=menu

Kiwihosting.Net - The Forum Hosting Specialists
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.5 seconds. Powered By: Snitz Forums 2000 Version 3.4.07