HP SiteScope custom monitors and content packaging

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:

 

1.png

 

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.)

 

2.png

 

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

 

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

 

3.png

 

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.

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

Pls provide me site scope prerequisite for installation ?

Leave a Comment

We encourage you to share your comments on this post. Comments are moderated and will be reviewed
and posted as promptly as possible during regular business hours

To ensure your comment is published, be sure to follow the Community Guidelines.

Be sure to enter a unique name. You can't reuse a name that's already in use.
Be sure to enter a unique email address. You can't reuse an email address that's already in use.
Type the characters you see in the picture above.Type the words you hear.
Search
About the Author


Follow Us
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation