network inventory

Upload: jawahar12345

Post on 07-Apr-2018

225 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/6/2019 Network Inventory

    1/51

  • 8/6/2019 Network Inventory

    2/51

    The Problem

    Every organization has group of computers connected to a LAN and

    there arises the problem to manage them properly

    As the systems are used by different users in the organization there is

    a possibility of misusing it.

    The administrator has to monitor the systems regularly by going to

    that point physically.

    Also he has to do lot of work to know the details of softwares and

    hardware on that particular system

  • 8/6/2019 Network Inventory

    3/51

    Things done manually may lead to many problems

    To Prevent the misuse of the systems

    To reduce time taken to collect required information of remotesystem

    Keeping several systems information records is difficult

    Time-consuming process

    Accessing, manipulating the data is difficult

    Need for Automation

  • 8/6/2019 Network Inventory

    4/51

    The details of the remote system are collected automatically

    when ever they are requested

    The data storage and access can be easy

    The system provides a user friendly GUI

    The remote system details can be viewed when the system is

    turned off, if once they are collected

    Proposed System

  • 8/6/2019 Network Inventory

    5/51

    Processor: Pentium 2 or above

    RAM: 256 MB

    Hard disk: 20 GB

    Technical Feasibility

    Front End: Java

    Back End: XML

    Hardware Requirements

    Software Requirements:

  • 8/6/2019 Network Inventory

    6/51

    The goal of the Project is to replace the traditional form of

    maintenance and its accompanying inefficiencies with a moderninventory system.

    The Administrator can get full control over the network

    Objective of the System

  • 8/6/2019 Network Inventory

    7/51

    Administrator:

    Administrator is a person who monitors this system

    User:

    He is the end user of the remote system

    LAN:

    Group of networked systems of a particular Organization

    Actors

  • 8/6/2019 Network Inventory

    8/51

    System Design

    Network Inventory System follows Client- Server Architecture

    :Client host:Server host

    Browser

    :Network

    Inventory

    Server

    : Client

  • 8/6/2019 Network Inventory

    9/51

    Login

    Select

    Computer(s)

    Scanning LAN

    Collect Info

    Add Node

    Delete Node

    View Details

    Logout

    Administrator

    Remote

    System

    LAN

    UseCase Diagram

  • 8/6/2019 Network Inventory

    10/51

    Sequence Diagram for ScanningNetwork

    Send Reply

    Delete()Logout()

    Delete()

    Take input

    Delete()

    Take scan type

    Delete()

    Take login()

    Administrator

    Login

    Button

    Scan InputForm

    Scan

    Result

    >

    Login

    Form

    Main

    Form

    Admin

    Control

  • 8/6/2019 Network Inventory

    11/51

    Administrator

    Exports System Info Send info 2 administrator

    Getting

    System

    information

    Search for IPaddress

    LAN RemoteSys

    Give the IP address

    Sequence Diagram forCollectingNode Information

  • 8/6/2019 Network Inventory

    12/51

    Administrator activates system

    Give the IP address range

    System scans the IP addresses

    StateChart Diagram for ScanningNetwork

    Display active & in active systems

  • 8/6/2019 Network Inventory

    13/51

    StateChart forCollectingNode Info

    Administrator gives IPAddress

    Click start Inventory Button

    System Collects Req. Data

    Exports Data to XML file

  • 8/6/2019 Network Inventory

    14/51

    Implementation

    Softwares Used:

    o JAVA

    o Network

    o Servlet

    o JSP

    o XML

    o Tomcat

    o VB Script

    The network is scanned only for the nodes that are requested for.

    The collected information is stored in xml format. This is an universal format.

  • 8/6/2019 Network Inventory

    15/51

    Code used forCollectingNode info.

    VB Script: objWMIService = GetObject("winmgmts:\\" & strComputer &

    "\root\cimv2")

    colItems = objWMIService.ExecQuery("Select * from

    Win32_ComputerSystem",,48)

    JAVA Code: Runtime x=Runtime.getRuntime();

    p=x.exec("cscript C:\\WINDOWS\\system32\\sys.vbs");

  • 8/6/2019 Network Inventory

    16/51

    Testing

    Validations

    The No. of Nodes for scanning field must contain integer value

    The Node name must start with alphabet

    The IP Address entered must be the standard format (Ex. 120.0.0.13)

    The range specified for IP scan must be a valid one.

  • 8/6/2019 Network Inventory

    17/51

    TestCases

    Test Case 1: Object Name - Scan

    Field name Input Expected Output

    FromIPCharacterNumeric

    Alpha Numeric

    RejectAccept

    Accept

    ToIP

    Character

    NumericAlpha Numeric

    Reject

    AcceptAccept

  • 8/6/2019 Network Inventory

    18/51

    Contd

    Test Case 2: Object Name View_Details

    Field name Input Expected Output

    IP Address

    Character

    Numeric

    Alpha Numeric

    Reject

    Accept

    Accept

    Node name

    Character

    Numeric

    Alpha Numeric

    Accept

    Reject

    Reject

    Status

    Character

    Numeric

    Alpha Numeric

    Accept

    Reject

    Reject

    Details

    Character

    Numeric

    Alpha Numeric

    Accept

    Accept

    Accept

  • 8/6/2019 Network Inventory

    19/51

    ScopeOf The System

    The Network Inventory system is used to collect the inventory

    information of systems present in LAN.

    The System can be further developed to display the processes running in

    remote system and also to terminate them.

    The CPU performance graph of the specified system can also be

    displayed

  • 8/6/2019 Network Inventory

    20/51

    Main Functionalities of the System

    1. Scanning Network

    2. Collecting Information

    3. Report Generation

  • 8/6/2019 Network Inventory

    21/51

    Screen for Login Form:

  • 8/6/2019 Network Inventory

    22/51

    Main Form:

  • 8/6/2019 Network Inventory

    23/51

    Screen After SelectingOpt 2:

  • 8/6/2019 Network Inventory

    24/51

    Error Report forEmpty IP AddressEntry:

  • 8/6/2019 Network Inventory

    25/51

    Screen After SelectingOpt 1:

  • 8/6/2019 Network Inventory

    26/51

    Error Report for InputNo. ofNodes Form:

  • 8/6/2019 Network Inventory

    27/51

    Screen forNodeNamesEntry:

  • 8/6/2019 Network Inventory

    28/51

    Screen for Displaying Status Information:

  • 8/6/2019 Network Inventory

    29/51

    InformationCollectedNodes List:

  • 8/6/2019 Network Inventory

    30/51

    Screen to select requiredOption:

  • 8/6/2019 Network Inventory

    31/51

    Screen for AddNodeOption:

  • 8/6/2019 Network Inventory

    32/51

    ErrorMessage for blankNodeNameEntry:

  • 8/6/2019 Network Inventory

    33/51

    Status ofNewNodeEntry:

  • 8/6/2019 Network Inventory

    34/51

    Screen afterNewNode is Added to List :

  • 8/6/2019 Network Inventory

    35/51

  • 8/6/2019 Network Inventory

    36/51

    Screen afterNode is Deleted:

  • 8/6/2019 Network Inventory

    37/51

    BadNodeEntry for DeleteOption:

  • 8/6/2019 Network Inventory

    38/51

    Error Report for DeleteOption:

  • 8/6/2019 Network Inventory

    39/51

    Message forEmptyNodes List:

  • 8/6/2019 Network Inventory

    40/51

    Reports Generation

    1. General Information

    1.1 OS Details

    1.2 Disk Partition

    1.3 Logical Disks

    1.4 User Accounts

    2. Hardware Details

    2.1 Mother Board

    2.2 Processor3. Applications

    3.1 Installed Applications

  • 8/6/2019 Network Inventory

    41/51

    General Info SubMenuOptions:

  • 8/6/2019 Network Inventory

    42/51

    Hardware SubMenuOptions:

  • 8/6/2019 Network Inventory

    43/51

    General Info for Node11:

  • 8/6/2019 Network Inventory

    44/51

    OS Details for Node11:

  • 8/6/2019 Network Inventory

    45/51

    Physical Memory Details for Node11:

  • 8/6/2019 Network Inventory

    46/51

    Applications Installed in Node Rambabu:

  • 8/6/2019 Network Inventory

    47/51

    Processor Details of Node Rambabu:

  • 8/6/2019 Network Inventory

    48/51

    Screen for Logout Option:

  • 8/6/2019 Network Inventory

    49/51

    Conclusion

    It is easy to use, since it uses the GUI provided in the user dialog.

    User-friendly screens are provided.

    The usage of software increases the efficiency, decreases the effort.

    It has been thoroughly tested and implemented.

    It has also helped overcome the drawbacks of the existing system.

    Limitations: This project is mainly concentrated on the LAN of aparticular organization.

  • 8/6/2019 Network Inventory

    50/51

    Bibliography

    Books Referred

    o Thinking in JAVA

    Bruce Eckel

    o Java Script

    Addison Wesley

    o VbScript

    Windows Xp Under theHood

    Brian Knittel

    o Xml

    Pro XML Development with JAVA Technology

    Ajay Vohra and Deepak Vohra

  • 8/6/2019 Network Inventory

    51/51