Sunday

INTRODUCTION

Rationale:- The network has become of great importance in every field. We must ensure network performance and security, prevent network problems, conduct effective troubleshooting and take actions quickly to solve possible problems.
In today’s world as many websites are hosted by the companies/industries/organizations. So, these companies are responsible for any type of error found during hosting of particular websites. To detect the corresponding errors we need WEBSITE MONITORING. Corresponding types of errors are described later in the report.
The fundamental purpose or rationale to make this project is to make cumbersome task of website hoster or organization to monitor each and every website easily.



Problem Domain:-
• As Corporate and Business engage the web more and more heavily, the need to ensure a website is up at all time becomes more critical and it results in website up time performance degradation and availability.
• A Website, which falls to deliver its content either in a timely manner or at all, causes visitors to quickly lose interest, wasting the time and money invested in Website development.
• It’s very tedious for a website host to check manually each and every website he/she is hosting.
• Further, the process of checking is to be repeated again after certain interval.
• Calculating the number of Website that are working & not-Working is quiet difficult if total is very high. Further reporting error to clients or contacting client whose website is not working make the process even intricate.
• Client must be keen to know how often this error comes. He may want logs satisfying his needs.
• Calculating traffic/load on each hosted website is quiet difficult.



Solution Domain:-
By getting knowledge from this process of monitoring we create a perspective that if we implement this process of monitoring into desktop tools which can be apply to a server computer in an organization to monitor several websites hosted.
This tool helps server to regular check corresponding list websites to overcome time consumption problem. This tool monitors the uptime, downtime, port, website status (active or not), if not active than what type of error occurred. Then the server will take severe actions to overcome these errors and become aware of lost business.



Solution:-
• To overcome the problem, a technique can be used that monitor websites performance. WebMon (a tool) is used to avoid, minimized downtime, and keep the server running.
• Web Mon checks number of websites in a particular interval of time and find out the status of websites, as they are active or not. If not, it gives kind of error and displays the time and date.
• For the companies with internal hosting capability or with number of servers hosted in a data center somewhere, then WebMon strategy is a good tool.
• It checks list of websites stored in a text file and will directly access this file and will ping each URL in the list.
 • As this is desktop tool it's light & fast application as compared to websites that provide this service.



Features of the System:-
• Monitor Any Web Application with Ease.
• Monitor from an Authentic End User Perspective.
• WebMon is not just about web pages it gives you information of problems related to SMTP, DNS, FTP, HTTP..etc.
• Alerts are provided after a particular time in system tray and for further error e-mail is sent to the webmaster about the error.
• 24x7 remote monitoring.
• Purpose-specific monitoring services.
• Detects the type of error

Thursday

Working details

The below given diagrams are the snapshots of the original project explaining working of tool.

As the tool starts it asks user to enter the authentication information to use this tool further. If user enter correct credentials he/she is permitted to access on further. Otherwise tools asks the user to enter the information again. On keeping mouse on particular button help message opens up describing why this component is used is tool.




If the user provide correct authentication, then user is permitted to access the tool. The next window asks the user to enter his/her YAHOO username & password.This YAHOO username & password will be used to send e-mails. This username & password is stored behind in encrypted format so that it may used later as and when required. If username & password entered is wrong then on latter stage when e-mails will be send to the Client, user will be prompted with pop-up asking for corrct authentication information for his/her yahoo id. As this details persists in encrypted format on users system only therefore chances of its misuse are minimum.




After entering YAHOO username & password the below window appears, which can be called as the main working window of the tool. This window shows various options for opening a file, setting the time period in which mails should be send, setting time in which process should repeat itself, options for starting/stopping the process, taking printout, sending mails to clients. The table shown on this window displays monitoring information & Monitoring Type button can be expanded to view the protocols which are supported by the tool. Logs are generated automatically but user can anytime save the status into any explicit file.




Below snapshot displays the file that is provided as input to the tool. This file is normal text file. The information written in the file is structured in the format such that each row consist of protocol name, then URL or server name, email id(the mail will be send to this email-id if error is found during monitoring).
Protocol name, URL, email-id is separated by tab ("\t") character. In such a way a list of url's can be provided at once to the tool. If a new url needs to be added to monitoring process just add its entry to text file & provide the text file as input to tool. To stop monitoring a particular url one can remove its entry from text file & provide the updated text file to the tool.




To provide input file to the tool, click on open button or click on file menu then click open, clicking Open button will open a window,give the above file as an input to the tool & click on open button or click cancel to cancel the process.




Time in which mails should be send can also be specified by default email's send after the process of monitoring each url in the list is over i.e. e-mails will be send automatically to all those whose url's have error's once every cycle. Since its very short interval a larger limit can be provided like 60 minutes.So, e-mail's will be send after 60 minutes the process has started and email's will be send to only those whose url's have error as checked on 60th minute that is If a URL had error but it again started working properly it's e-mail will not be send because the error does not exist. In such a case Website host can record the message or save the logs of that instance & send it explicitly by clicking on mail icon.




Click on start monitoring button to start the process. As this icon button is clicked table is populated with the status of each url & time. This table data is recorded back side in log file for future use. The table refreshes itself after the entire list of url's is checked that is, the whole process is repeated continuously for entire list that is provided as input So, status gets refreshed time-to-time. The process can be stopped by clicking on the stop icon button or data in the table can be taken as print-out.
The e-mails are send to all those id's whose url's are found to have error. The email's are send based on time-interval provided above. The user's YAHOO username & password is used to send email's automatically.




The monitoring type icon when expanded shows tree including various protocols name, HTTP, SMTP, FTP, POP3. User can click on this elements (Protocols icon) of tree & a separate window will appear showing details specific to the clicked protocol only as shown below,




User can click items in menubar & can further click on provided options to see working & not-working url's in separate window.
When the tool starts it's icon comes in system tray as shown in snapshot. A pop-up appears from this icon detailing number of working, not-working & total number of websites.
User can minimize the tool to system tray, so that process runs in background without stopping & pop-up's appear from the icon timely to identify status to the user. User can click the icon in system tray to maximize the window again. Instead of minimizing the tool to system tray user can even minimize it to toolbar.




Apart from automatic mail sending feature of tool, Tool is encorporated with the functionality to send emails explicitly as shown below,




User can monitor the load/traffic on the server. Tool provides functionality to view the bar graph and line graph for a specific server(url). User can right click on the table & view the graph.
The graph's are plotted between Round trip time (RTT) & time period. This charts are continuous charts i.e. the value of RTT is calculated repeatedly after particular time interval & is plotted or shown in form a graphs.
As RTT will depend upon the traffic i.e, if a large number of hits are been made to the server then value of RTT will be greater as server will take time to respond to the ping or request been sent.




User can minimize the tool to the system tray & process will be executed continuously & this will lessen the burden from the user to monitor each url repeatedly & report it.
User can anytime stop the process by exiting the tool.

Sunday

The below diagrams will help you understand the process more better.
Activity diagram

Class diagram

Sequence diagram

Use Case diagram

Collaboration diagram

Data Flow diagram(Level 0)

Data Flow diagram(Level 1)

Data Flow diagram(Level 2)




Please contact for any details -
www.aquaifer.com