[LIP] netwoking status monitor project doubt
Bharat Shetty <[email protected]>
| Newsgroups | gmane.user-groups.linux.india.programmers |
|---|---|
| Message-ID | <[email protected]> |
Hi all , we have done some networking project for our 7th semester VTU project. here is the gist 1) ping defined machines we have a ping.c program based on stevens but slightly modified so as to suit our project needs , it is basic and only verbose mode has been provided. - It outputs to screen if run in verbose mode as ./ping -v localhost 32 2 here 32 is packet length and 2 is the number of packets to be sent for ICMP echo reply -we compiled as cc ping.c -o ping 2) portscan and portcheck we scan all ports via portscan.c program that will scan ports specified as argiments from start port to end port. It connects to ports and returns success else error thats all 3) pingme file this has the hostnames or addresses in dot notation that define whom to ping upon . 4) pinger shell script This shell script logs to /var/www/html and file created in pingme.html -executes the programs mentioned above and basically reads args from pingme file for the programs. - the output is logged to html file -execute as ./pinger 5) open in browser we open http://localhost/pingme.html in browser Results is as below Statistics for ping on Mon Dec 13 21:57:51 IST 2004 from machine localhost.localdomain Hostname Reachable? Port 80 Port 21 localhost: yes yes nope Details: done: * ping * portcheck * portscan * script to integrate all components - add html output todo for networking project: * network congestion check * run all periodically * add eye-candy to html output Now this is project specifications we created Implementation of a network status monitor that can perform these steps 1) ping all defined machines in the network from time to time, and alert (by an indicator on a web page or screen) when some machine is down (2) periodically check HTTP and FTP ports of important machines (like your intranet server) to verify that services are running and responding properly (3) can check if there is any networking problem like ping delay or HTTP server responding slow (4) sysadmins can add custom service ports (other than HTTP/FTP) to their checklist (5) your application will then check if those ports are open from time to time 1,2,4,5 are done so far ...for 3rd step we think some network congestion algorithm is needed and implementing it is needed. but simulation of congestion in lan is going to be tough right...any solutions ideas.....;) What more features we can add to this project to make it look l33t and impressive ....please do suggest some ideas. Deadline is approaching so please hurry....thanks again. I am scary can we submit this as VTU project . Will vtu allow this ? will this impress them ....i mean we have done so far is simple....so any features we can add to this to make this look out ???please do suggest ASAP. T I A -- ******************************************** B.Bharat Shetty 7th semester CS&E SJCE , Mysore http://geocities.com/b_bharat_shetty/ ******************************************** ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/