SiteScope API Example

In the HP Software Pages there’s a full documentation and examples written with python scripts. Here is the link

http://support.openview.hp.com/selfsolve/document/KM425074

For people who can not reach to that site : API

I’m going to use a web service test tool called SOAPUI

We are going to test the enableMonitorEx method

Read More

SiteScope API (Web Service)

With the 9.5 version of the SiteScope, now there’s a API support.

You can reach the full API list from the address of the product like

http://localhost:8080/SiteScope/services

On my next post there will be examples for using these APIs.

Here is the all list

Read More

SiteScope Point Calculation Documentation

Whenever I make a presentation of SiteScope, I always get questions about the licensing. Here is the detailed guide taken from HP SiteScope Installation Image.

Understanding Monitor Licensing
Licensing for SiteScope is based on a point system that offers flexibility in scaling and deployment. A permanent SiteScope license provides a number of points that are used to activate a combination of monitor types.

Read More

Test Istanbul 2012

We will have a booth on the Test Istanbul Event 2012 May 24-25.

For more details you can visit www.testistanbul.org

We will have some surprises, do not forget to visit our booth.

Linux memory monitoring trick for SiteScope

Sitescope memory monitor for unix returns VM usage (ram+swap). So it’s a swap monitor in fact.

To change this, you can edit the related config file (which is under SiteScope/templates.os directory) i.e RedHatEnterpriseLinux.config file.

In the memory block, you can change the matchLine section as follows:

#
id=memory
command=/usr/bin/free -b
total=2
used=3
free=4
matchLine=Mem:
#


old value is “matchLine=Swap:”.

After you should restart your SiteScope and then create a memory monitor.

Or to learn RAM (swap/pagefile) usage you can change the all section as follows

#
id=memory
command=/usr/bin/free -b | /bin/grep Mem: | /usr/bin/awk ‘{ print $2” “$3-($6+$7)” “$2-($3-($6+$7))}’
total=1
used=2
free=3
singleLine=true
#

JMX Monitoring with HP SiteScope

You can easily monitor your java application server metrics by using JMX protocol. Here is the steps to monitor with Sitescope

First thing you have to change is startup file of the application server (i.e jboss\bin\run.bat)

Add these lines to your file:

set “JAVA_OPTS=%JAVA_OPTS% -Dcom.sun.management.jmxremote”
set “JAVA_OPTS=%JAVA_OPTS% -Dcom.sun.management.jmxremote.port=8007” (SiteScope will use this port)
set “JAVA_OPTS=%JAVA_OPTS% -Dcom.sun.management.jmxremote.authenticate=false”
set “JAVA_OPTS=%JAVA_OPTS% -Dcom.sun.management.jmxremote.ssl=false”
set “JAVA_OPTS=%JAVA_OPTS% -Djava.rmi.server.hostname=x.x.x.x” (IP address)

After application server has started first check the port (8007). Then you are ready to add JMX monitor to SiteScope..

JMX URL : service:jmx:rmi:///jndi/rmi://x.x.x.x:8007/jmxrmi


Defining your IT services

One of the most important thing in IT is defining your services, what you are dealing with? What lies behind that services and how they are connected?

To accurately define IT services and infrastructure, you may use some discovery solutions to get a real time map of your devices (nedi, hp ddm etc.)

Then you can use the results to create some views.

i.e Zenoss enterprise edition has a good dynamic view ability.

HP BSM solution also has a service modeling utility..