Home

View/Open

image

Contents

1. Class Authentication class php session start dbcon 7 new DataBase auth new Authentication true auth gt checkAccess 11 dbcon module id 9 errorList array hasErrors false 2 gt lt DOCTYPE html PUBLIC W3C DTD XHTML 1 0 Transitional EN http www w3 org TR xhtml 1 DTD xhtml 1 transitional dtd gt html xmIns http www w3 org 1999 xhtml gt lt head gt lt meta http equiv Content Type content text html charset utf 8 gt lt title gt Branch Report lt title gt lt link stylesh et StyleSti tS Main css t xt css gt rel aistylesheet href StyleSheets AlertBox css type text css gt lt link rel stylesheet href StyleSheets TableStyle css type text css gt link r l stylesheet href StyleSheets DropShadow css type text css gt lt script src JavaScript Environment js type text javascript language JavaScript gt lt script gt lt script src JavaScript Controls js type text javascript language JavaScript gt lt script gt lt script src JavaScript Main js type text javascript language JavaScript gt lt script gt lt script src JavaScript Ajax js type text javascript language JavaScript gt lt script gt lt script src js Branch Report js type text javascript language JavaScript gt lt script gt lt head gt lt body gt 61 lt php require_once
2. ADMINISTRATION Name Wan1 IP Wan2 Input Data Rate Data Transfer Rate Output Data Rate LAN Data Rate Figure A 9 Traffic Monitoring Figure 410 General User Management Menu Bett User thea paseda 0190 display on the screen L aC AK Wi Most Visited fe Getting Started Latest Headlines NETWORK MONITORING SYSTEM admin Loaoff RUNE EDIT USER MNETWORK DETAILS USER CONFIGURATIONS FULL NAME ADMIN DESCRIPTION ADMIN v ACCOUNT STATUS Edit User Figure 10 User Management 50 Figure 11 User ID creation If user selects Edit user privileges in figure A EDIT USER PRIVILEGES Mozilla Firefox Edt yew Bookmarks Tools gt ay http localhost NM5 Administr ation EditPrivileges Ge Most Visited Getting Started Latest Headlines EDIT USER PRIVILEGES NETWORK MONITORING SYSTEM NETWORK DETAILS USER CONFIGURATIONS D 0 Ulwerwork DETAILS o Network Device Branch Report o Transfer Rate overall Monitoring 0 CONFIGURATIONS o Add Device Branches ADMINISTRATION o 21444 User Crate User s CEdit Privileges A ta Edit user privtieges noy 3d 11 will display on the screen admin Logoff EDIT PRIVILEGES SELECT OFFIC ADMIN Submit Appendix Graphical output of Traffic From 09 Jun 6 0
3. top 20px gt input type button class button name cbtr id cbtr value Critical Branch Traffic Report onclick load Values document getElementByld brnch_name value this style width 250px font weight bolder background image none border 1px solid 900 gt lt td gt td align center gt Wanl IP lt td gt lt td align center gt lt td gt lt td align center gt lt input type text class textbox id Wanl_IP disabled disabled gt lt td gt lt tr gt lt tr gt S Wah Pads td align gt center gt lt td gt vey lt td align center gt lt input type text class textbox id Wan2 IP disabled disabled gt lt td gt lt tr gt lt tr gt lt td colspan 6 gt lt table width 800 border 0 cellspacing 0 cellpadding 0 gt lt tr gt td style padding top 1 0px gt lt table width 800 border 0 cellspacing 0 cellpadding 0 gt lt tr gt lt td width 200 align center gt lt input type button class button name btn1 id btn1 value Branch Traffic Report onclick loadValues document getElementByld brnch_name value this style width 190px font weight normal background image none border 1px solid 63 900 disabled disabled gt lt td gt lt td width 200 align center gt lt input type button class button name btn2 id btn2 value Branch History Report onclick load Values document getEl
4. case Description Enter Invalid Branch code Enter Blank Enter valid code existing Branch Expected output Invalid Branch message prompt for the Network device status again Invalid Branch message prompt for the Network device status again Display the Network Device Status for given Branch System created output Invalid Branch message prompt for the Network device status again Invalid Branch message prompt for the Network device status again Display the Network Device Status for given Branch Table D 4 Test cases for Network Device Status Test cases for Configuration Management Description Enter Invalid Par 7 Expected output Invalid Branch message prompt for the configuration management again System created output Invalid Branch message prompt for the configuration management again Enter Blank Enter valid existing Branch code Invalid Branch message prompt for the configuration management again Display the existing Maximum values for given Branch Invalid Branch message prompt for the configuration management again Display the existing Maximum values for given Branch Table D 5 Test cases for Configuration Management 83 Succes
5. div class container form name frm action lt php echo SERVER PHP SELF gt method post gt lt input type hidden name redirect value lt php echo redirect gt gt lt input type hidden value ds gt lt table align center width 100 class table stylel border 0 cellspacing 0 gt lt thead gt lt tr gt lt td colspan 5 gt User Login lt td gt lt tr gt lt thead gt lt tbody gt lt tr gt lt td align center valign top rowspan 2 gt amp nbsp lt td gt 59 name username value lt php echo Username 2 gt gt lt td gt lt tr gt lt tr gt lt td align left gt lt strong gt Password lt strong gt lt td gt lt td align center gt lt strong gt lt strong gt lt td gt lt td align center gt lt input type password class textbox name password maxlength 16 gt lt td gt lt tr gt lt tbody gt lt tfoot gt lt tr gt lt td colspan 5 align right gt lt input type button onclick submitForm this class button value Login gt lt input type button onclick resetForm this class button value Reset gt lt td gt lt tr gt lt tfoot gt lt table gt lt form gt lt div gt lt div gt lt div gt div3 lt div gt lt php require once Data TemplateBottom php gt lt body gt lt html gt 60 require once Class DataBase class php require once
6. http www w3 org 1999 xhtml gt lt head gt meta http equiv Content Type content text html charset utf 8 gt Stitle gt Networkdvionitoring System NMS Sititlex lt lihKrel stylesheet href StyleSheets Main css type text css gt inkeref styleshieet Styl Sheets A lertBox css type text css gt lt script src JavaScript Environment js type text javascript language JavaScript gt lt script gt lt script src JavaScript Controls js type text javascript language JavaScript gt lt script gt lt script src JavaScript Main js type text javascript language JavaScript gt lt script gt lt head gt lt body gt lt php require_once Data TemplateTop php 2 gt lt img src Images UI home png align middle gt lt php require_once Data TemplateBottom php 2 gt lt body gt lt html gt 55 Login Page Pseudo Code amp Relate Coding User logon to the system If User name incorrect Display Error message else Go to menu lt php require_once Class DataBase class php require once Class Authentication class php session start dbcon new DataBase auth new Authentication false module id 1 Stedircct isset RBOUEST redirect 2 REQUESTUredirect index php errorList array if isset _POST op Username trim POST username Password trim POST password try 56 s
7. ADMINISTRATION s amp D Figure A 1 NMS Main page Then user will get the figure A 2 u COGIN 5 USERNAME PASSWORD SUBMIT Figure A 2 User Login page Figure A 3 NMS Main Menu Then click on Data Link Monitoring user can monitor the Data links status from following page in figure A 3 45 OVERRALL MONITORING Mozilla Firefox History Bookmarks Tools i al A Most visited Getting Started gt OVERRALL MONITORING LJ http Mocalhost NMS Network overrall_monitering php Latest Headlines NETWORK MONITORING SYSTEM HOME m CONFIGURATIONS B ADMINISTRATION Figure A 3 NMS Main Menu Un 211 C li 4 V Selecti leranch then page in figure A 4 will display with service providers 1 Data L sti iatus hranch wise Z Microphone Bi OVERRALL MONITORING BRANCH PRIMARY LINK SECONDARY LINK Sri Lanka page ON Sertatiol 46 2 NETWORK DEVICES Mozilla Firefox View History Bookmarks Tools ww http focalhost NMS Network Neywork_Device ohp Al Most Visted Getting Started gt Latest Headlines 1 NETWORK DEVICES NETWORK MONITORING SYSTEM admin Logoff HOME Branch Code SELECT Name CONFIGURATIONS B ADMINISTRATION Wan1 Wan 2 SLT DSU Item S
8. form Test Case Input Data Expected Result Output Result e Enter Invalid A250 Invalid Branch code Invalid Branch code message display message display Enter Blank Invalid Branch code Invalid Branch code message display message display Enter non existing 6785 Invalid Branch code Invalid Branch code Branch code message display message display Enter valid Display the Network Display the Network Branch code Device Status given Device Status given branch branch Table D 10 Network Device Status form 86
9. 0 PM to10 Jun 6 00 0 qo l l l x pod 50 000 4 DA red N ICT Pod NA 400004 E A 1 l3 30 0001 2 Pee Ped d 4 i doi 20 000 1 5 Bergen edere athens ee TEE EE GE ede eae 0 Eth re dd ge Irc ML e e o E 5 E 2 a a a a 8 8 t 8 a 8 8 8 8 9 EH SerialO Rx Traffic Min 347 0 63142 0 Avg 1617 46 95thPercentile Avg 560 15 Figure B 1 Traffic Union Place branch SLT WAN Rx Traffic Union Place branch From Hi 12 00 AM to11 Jun 10 50 AM 40 000 30 000 20 000 10 000 1 Rx Traffic Min 673 0 63039 0 Avg 4710 98 95thPercentile Avg 1906 38 Figure B 2 WAN I Rx Traffic 52 From 11 Jun 12 00 AM 1011 Jun 10 52 7 000 8 000 5 000 4 000 3 000 200014 ie 4 1 000 uh E FastEthernetO Rx Traffic Min 699 0 Max 7433 0 Avg 1354 35 O5thPercentile Avg 1161 28 From 11 Jun 12 00 to11 Jun 10 52 Figure 3 Fast Ethernet Rx Traffic Fast Ethernet Rx Traffic Union Place branch From 07 Jun 12 00 AM to07 Jun 8 52 60 50 30 20 10 E FastEthernetO Rx Tra Kbps Min 0 12 Max 8 68 Avg 0 91 95thPercentile Avg 0 72 W Se
10. 66600 style7 color 990000 styles color 4006600 font weight bold stylell color 003399 f nt weightiibold Beete italic font size 12px Style13 color 990033 font weight bold gt lt style gt lt head gt lt body gt lt PHP require conn php gt lt h2 gt amp nbsp lt h2 gt lt p gt amp nbsp lt p gt lt table width 872 height 260 border 0 align center bordercolor FFFFFF bgcolor FFFFFF gt lt tr gt lt td height 53 colspan 3 gt lt h2 class stylel gt NMS Uptime Monitor lt h2 gt lt td gt lt tr gt lt td height 43 colspan 3 gt lt h3 class style3 gt Current Configurations lt h3 gt lt td gt lt tr gt lt tr gt lt td width 196 height 38 gt lt span class style4 gt Last Refresh Time lt span gt lt td gt lt td colspan 2 gt lt span class style4 gt lt strong gt lt php echo date d m y H i s lt BR gt gt lt strong gt lt span gt lt td gt lt tr gt lt tr gt lt td height 30 gt lt span class style4 gt Alerts Destinaton lt span gt lt td gt lt td colspan 2 gt lt span class style4 gt lt strong gt lt php echo pno gt lt strong gt lt span gt lt td gt lt tr gt lt tr gt lt td height 31 class style4 gt Top Level Alert Destination lt td gt lt td colspan 2 gt lt span class style4 gt lt strong gt lt php echo TLApno gt lt strong gt lt span gt lt span
11. Data TemplateTop php 2 gt lt div align center gt lt br gt lt br gt div id shadow container style width 845px gt lt div class shadow1 gt lt div class shadow2 gt lt div class shadow3 gt lt div class shadow4 gt lt div class container gt form name frm action lt php echo SERVER PHP_SELF gt method post gt table width 800 border 1 align center cellpadding 0 cellspacing 0 class table_stylel gt lt thead gt lt tr gt lt td colspan 6 gt Branch Report lt td gt lt tr gt lt thead gt lt tbody gt lt tr gt lt td align left gt lt strong gt Branch Code lt strong gt lt td gt lt td align center gt lt strong gt lt strong gt lt td gt lt td align center gt j select class dropdown name type 1d type onchange loadBranch this gt lt option value 0 gt SELECT lt option gt SELECT BRANCH_CODE FROM BRANCHES WHERE STATUS 1 result dbcon gt executeQuery sql while row mysql_fetch_array result echo option value rowl BRANCH CODE7 row BRANCH CODE lt option gt 2 gt lt select gt 62 lt td align center gt Name lt td gt lt td align center gt lt td gt lt td align center gt lt input type text class textbox id brnch name disabled disabled gt lt td gt lt tr gt lt tr gt lt td colspan 3 rowspan 2 align center style padding
12. References 1 2 3 4 5 6 7 8 9 Ramakrishnan Gehrke J 2003 Database Management Systems McGraw Hill Education Inc 3 1 pp 59 85 Ryan Asleson and Nathaniel T Schutta 2006 Foundations of Ajax Vaswani V 2007 PHP Programming Solutions Tata McGraw Hill Publishing Company Litmited 1 132 182 en wikipedia org wiki Adobe_Dreamweaver en wikipedia org wiki Apache HTTP Server en wikipedia org wiki Gantt chart en wikipedia org wiki Local area network en wikipedia org wiki Microsoft Project en wikipedia org wiki MySQL 10 en wikipedia org wiki Sequence_diagram 11 en wikipedia org wiki Simple_Network_Management_Protocol 12 en wikipedia org wiki Unified_Modeling Language 13 en wikipedia org wiki Use_case 14 en wikipedia ofp WikisWaterfally model 15 en Wikipedia org wiki Wide area network 16 wwweacti net 17 www peopiesbank ik site_map shtmi 18 www php net 19 www visual paradigm com Activity 44 User Manual The following are the screen snap shots taken from Network Monitoring System This will explain how user can logon and use the Network Monitoring System HOME Mozilla Firefox yew History Bookmarks Tools vc http localhost INMS index php A Most vsted Getting Started Latest Headlines J HOME NETWORK MONITORING SYSTEM ar Loaoff amp HOME DETAILS BCONFIGURATIONS
13. action lt php echo SERVER PHP SELF gt method post gt lt table align center width 100 class table stylel border 1 cellspacing 0 gt lt thead gt lt tr gt lt td colspan 6 gt Network Devices lt td gt lt tr gt lt thead gt lt tbody gt lt tr gt lt td align left gt lt strong gt Branch Code lt strong gt lt td gt ew lt td align Center gt lt strong gt lt strong gt lt td gt lt tdialign c nter gt s leet class dropdown rtame type MoadBranch this 7 option value 0 gt Select lt option gt lt php onchange sql select BRANCH_CODE from BRANCHES where STATUS 1 result dbcon gt executeQuery sql while row mysql_fetch_array result echo lt option value row BRANCH_CODE gt row BRANCH CODE lt option gt lt select gt lt td gt lt td align center gt Name lt td gt lt td align center gt lt td gt lt td align center gt lt input type text class textbox 72 readonly readonly gt lt td gt lt tr gt lt tr gt lt td align left gt amp nbsp lt td gt lt td align center gt amp nbsp lt td gt lt td align center gt amp nbsp lt td gt lt td align center gt Wanl IP lt td gt lt td align center gt lt td gt lt td align center gt lt input type text class textbox id Wanl IP readonly readonly gt lt td gt lt tr gt lt tr
14. class stylel 1 gt Alert will be sent to a pre defined top level Manager after a 4 hours of delay lt span gt lt td gt lt td width 6 gt amp nbsp lt td gt lt tr gt lt tr gt lt td colspan 3 gt amp nbsp lt td gt lt tr gt IK lt 7 lt td heights 31 colspan 3 class style7 gt lt span class styfe 13 gt Branches in unreachable state lt span gt lt td gt lt tr gt lt php echo lt p gt lt p gt echo date l jS of F Y h i s sql SELECT FROM branches WHERE WANI STATUS 0 OR WAN2_IP_STATUS 0 ORDER BY IP STATUS result mysql_query sq while row mysql_fetch_array result if row ALERT_STATUS 0 node Stype if row WAN2_IP_STATUS 0 node WAN2 else 24d4 78 insertSql INSERT INTO alert BRANCH ID NODE TYPE VALUES row BRANCH node ALERT result mysql query SinsertSql updateSql UPDATE branches SET ALERT STATUS 1 ALERT TIME now WHERE BRANCH ID row BRANCH ID result00 mysql_query updateSql msg row NAME branch is down txt smssender exe p pno m msg fp fopen sms bat w fwrite fp txt fclose fp else if row RECOVERY_STATUS 0 if time strtotime row ALERT_TIME gt 14400 topMsg Connectivity of the row NAME branch is down for more that 4 hours Please hav
15. e your attaention txt smssender exe p TLApno m topMsg fp fopen sms bat w fwrite fp txt fclose fp n td height 28 class style4 gt lt php echo row NAME gt lt td gt lt td height 28 class style4 gt lt php if row WAN1_IP_STATUS 0 echo else echo WAN2 3 gt lt td gt lt td height 28 class style4 gt lt php echo row ALERT_TIME gt lt td gt lt tr gt lt php lecho msg lt br gt gt lt tr gt lt td colspan 3 gt amp nbsp lt td gt lt tr gt lt tr gt 79 lt td height 31 colspan 3 class style7 gt lt span class style8 gt Branches recovered recently lt span gt lt td gt lt tr gt lt php recSgl SELECT FROM branches WHERE RECOVERY STATUS 1 recResult mysql_query recSql echo recSql while row mysql_fetch_array recResult if row WAN2_IP_STATUS 1 amp amp row WANI_IP_ STATUS 1 updateRecSql UPDATE branches SET ALERT STATUS 0 ALERT TIME null RECOVERY STATUS 0 RECOVERY TIME null WHERE BRANCH ID row BRANCH IL result 0 mysql query SupdateRecSql else updateRecSql UPDATE branches SET RECOVERY STATUS 0 RECOVERY TIME WHERE BRANCH ID Srow BRANCH ID7 2 gt result00 mysql_query updateRecSq 47 lt tr gt row NAME 1 gt lt td gt C td heights 28 olasse style4T php echo lt td he
16. ementByld brnch_name value this style width 90px font weight normal background image none border 1px solid 900 disabled disabled gt lt td gt lt td width 200 align center gt lt input type button class button name btn3 id btn3 value Branch Prediction Report onclick loadValues document getElementById brnch_name value this style width 190px font weight normal background image none border 1px solid 900 disabled disabled gt lt td gt lt td width 200 align center gt lt input type button class button name btn4 id btn4 value Hardware Prediction Report onclick loadValues document getElementByld brnch_name value this style width 190px font weight normal background image none border 1px solid 900 disabled disabled gt lt td gt lt tr gt lt table gt lt td gt lt tr gt lt tr gt lt td style padding 10 gt lt id value_lable gt lt div gt lt td gt lt tr gt lt tr gt pe td style padding 5px align right gt lt input type reset class button value Reset onclick resetForm style width 100px gt lt td gt lt tr gt lt table gt lt td gt lt tr gt lt tbody gt lt tfoot gt lt tfoot gt lt table gt lt form gt lt div gt lt div gt lt div gt lt div gt lt div gt lt div gt lt div gt lt php require_once Data TemplateBottom php 2 gt lt body gt
17. gt lt td align left gt amp nbsp lt td gt lt td align center gt amp nbsp lt td gt lt td align center gt amp nbsp lt td gt lt td align center gt Wan2 IP lt td gt lt td align center gt lt td gt lt td align center gt lt input type text class textbox id Wan2 IP readonly readonly gt lt td gt lt tr gt lt tr gt ak lt tdalign center colspan 3 rowspan 2 gt lt table border 0 gt lt tr gt gt lt td aligns center lt input type button class button name binStl _dsu value SLT DSU onclick loadValues this gt lt td gt lt tr gt lt tr gt lt td align center gt lt input type button class button name btnS_d_mux value S D onclick loadValues this gt lt td gt lt tr gt lt tr gt lt td align center gt lt input type button class button name btnRouter value ROUTER onclick loadValues this gt lt td gt lt tr gt lt tr gt lt td align center gt lt input type button class button 73 name btnSwitch value SWITCH onclick loadValues this gt lt td gt lt tr gt lt table gt lt td gt lt td align center colspan 3 rowspan 4 gt lt table border 1 width 100 gt lt tr gt lt td align left id value_lable gt Item lt td gt lt td align left gt lt td gt lt td align left gt lt input type text class textbox id txtValue readonly readonly style widt
18. h 1 00px gt lt td gt lt tr gt lt tr gt lt td align left id value_lable gt Status lt td gt lt td align left gt lt td gt lt td align left gt lt input type text class textbox id txtStatus readonly readonly style width 100px gt lt td gt lt tr gt lt table gt lt table border 1 width 100 gt lt tr gt lt td align left gt Data Rates lt td gt lt tr gt tr std align Jett de value lable In Coming Rate lt td gt td align left gt lt td gt id align left gt lt input type text class texibox id txtIn rate readonly readonly style width 100px gt lt td gt lt tr gt lt tr gt lt td align left gt Out Going Rate lt td gt lt td align left gt lt td gt lt td align left gt lt input type text class textbox id txtOut_rate readonly readonly style width 1 00px gt lt td gt lt tr gt lt table gt lt td gt lt tr gt lt tbody gt 74 lt tfoot gt lt tr gt lt td colspan 6 align right gt lt input type reset class button value RESET onclick resetForm gt lt td gt lt tr gt lt tfoot gt lt table gt lt form gt lt div gt lt div gt lt div gt lt div gt lt div gt lt div gt lt div gt lt php require_once Data TemplateBottom php gt lt body gt lt html gt 75 NMS Uptime Monitor send SMS DOCTYPE ht
19. ight 28 class style4 gt lt php if row WANI_IP_STATUS 0 echo else echo WAN2 gt lt td gt lt td height 28 class style4 gt lt php echo row RECOVERY_TIME gt lt td gt lt tr gt lt php 2 gt lt table gt lt p gt amp nbsp lt p gt lt body gt lt html gt 80 Appendix D Test Cases The test cases used and the results are given below Test cases for user login authentication Description Expected output System created Status Test output case No 1 User login with valid Display the NMS Display the NMS Success Main Menu Main Menu user id amp password Enter valid user id with Invalid Invalid password Success invalid password password message prompt for message prompt the user login again for the user login again Invalid user id Invalid user id Success message prompt message prompt for 2 Enter Invalid user id with valid password for the user login the user login again user id Invalid user id Invalid user id with Invalid password message prompt m ssage prompt for gt f r ike user login the user login again again Press the login button Invalid user id Invalid user id Success without any values message prompt message pr
20. in correct user id menu menu and password Table D 7 Test Results of the Login Form 84 Tracing the Route used for Troubleshooting Test Case Input Data Expected Result Output Result Enter Invalid IP 12 35 2 or Invalid IP Invalid IP 12 3 5 6 message display message display or 12 267 6 5 Invalid IP Invalid IP message display message display Enter non existing 15 47 7 1 Tracing the hop by Tracing the hop by IP hop and cannot trace hop and cannot the IP trace the IP Enter valid 15 2 4 1 Tracing the hop by Tracing the hop by existing IP hop and trace the hop and trace the particular IP particular IP Table D 8 Test Results of the Trace route Form Error checking form Test Case 2 InputiD ta 2 Expected Result Output Result Enter Invalid Invalid Branch code Invalid Branch code Branch Code message display message displa Enter Blank Invalid Branch code Invalid Branch code message display message display Enter non existing 6785 Invalid Branch code Invalid Branch code Branch code message display message displa Enter valid Display the Errors for Display the Errors for Branch code given branch given branch Table D 9 Error checking form 85 Test Results of the Error Checking Form Network Device Status
21. javascript language JavaScript gt lt script gt lt head gt lt body gt lt php require_once Data TemplateTop php gt lt div align center gt 65 lt br gt lt br gt div id shadow container style width 700px gt lt div class shadow1 gt lt div class shadow2 gt lt div class shadow3 gt lt div class shadow4 gt lt div class container gt form name frm action lt php echo _SERVER PHP_SELF gt method post gt lt table align center width 100 class table_ style border 1 cellspacing 0 gt lt thead gt lt tr gt lt td colspan 6 gt Data Transfer Rate lt td gt lt tr gt lt thead gt lt tbody gt lt tr gt lt td align center gt lt strong gt Branch Code lt strong gt lt td gt lt td align center gt lt strong gt lt strong gt lt td gt lt td align center gt lt select class dropdown name type onchang s loadBranch this y gt lt option 0 gt SELECT lt option gt lt sql SELECT BRANCH_CODE FROM BRANCHES WHERE STATUS 1 result dbcon gt executeQuery sq while row mysql fetch array S result echo option value row BRANCH CODE7 row BRANCH CODE lt option gt lt select gt lt td gt lt tr gt lt tr gt lt td align center gt Name lt td gt lt td align center gt lt td gt lt td align center gt lt in
22. le gt lt form gt lt div gt lt div gt lt div gt lt div gt lt div gt lt div gt lt div gt lt php require_once Data TemplateBottom php gt lt body gt lt html gt 68 Overall Monitoring require once Class DataBase class php require once Class Authentication class php session start dbcon new DataBase auth new Authentication true auth gt checkAccess 13 dbcon module id 9 errorList array hasErrors false gt lt DOCTYPE html PUBLIC W3C DTD XHTML 1 0 Transitional EN http www w3 org TR xhtml1 DTD xhtmll transitional dtd gt html xmlIns http www w3 org 1999 xhtml lt head gt meta http equiv Content Type content text html charset utf 8 gt lt title gt Qverall Monitoring lt itle gt kre stylesheet href StyleSheets Main css type text css gt lt link rel stylesheet href StyleSheets A lertBox css type text css gt lt link rel stylesheet href StyleSheets TableStyle css type text css gt lt link rel stylesheet href StyleSheets DropShadow css type text css gt lt script src JavaScript Environment js type text javascript language JavaScript gt lt script gt lt script src JavaScript Controls js type text javascript language JavaScript gt lt script gt lt script src JavaScript Main js type text javascript language JavaScript gt lt
23. lt html gt 64 Detect Data Transfer Rate require once Class DataBase class php require once Class Authentication class php session start dbcon new DataBase auth new Authentication true auth gt checkAccess 12 dbcon module id 9 errorList array hasErrors false 2 gt lt DOCTYPE html PUBLIC W3C DTD XHTML 1 0 Transitional EN http www w3 org TR xhtml1 DTD xhtml I transitional dtd gt html xmins http www w3 org 1999 xhtml lt head gt meta http eauiv Content Type content text html charset utf 8 gt lt title gt Data Transfer Rate lt title gt lt linKltel gt stylesheet StyleShegts Main ess tyipert text css gt dinktef stylesheet href StyleSheets AlertBox css type text css gt lt link re stylesheet href Styf Sheets TableStyle css type text css gt lt link rel stylesheet href StyleSheets DropShadow css type text css gt lt script src JavaScript Environment js type text javascript language JavaScript gt lt script gt lt script src JavaScript Controls js type text javascript language JavaScript gt lt script gt lt script src JavaScript Main js type text javascript language JavaScript gt lt script gt lt script src JavaScript Ajax js type text javascript language JavaScript gt lt script gt lt script src js data_transfer_rate js type text
24. ml PUBLIC W3C DTD XHTML 1 0 Transitional EN http www w3 org TR xhtml1 DTD xhtm l1 transitional dtd html xmIns http www w3 org 1999 xhtml gt lt head gt lt meta http equiv Content Type content text html charset utf 8 gt lt title gt NMS Uptime Monitor lt title gt lt script language JavaScript type text javascript gt CONFIGURATION STARTS Configure refresh interval in seconds var refreshinterval 30 Shall the coundown be displayed inside your status bar Say yes or no below var displaycountdown yes CONFIGURATION ENDS HERE A Do not edit the code below var starttime var nowtime var reloadseconds 0 var secondssinceloaded 0 function starttime starttime new Date starttime starttime getTime countdown function countdown nowtime new Date nowtime nowtime getTime secondssinceloaded nowtime starttime 1000 reloadseconds Math round refreshinterval secondssinceloaded if refreshinterval gt secondssinceloaded var timer setTimeout countdown 1000 if displaycountdown yes window status Page refreshing in reloadseconds seconds 76 clearTimeout timer window location reload true window onload starttime lt script gt lt style type text css gt lt Style 4 003399 font weight bold font size 24px style3 color 003399 style4 color 6
25. ompt for for the user login the user login again again Table D 1 Test cases for user login authentication 81 Test cases for Tracing the Route Test Description case No uM uin nvalid message Invalid message prompt for the Tracing prompt for the Tracing the Route again the Route again 2 Enter Blank Invalid message Invalid IP message Success prompt for the Tracing prompt for the Tracing the Route again the Route again existing IP and cannot trace the IP and cannot trace the IP 4 Enter valid Tracing the hop by hop Tracing the hop by hop Success existing IP and trace the particular and trace the particular IP IP Table D 2 Test cases for Tracing the Route Expected output System created output Status Test cases for Error checking Description Expected output System created output rte invalid Invalid Branch Anyalid Branch Success Branch code message prompt for the message prompt for the Error checking again Error checking again Enter Blank Invalid Branch Invalid Branch Success message prompt for the message prompt for the Error checking again Error checking again 3 Enter valid Display the errors for Display the errors for Success existing Branch given Branch given Branch code Table D 3 Test Cases for Error Checking 82 Test cases for Network Device Status Test
26. put type text class textbox id hrnch name 66 disabled disabled gt lt td gt lt tr gt lt tr gt td align center gt Wanl IP lt td gt lt td align center gt lt td gt lt td align center gt lt input type text class textbox id Wanl_IP disabled disabled gt lt td gt lt tr gt lt tr gt lt td align center gt Wan2 IP lt td gt lt td align center gt lt td gt lt td align center gt lt input type text class textbox id Wan2 IP disabled disabled gt lt td gt lt tr gt lt tr gt lt td align center gt Input Data Rate lt td gt lt td align center gt lt td gt lt td align center gt lt input type text class textbox id in data rate disabled disabled gt lt td gt lt tr gt lt tr gt td alignz center gt Qutput Data Rate lt td gt Sf lt td align center gt lt td gt lt td aligh Ccenter gt lt input type text class textbox id out data rate disabled disabled gt lt td gt lt tr gt lt tr gt lt td align center gt LAN Data Rate lt td gt lt td align center gt lt td gt lt td align center gt lt input type text class textbox id lan_data_rate disabled disabled gt lt td gt lt tr gt lt tbody gt lt tfoot gt lt tr gt lt td colspan 6 align right gt lt input type reset class button 67 value Reset gt lt td gt lt tr gt lt tfoot gt lt tab
27. ql select USERID USERNAME STATUS from AP USER where USERNAME Username and PASSWORD MDS Password result dbcon gt executeQuery sql if mysql_num_rows result gt 0 row mysql_fetch_assoc result if row STATUS 1 user new User user gt setUserld row USERID user gt setUserName row USERNAME SESSION USER user header Location redirect die lt strong gt Authentication error Header command failed to execute lt strong gt else errorList Account has been disabled Please contact the Administrator else errorList Username Password incorrect Please try ps catch Exception e errorListj htmispeciaichars e gt getMessage ENT_QUOTES else Username 2 lt DOCTY PE html PUBLIC W3C DTD XHTML 1 0 Transitional EN http www w3 org TR xhtml1 DTD xhtml transitional dtd gt html xmIns http www w3 org 1999 xhtml gt lt head gt 57 meta http equiv Content Type content text html charset utf 8 gt lt title gt Login lt title gt lt link rel stylesheet href StyleSheets Main css type text css gt lt link rel stylesheet href StyleSheets AlertBox css type text css gt lt link rel stylesheet href StyleSheets TableStyle css type text css gt lt link rel stylesheet href StyleSheets DropShadow css type text css gt lt sc
28. rial0 Rx Traffic Kbps Min 0 34 62 05 Avg 2 17 95thPercentile Avg 0 45 Serial Rx Traffic Kbps Min 0 16 62 04 5 03 95thPercentile Avg 2 23 Ed Rx Traffic bps 0 0 0 0 Avg 0 0 95thPercentile Avg 0 0 Figure B 4 Interface Traffic 53 Interface Rx Traffic Union Place branch From 07 Jun 12 00 AM to07 Jun 8 54 3500 3000 2500 d 2000 nee ea 1500 1000 EK E E tv d dz NS Air Vogt o crt TE E 0 T T Y 9 8 o E Serialo Tx Traffic Min 168 0 Max 3440 0 Avg 288 59 95thPercentile Avg 225 53 Figure B 5 SLT WAN 2 Traffic SLT WAN Tx Traffic Union Place branch From07 Jun 12 01 AM to 07 Jun 8 54 eo 4 di 01 00 02 00 03 00 04 00 05 00 08 00 07 00 Time Value 3 Seriali Tx Traffic Min 365 0 Max 4174 0 693 13 95thPercentile Avg 534 98 Figure B 6 WAN Traffic 54 Appendix NMS Main Screen require once Class DataBase class php require once Class Authentication class php session start dbcon new DataBase auth new Authentication false module id 1 lt DOCTYPE htm PUBLIC W3C DTD XHTML 1 0 Transitional EN http www w3 org TR xhtml 1 DTD xhtml 1 transitional dtd gt html xmIns
29. ript src JavaScript Environment js type text javascript language JavaScript gt lt script gt lt script src JavaScript Controls js type text javascript language JavaScript gt lt script gt lt script src JavaScript Main js type language JavaScript gt lt script gt lt script src JavaScript PasswordMeter js type text javascript language JavaScript gt lt script gt lt script src JavaScript Ajax js type text javascript language JavaScript gt lt script gt lt script src js Login js type text javascript language JavaScript gt lt lt script gt text javascript lt head gt lt body gt lt php require once Data TemplateTop php 22 lt div aliggnigenter gt lt br gt br FSS lt br gt lt br gt lt br gt lt br gt lt br gt lt br gt lt br gt 58 lt br gt lt br gt lt br gt lt br gt lt br gt lt php if sizeof errorList gt 0 error message lt font color FF0000 gt foreach errorList as error error message lt li gt error error_message lt font gt echo lt script type text javascript language JavaScript gt echo Cnt AlertBox WARNING MESSAGE error null Warning lt br gt echo lt script gt lt div id shadow container style width Sins div class shadow gt lt div glass shaddw2 gt lt diveclas shddow3 gt div el ss shadow4Tz
30. rors false lt DOCTYPE htm AV3C DTD XHPML 1 0 Fransitional EN http Www w3 org TR xbtmit DT D xhtml transitional dtd gt lt html xmIns http www w3 org 1999 xhtml gt lt head gt meta http equiv Content Type content text html charset utf 8 gt lt title gt Network Devices lt title gt lt link rel stylesheet href StyleSheets Main css type text css gt lt link rel stylesheet href StyleSheets AlertBox css type text css gt lt link rel stylesheet href StyleSheets TableStyle css type text css gt lt link rel stylesheet href StyleSheets DropShadow css type text css gt lt script src JavaScript Environment js type text javascript language JavaScript gt lt script gt lt script src JavaScript Controls js type text javascript language JavaScript gt lt script gt lt script src JavaScript Main js type text javascript language JavaScript gt lt script gt lt script src JavaScript Ajax js type text javascript language JavaScript gt lt script gt lt script src js Network Device js type text javascript 71 lt div align center gt lt br gt lt br gt lt div id shadow container style width 700px gt lt div class shadow1 gt lt div class shadow2 gt lt div class shadow3 gt lt div class shadow4 gt lt div class container gt form name frm
31. s Disable Host Disable Active Downed Device Detection SELECT Ping Timeout Value Ping Retry Count SNMP Version SELECT SNMP Community SNMP Port SNMP Timeout Minimum OID s per Request Figure A 7 Error checking 48 Figure A 8 Network Device Status When entered the required branch code user can Monitor the Network Device Status from following page A 8 I BRANCH REPORT Mozilla Firefox Z V amp rophone 05 Tools 7 Edt yew History Bookmarks Tools http localhost INMS Network firanch_Report pho NETWORK MONITORING SYSTEM admin Logoff HOME BRANCH REPORT e 4 Branch Code SELECT CONFIGURATIONS L 2 B ADMINISTRATION Wan1 Wan Branch Report Critical Traffic Branch Report Branch history report Branch Prediction Report Hardware Prediction Report tronic Th ses amp Dissertatioi 8 Network Device WG Figure 9 Traffic Monitoring Ifthe user selects Data Transfer Rate then page in figure A 9 will display with data transfer rates 49 DATA TRANSFER RATE Mozilla Firefox Z Merophone WiTods 7 DER Be E History Bookmarks Tools x http localhost NMS Network data_transfer_rate php Most Visited gt Getting Started 2 Latest Headlines DATA TRANSFER RATE admin NETWORK MONITORING SYSTEM Loaoff MHOME MCONFIGURATIONS
32. s Success Success Success Test cases for Data Transfer Rate Status Description Expected output System created output Enter Invalid Invalid Branch message Invalid Branch Success Branch code prompt for the Data message prompt for Transfer Rate again the Data Transfer Rate again Invalid Branch message prompt for the Data Transfer Rate again Display the last five Display the last five minutes input output and minutes input output LAN Data Rates for given and LAN Data Rates Branch for given Branch Table D 6 Test cases for Data Transfer Rate Enter Blank Invalid Branch message Success prompt for the Data Transfer Rate again Enter valid Success existing Branch code Save test procedures were carried out for the user and other form submitting interfaces and all the test cases were successful Normal user interfaces tested by Data centre staff and required output given by the system Administrative interfaces tested by test data and test results as follows Test Cases The interface used to logon to the system Test Case Input Data incorrect user id message display message displa Login with Abcde Incorrect user Incorrect user incorrect password password password Login with 2 Load NMS Load NMS Ma
33. script gt lt script src JavaScript Ajax js type text javascript language JavaScript gt lt script gt lt script src js data transfer rate js type text javascript language JavaScript script lt script type text javascript language javascript 69 else echo lt td width 200 gt lt div class down onmousemove show_alert row NAME 1 gt Down lt div gt lt td gt ifSrow WAN2 IP STATUS 1 echo td width 200 gt lt div class up gt Up lt div gt lt td gt else echo td width 200 gt lt div class down onmousemove show_alert row NAME 1 gt Down lt div gt lt td gt echo lt tr gt lt table gt lt form gt lt div gt lt div gt lt div gt lt div gt lt divz lt divz lt s 2 lt php feduire_once Data FemplateBottom php gt lt body gt lt html gt lt script type text javascript language javascript gt setTimeout function location href overrall_monitering php 10000 lt script gt 70 Network Devices Alert System If database input Zero Generate warring message Else No message require once Class DataBase class php require once Class Authentication class php session start dbcon new DataBase auth new Authentication true auth gt checkAccess 10 dbcon module id 9 errorList array hasEr
34. tat S D MUX Data Rates ROUTER In Coming Rate SWITCH Out Going Rate Figure A 4 Data Links status Figure A 5 Data Links status for selected branch fyectromic 1 o Vissertauons ET e The click amp h Network device butoh m MS admin Loqotf S HOME NETWORK DEVICES E Branch Code 1 CT BCONFIGURATIONS ADMINISTRATION wan IP Wan2 SLT DSU Item Stat S D MUX paid Data Rates ROUTER In Coming Rate SWITCH Out Going Rate Figure A 5 Device Status Figure A 6 Add branch to the System Selecting the Add branch option then page in Fig A 6 will be displayed 47 ADD NEW DEVICE Mozilla Firefox Edt View History Bookmarks Tools http focalhost NMS Configurations AddBranches pho NETWORK MONITORING SYSTEM h admin Loaoff HOME ADD BRANCH mNETWORK DETAILS Branch Code a ADMINISTRATION Neme Branch Type SELECT Ethernet IP Wanli IP Want IP Status Wan2 IP Wan2 IP Status Figure A 6 Add branch to the System Figure A 7 Error checking The click on Add Network Device button from NMS Main Menu Then the following page will appear as in figure A 7 Onis Theses amp Dissertations s HOME ADD ROUTER DEVICE B NETWORK DETAILS Description ADMINISTRATION Hostname Host Template SELECT ______ Add Device Note

Download Pdf Manuals

image

Related Search

View/Open view open windows view open ports windows view open apps view open tabs view open files view open ports view open ports linux view open vemis live version view open and touch info view open tabs mobile on desktop edge view open files on server view open positions view open register uk view open tabs in edge view open windows as tiles the file couldn\u0027t open in protected view open my inbox gmail view task view icon open excel file couldn\u0027t open in protected view open view decoder prices open folder to view files openedge view login

Related Contents

  取扱説明書  Application Troubleshooting: Alternate Methods of  仕様書を    Measure and Record Temperature and Humidity. Transfer Data via  CPF Mode d`Emploi  ACS310 Short User`s Manual  Hamilton Beach 14711 User's Manual  MANUAL English - PACLITE Equipment  

Copyright © All rights reserved.
Failed to retrieve file