Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 32

A REPORT

ON
“AUTOMATION OF SITESCOPE”
Submitted to the KIIT University, Bhubaneswar in
fulfillment of the requirements for the
award of the degree of

BACHELOR OF TECHNOLOGY
IN
COMPUTER SCIENCE & ENGINEERING
SUBMITTED BY

Shambhawi Sinha

1105222

Under the guidance of

Mr. Harish Patnaik

Assistant Professor

School Of Computer Engineering

1
CERTIFICATE
This is to certify that the project entitled “E-EYE TESTING” is being

carried out by Shambhawi Sinha (1105222) in partial fulfillment in award of

degree of Bachelor of technology in Computer Science and

Engineering/Information Technology at school of Computer Engineering

, KIIT University , Bhubaneswar during the academic year 2015 under

my supervision .The matter embodied in this project is original and has not

been submitted for the award of any other degree.

Signature of Guide

__________________________________

Mrs Priyanka Taneja

Hewlett Packard ,Bangalore

2
ABSTRACT
A consistent methodology is essential for effective system monitoring. There
is a need of a software which provides heterogeneous and hybrid support,
quick time to value, and ease of installation, configuration and use. Since the
current system for monitoring is very tiresome, we need an automated
system which is agentless so that the methodology is more efficient and
accurate. Hence, there is a need for agentless monitoring of all the IT
infrastructures which is more efficient and time saving. HP Site Scope is an
agentless monitoring tool which ensures the availability and performance of
distributed IT infrastructures and applications including servers, operating
systems, network and Internet services, applications, and application
components.
HP Site Scope continually monitors more than 100 types of IT components
through a web-based architecture that is lightweight and highly customizable
and does not require that data collection agents be installed on your
production systems. With Site Scope, you acquire the real-time information
required to validate infrastructure operations & availability, stay ahead of
problems, and resolve bottlenecks before they become critical incidents.

3
TABLE OF CONTENTS

1) INTRODUCTION:

1.1) Purpose…………………………………………………………………………………….4
1.2) Scope: ………………………………………………………………………………………4
1.3) Technologies: ............................................................................ 5

2) OBJECTIVE………………………………………………………………………………………..6

3) PROJECT PLANNING: ............................................................................7

3.1) Functional Requirements………………………………………………………………7


3.2)Non Functional Requirements……………………………………………………..8-11

4)FEATURES OF PROJECT ………………………………………………………………….


5)SNAPSHOTS:……………………………………………………………………………………..19-27
6)FUTURE WORK:………………………………………………………………………………..28
7)CONCLUSION:…………………………………………………………………………………..29
8)REFERENCES:…………………………………………………………………………………….30

4
Introduction:

1.1)PURPOSE:

 The main objective is to automate the HP product, Site scope


Using UFT (Unified Functional Testing)
 Automation is done to increase the execution speed and test coverage.

1.2) SCOPE:

 It determines area of application under Test which will be automated


 Here the Hp product , Sitescope is automated.
 UFT is chosen depending on the technology Sitescope is built upon, support
for various types of tests and also framework UFT supports in case of
Sitescope.

1.3) TECHNOLOGIES:
HP Site Scope 11.x

• It is an agentless monitoring solution tool designed to ensure the


availability and performance of distributed IT infrastructure
• This web-based infrastructure monitoring solution is lightweight, highly
customizable, and does not require that data collection agents be installed
on your production systems

5
• With SiteScope, you acquire the real-time information required to validate
infrastructure operations & availability, stay ahead of problems, and
resolve bottlenecks before they become critical incidents

HP Unified Functional Testing

• HP Unified Functional Testing is automated testing software designed for


testing various software applications and environments.
• It performs functional and regression testing through a user interface such
as a native GUI or web interface. It works by identifying the objects in the
application user interface or a web page and performing desired operations
(such as mouse clicks or keyboard events); it can also capture object
properties like name or handler ID.
• HP Unified Functional Testing uses a VBScript scripting language to specify
the test procedure and to manipulate the objects and controls of the
application under test. To perform more sophisticated actions, users may
need to manipulate the underlying VBscript.
• Although HP Unified Functional Testing is usually used for "UI based"  test
case automation, it also can automate some "non-UI" based test cases,
such as file system operations, database testing or Web services testing.
VBscript

VBScript (Visual Basic Scripting Edition) is an Active Scripting language


developed by Microsoft that is modeled on Visual Basic. It is designed as a

6
"lightweight" language with a fast interpreter for use in a wide variety of
Microsoft environments. VBScript uses the Component object model to access
elements of the environment within which it is running.

OBJECTIVE

 The main objective of “AUTOMATION OF SITESCOPE” is to automate


HP Site Scope software to provide a deeper and more granular data
collection for advanced monitoring, alerting and reporting and also enable
Proactive IT with automated actions that can avoid performance problems
and downtime. As company changes (through growth, mergers, or
Acquisition) so will monitoring and management needs. That is where HP
SiteScope offers investment protection. So it can painlessly grow monitoring
needs as company grows .SiteScope flexible licensing model supports
reusing purchased capacity for different needs.So this HP Product is
automated to increase the execution speed and test coverage and make the
product more beneficial.

7
PROJECT PLANNING(SRS)
FUNCTIONAL REQUIREMENTS:
R.1 LOGIN
1.1 Login

Description:- user logs in.

Input:-Fill up login details

Output:-Sitescope page is loaded with monitor tree on left top hand side and list of
context menus on left pane ,whereas on right hand side there are categories-
DashBoard, alerts,Properties,Reports

1.2 Various Context menus –Select any

Description:- Click on Any context menus ,Basically we select Preferences button

Input:-Click on preferences button

Output:- A page is loaded with list of preferences

R.2 EMAIL PREFERENCES


2.1 Click on Email Preferences Button

Description:- Email preferences is used to create new email recipient, test email
recipient and edit the recipient properties
Input:-click on email preferences
Output:-page is loaded of email preferences with buttons of test ,edit, default
settings, create new recipient.

2.1.1 Select the edit property from Default Settings

Description:- Select the edit property from the default settings to edit already
created mail recipient

8
Input:- Fill up all fields and click ok after selecting a particular mail recipient

Output:-The mail recipient is edited

2.1.2. Click new email Recipient

Description:- Clicking new email recipient ,then fill up all fields like-name, email
To etc.

Input:- Click on new email recipient

Output:-A dialog box appears with all details

2.1.3. Create new email recipient

Description:- Fill up all fields in dialog box and then click OK, a new mail
Recipient will be created

Input:- Filling up all Fields and click OK

Output:-A new mail Recipient is created.

2.1.4 Test new email recipient

Description :- Select the mail recipient to be tested and click the test button, then a
report will be generated and report will be sent to the mail recipient

Input :- Select the mail recipient and click Test button

Output:-A report will be generated and this report will be sent to the mail recipient

2.1.5 Edit email recipient

Description:- Select the mail Recipient to be edited and click on edit Button, the
mail recipient will be edited.

Input:- Select the mail Recipient to be edited and click the edit button

Output:-The mail recipient will be edited and it will be displayed in the list of

Of recipients

9
2.2Go back to the main page

Description:- Click on Monitors button from context menus options

Input:- Click on monitors button

Output:-Go back to the main page of sitescope from where we started.

NON FUNCTIONAL REQUIREMENTS


Constraints:
User characteristics:
The user is expected to be internet literate and be able to use a web application

System characteristics:
 Login and password is used for identification of users.
 Only registered patients and specialists will use the services
Database: A database management system free of cost in public domain is used.

Platform: Windows 7

Web support: It is possible to fix the appointments from a place using web browser.

Observation: It should be able to invoke the query fron amy place.

Hardware Requirements:

Computer Processor: 1 Core/ 2000 MHZ minimum

Memory: 2 GB minimum

10
Free Hard Disk Space: 10 GB

Platforms: Windows, Solaris, Linux

Software Requirements:

HP SiteScope : version 11.x

HP UFT: version 12.00

FEATURES OF PROJECT :-
FEATURES OF SITESCOPE
1. Central to all this is that is providing an easy, low-cost way to gain insight
into the performance and availability of their IT infrastructure and
applications.
2. It does so in a way that it allows them to be proactive, making use of base-
lines, notifications, and alerts. Because SiteScope can proactively identify
both performance and availability issues, the customer’s end users aren’t
being used as monitoring devices.
3. You have the ability to drive down meantime to repair and lower costs.
4. Because the less time you’re spending in the war room the more time you
have as an IT organization to be doing value add projects and activities.
Even a small outage may result in the cost of thousands to even millions. Time
not spent on troubleshooting or problem solving is valuable money saved

2.1 Need for SiteScope

11
Customers choose SiteScope for a myriad of reasons, but paramount to them are
the handful that is listed below:

SiteScope is used to monitor and manage their environments. From performance


testing scenarios, to application performance monitoring, to event management.
SiteScope always helps customers.

1. Central to all this is that is providing an easy, low-cost way to gain insight
into the performance and availability of their IT infrastructure and
applications.
2. It does so in a way that it allows them to be proactive, making use of base-
lines, notifications, and alerts. Because SiteScope can proactively identify
both performance and availability issues, the customer’s end users aren’t
being used as monitoring devices.
3. You have the ability to drive down meantime to repair and lower costs.
4. Because the less time you’re spending in the war room the more time you
have as an IT organization to be doing value add projects and activities.
5. Even a small outage may result in the cost of thousands to even millions.
Time not spent on troubleshooting or problem solving is valuable money
saved.
SiteScope provides different tools, such as templates, the Publish Template
Changes wizard, and automatic template deployment that enable you to develop
a standardized set of monitor types and configurations into a single structure.
SiteScope templates can be speedily deployed across the enterprise and quickly

12
updated to make sure that the monitoring infrastructure is compliant with the
standards set in the template.

2.2 SiteScope Characteristics

 Web-based, agent-less infrastructure monitoring solution


 Measures availability and performance of distributed IT infrastructures
 Lightweight, highly customizable, does not require data collection
agents
 Provides real-time dashboard, reports, and alerts

2.3 How SiteScope works

Basically, we have to install SiteScope on host machines with access to the


applications and operating systems that we want to monitor.

SiteScope logs into systems as a user from its central server, which can run on
Windows, UNIX, and Linux platforms, and collects key performance
measurements on a wide range of back- and front-end infrastructure components
including Web, application, database, and firewall servers. SiteScope uses
standard protocols to connect to remote systems.

SiteScope provides access to this data and metrics in a variety of ways, including a
Dashboard. SiteScope also provides alerting, whereby alerts are sent to notify
system/application administrators of failures, based on configured thresholds. It
also includes reporting capabilities, where real-time and historical analysis of

13
system and application performance can be completed. SiteScope also provides
Baselining whereby it adjusts thresholds based on “Normal” behavior and Alerts
on Abnormal behavior depending on those thresholds.

SiteScope addresses the synthetic user Web monitoring space, by giving smaller
customers a way to gauge their web site’s performance.

It is an entry-level, cost-effective solution for smaller companies. SiteScope helps


improve website performance by enabling customers to gauge their web users’
application experience.

2.4 SiteScope Monitoring Model

Groups

Monitors

Alerts

Reports

Fig 3: SiteScope Model

The SiteScope monitoring model consists of above four key objects: Groups,
Monitors, Alerts and Reports:

14
 Groups - A group is a container for monitoring assets. Groups may
contain subgroups and are used to organize monitors. Groups are
created prior to monitors.
 Monitors - A monitor checks the status of server components, key
application processes, log files, or network devices, to name a few. It
collects data based on selected metrics and displays a status of good,
warning, or error with respect to the configured thresholds.
 Alerts - An alert is an action triggered by a change in the status of a
monitored asset. Alerts notify required users when negative events or
failures occur. An alert can be sent to a variety of media including email,
pager, Short Message Service (SMS) messages, or an SNMP trap.
 Reports - A report is a historical representation of monitored data.
SiteScope offers a variety of reports from quick monitor reports to
detailed management reports. Reports enable you to track trends and
operational performance and to troubleshoot problems.

2.5 SiteScope Monitors

SiteScope Server monitors (for example, CPU, Disk Space, Memory,Service) can be
used to monitor server resources on the following platforms:

➤ Windows NT/2000/2003/2008/XP Pro/Vista/Windows 7 (x86 and Alpha, see


note below)

➤ Solaris (Sparc and x86), ➤ Linux, ➤ AIX, ➤ HP-UX (HP-UX 64-bit)

➤ Digital UNIX, ➤ SGI IRIX, ➤ SCO, ➤ FreeBSD

15
SiteScope monitor categories are grouped according to classes that indicates their
availability and category that reflect their function. When you select to add a new
monitor to a SiteScope agent, the list of available monitor types for that agent are
displayed both alphabetically and divided by category in the product interface.
The availability of the monitor category is dependent on the class of monitor.
This section describes the monitor classes and the category listing formats.

Standard Monitors

Standard monitor categories represent the monitor categories available with a


general SiteScope license. These monitor categories include many of the general
purpose monitor categories.

• Application Monitors. Monitors in this category monitor third-party


applications. These monitors enable SiteScope to access and retrieve data
from the monitored applications.
• Database Monitors. Monitors in this category monitor different types of
database applications. There are monitors that access data from specific
database applications and generic monitors that can be configured to
monitor any database application.
• Generic Monitors. Monitors in this category monitor different types of
environment. These monitors can monitor networks, applications, and
databases depending on how they are configured.
• Media Monitors. Monitors in this category monitor applications that play
media files and stream data.

16
• Network Monitors. Monitors in this category monitor network health and
availability.
• Server Monitors. Monitors in this category monitor server health and
availability.
• Virtualization and Cloud Monitors. Monitors in this category monitor
virtualized environments and cloud infrastructures.
• Web Transaction Monitors. Monitors in this category monitor web-based
applications.
Customizable Monitors

Custom monitors broaden the capabilities of regular SiteScope monitors for


tracking the availability and performance of your infrastructure systems and
applications. Using custom monitors, you can develop your own solutions for
environments that are not supported by predefined SiteScope monitors.

You can create your own monitor that collects data, and define a script that
processes the collected data and creates metrics. Each time the custom monitor
runs, it updates the metrics and returns a status for the metrics defined in the
script. Custom monitors can be published to the HP Live Network for sharing with
other SiteScope users.

Integration Monitors

This group of optional monitor types are used to integrate HP products with other
commonly used Enterprise Management systems and applications.

These monitor types require additional licensing and may only be available as part
of another HP product.

17
Solution Template Monitors

Solution template monitor types are a special class of monitors that enable new
monitoring capabilities for specific applications and environments. As part of a
solution template, these monitor types are deployed automatically together with
other, standard monitor types to provide a monitoring solution that incorporates
best practice configurations. These monitor types are controlled by option
licensing and can only be added by deploying the applicable solution template.

After they have been deployed, you can edit or delete them using the same steps
as with other monitor types.

The monitor types using solution templates include:

• Active Directory (with and without Global Catalog)


• HP Service Manager
• Microsoft Exchange
• Microsoft IIS Server
• Microsoft Lync Server
• Microsoft SQL Server
• Microsoft Windows Resources
• Oracle Database
• SAP Application Server
• Siebel Application/Gateway/Web Server (for UNIX and Windows)
• UNIX Resources
• VMware Host CPU/Memory/Network/State/Storage
• WebLogic Application Server

18
• WebSphere Application Server
2.6 SiteScope UI

Fig 4: login

19
Fig 5: SiteScope Main

2.7 SiteScope Unified Event Console

SiteScope Event Console enables you to track the real time status of your
monitored environment, prioritize and dispatch events, and manage the event
lifecycle. This simplifies the management of large, distributed environments, and
accelerates your ability to identify and resolve issues. You can also track the event
lifecycle state and resolution progress

20
.  Fig 6: Event console

• Displays the status of all SiteScope objects  in a single view


• Different perspective: target servers, tags view and standard SIS hierarchy
• Perform troubleshooting actions to mitigate issues.
• Multi-View is HTML-based and Java-free.
• Support in additional browsers such as Chrome and Safari
• Multi-View is supported on iPad tablets

21
Fig 7: Filtered View

2.8 SiteScope Templates

• For massive deployment define your own template and deploy it on all a
group.
• Use Solution templates (additional license) for adding Key Performance
Indicators (KPIs) and outlines best practices as the best first steps to your
troubleshooting.
Benefits:

• Better Results via HP Recommended Best Practices.


• Faster Time to Value.
• Reduced Need for Domain Expertise.
• Lower Total Cost of Ownership (TCO)

22
SNAPSHOTS:

Fig 8: Monitor properties ( Set the thresholds for all 3 conditions)

Fig 9: Run Monitors ( to know their availability and performance)

23
Fig 10: Run Status

Fig 11: Report

24
Fig 12: Alert action(Set the alert action)

25
Fig 13: Email preferences (Specify the email address to get alerts)

Fig 14: Run Status for Disk Space

Fig 15: log files

26
27
28
FUTURE WORK

In future, HP is planning to include Log Analyser which will check the event logs,
alert logs and other log files and instead of notifying the user, it will try to fix the
problem itself without the aid of the user. It is used in virtualized and cloud
environment which is amongst the emerging technologies. As organizations adopt
the latest innovations and technologies, and deploy their applications in the Cloud
or in a virtualized environment, they encounter a new set of complexities. Cloud
and Virtualization allow for dynamic spawning of new infrastructure to meet
increased demand. Trends like cloud-sourcing and Bring your own device (BYOD)
is provided by Site scope. So it will play immense role in future.

29
CONCLUSION

We can conclude that Site Scope as a web-based infrastructure monitoring


solution is lightweight, highly customizable, and does not require that data
collection agents be installed on your production systems. With Site Scope,

30
you acquire the real-time information required to validate infrastructure
operations & availability, stay ahead of problems and resolve bottlenecks
before they become critical incidents. SiteScope reports display information
about how the servers and applications you are monitoring have performed
over time. A great advantage of Sitescope is we don’t need to worry
about installing the agents or spending time on getting CRs to do
it.Three most

important things done by sitescope are –Data collection,Reporting and


Alerting.

We can also deploy templates using sitescope.

REFERENCES:

 Site Scope 11 Essentials in grow@hp.com


 Truth about agent based vs. agentless monitoring in
www.uptime.com
 www.hp.com/go/hpsoftwaresupport/

31
 VbScript tutorials in www.tutorialspoint.com

32

You might also like