The WNSRTool has been designed to monitor a list of IP addresses. Running as an NT / win 2K service it periodically pings a list of IP addresses, and writes to a output HTML file the link status (UP / DOWN and if UP the quality of the link). It also calculates and writes the RTT (Round Trip Time) of that link. If the link is up the name of the link on the HTML file is made a link to the said IP address.
The service also write a log file recording the link status and RTT. A PERL script analyses the file to give a summary of the link quality and RTT. ( A log file analyser is under development)
View of the HTML file:
View of logfile
03/01/02,22:21:57,local,127.0.0.1,4,0 03/01/02,22:21:57,amazon.com,156.1.1.1,4,0 03/01/02,22:21:57,accounts_dept,192.1.33.10,0,- 03/01/02,22:26:57,local,127.0.0.1,4,0 03/01/02,22:26:57,amazon.com,156.1.1.1,4,0 03/01/02,22:26:57,accounts_dept,192.1.33.10,0,- 03/01/02,22:31:57,local,127.0.0.1,4,0 03/01/02,22:31:57,amazon.com,156.1.1.1,4,0 03/01/02,22:32:17,accounts_dept,192.1.33.10,0,- 03/01/02,22:37:17,local,127.0.0.1,4,0 03/01/02,22:37:17,amazon.com,156.1.1.1,4,0 03/01/02,22:37:38,accounts_dept,192.1.33.10,0,- 03/01/02,22:42:38,local,127.0.0.1,4,0 03/01/02,22:42:38,amazon.com,156.1.1.1,4,0 03/01/02,22:42:59,accounts_dept,192.1.33.10,0,- 03/01/02,22:47:59,local,127.0.0.1,4,0 03/01/02,22:47:59,amazon.com,156.1.1.1,4,0 03/01/02,22:48:19,accounts_dept,192.1.33.10,0,- 03/01/02,22:53:19,local,127.0.0.1,4,0 03/01/02,22:53:19,amazon.com,156.1.1.1,4,0 03/01/02,22:53:40,accounts_dept,192.1.33.10,0,- |
View of Pie Graph
View of Link Quality Graph
View of RTT Graph
The WNRTool Project consists of the following modules :-
The service should be up and running now.Verify this by looking at contents of the wnrtool directory. An HTML file by the name of netstat.htm and a log file of the current date should appear there. Open the HTML file to view its contents (alternately the HTML file could be linked to ur Web Server as part of a Web Directory to make the Network Status appear as part of the Web Site, i have been doing this as part of my office website for over an year now)
If the service doesn't start or the above two file don't appear in the wnrtool directory.
Developed by : Sundeep
Goel
(click this link to view details or send mail)