IT Operations Management (ITOM)
Showing results for 
Search instead for 
Do you mean 

HP SiteScope custom monitors and content packaging

BTopham ‎06-25-2013 10:12 AM - edited ‎01-10-2015 08:23 AM

HP SiteScope is an agentless application and infrastructure monitoring software solution containing several out of the box useful monitors for common systems or applications in the IT world. Though those monitors are generic and their thresholds can be configured.  They are dedicated to specific systems (product defined), so in case you need to monitor your own custom system, you’ll need a more flexible solution.

 

Would it be great to easily implement your own SiteScope monitors, according to your own needs?  What about defining your own metrics, choosing metric names and create new thresholds based on them?

 

As from SiteScope 11.20, SiteScope provides a new set of highly customizable monitor framework that enables you to implement monitors according to your own needs. Those monitors are generic and flexible monitors that can call Java Jars, get metric information, and define SiteScope metrics and thresholds using JavaSciprt API.

 

Custom monitors help SiteScope to become a more flexible product and can be very useful when the other, out of the box, monitors just don’t fit. Those monitors are supported on template mode and integrate with HP BSM as all other “regular” monitors.

 

Here are few basic steps that can help you to create your first custom monitor:

 

1.  Choose the desired custom monitor in the new monitors panel according to your need:

 

 

2.  Write JavaScript for executing the monitor logic (WMI queries, retrieving data from DB, read\write for file etc.) and copy it into the “custom monitor settings panel” in monitor configuration form.

 

You can configure predefined parameters to be used in your script (to avoid hardcoded values) under “script parameters table” panel.

 

3.  Create a workspace folder for your monitor by pressing “create path” button. This folder is created under <SiteScope_home>\packages\workspace and should contain all the external files that are needed for this monitor to run (jar, .class, properties files etc.)

 

 

4.  Save and run the monitor (your custom metric will appear on dashboard)

 

5.  Set appropriate thresholds for this monitor above the monitor metrics

 

 

That’s it, congratulations! You’ve just implemented your first custom monitor.

 

You can watch the following movies for more details:
*Custom WMI creation and packaging tutorial- http://youtu.be/bB6NlTGdd88

*Custom WMI monitor data processing script tutorial- http://youtu.be/GIw3JVnunWE

 

Learn more at www.hp.com/go/SiteScope and while you're there, download the new HP SiteScope Freemium or Trial.

About the Author

BTopham

Comments
max_treat
on ‎07-17-2013 04:39 AM

Pls provide me site scope prerequisite for installation ?

mgss
on ‎03-13-2015 07:30 AM

Can we integrate custom monitor with Osquery?  any idea ?

Alfredo Morales
on ‎11-15-2016 05:43 AM

HI,

My name is Alfredo Morales and I am working on a custom monitor from sitescope.

I create a .jar file, and put it on the corresponding directory

Now I do not know how to call from the Java Scripts panel, to the result of my .jar.


Can you help me in my case please?

Events
June 6 - 8, 2017
Las Vegas, Nevada
Discover 2017 Las Vegas
Join us for HPE Discover 2017 in Las Vegas. The event will be held at the Venetian | Palazzo from June 6-8, 2017.
Read more
Apr 18, 2017
Houston, TX
HPE Tech Days - 2017
Follow a group of tech bloggers for a new HPE Tech Day, a full day of sessions about how to create a hybrid IT, from hyperconverged to Composable Infr...
Read more
View all
//Add this to "OnDomLoad" event