You are here

Blog

How to set up your Opsview dashboards for Business Service Availability

We have previously covered setting up alerts and reports against your Business Services, in Monitoring - Know Your Audience now here is a guide on how to collect and display your Business Service Availability data on your dashboards.

1.    Adding the Business Service Monitoring (BSM) Availability plugin

Firstly we will add a new service check that will collect the availability data, this is provided by a plugin called “check_opsview_bsm”, it will be included in the next release of Opsview, but if you can’t wait it can be found here. To see how to add these, you can check out the instructions for adding plugins into Opsview can be found here.

2.    Configuring the service check

To use “check_opsview_bsm” you just need to tell it which of your Business Services you want to monitor, this is done using the “–b” option. Handily you can use Opsview’s attributes to easily add one or more Business Services into this check, here is how to do it:
Add a new host, I have given mine the title “BSM-Availability”:

In the “Monitors” section select the “check_opsview_bsm” service check you have already set up. I am adding an attribute “OPSVIEW_BSM” so my command arguments are “-b '%OPSVIEW_BSM%'” as shown below.

Next I add in my “OPSVIEW_BSM” attributes for all of the Business Services I want to monitor.

After a reload I start seeing the status results against these Service checks.

3.    Extra features of the BSM availability plugin

So far we have just used the plugin with the “–b” parameter, when used like this the plugin inherits the status from the Business Service, i.e. if the Business Service is Operational the check returns OK, Impacted returns Warning and Offline returns Critical but the plugin also allows you to define custom Warning and Critical thresholds using the “-w” and “–c” parameters.

When you use the Warning and Critical thresholds the return is based upon the percentage availability, if I want a Critical when my availability is below 99% I just use the option “-c 99” and for a warning at 90% I use the option “-w 90” as shown in the example below.

4.    Showing BSM Availability on your dashboards

Once I have configured the service check I can begin to use the data, I want to add a gauge to my dashboard showing the current availability. Below I have shown the settings I used for the Gauge dashlet for my “Phone” Business Service.

And here is the finished dashboard where I am monitoring my “Phones”, Accounting Application” and “Company Website” Business Services.

Conclusion

We have set up a Business Service availability service check and added this to our dashboard using a gauge dashlet, this is a very useful metric for our dashboard as it quickly shows the availability of our service, but now we are collecting the availability data this is just the beginning of what we can do. The Business Service Module is fantastic for monitoring if our services are up or down but with the availability data we can set up specific availability alerts against custom targets; you could also use the data to create availability graphs and reports.

If you would like to know more about the Business Service Module there is some great information here. If you would prefer to measure availability for your Host Groups rather than your Business Services you can find a guide on how to achieve this here.

Get unified insight into your IT operations with Opsview Monitor

asuch's picture
by Adam Such,
Integrations Lead
I am an experienced developer specialising in Go and Perl with a wide range of experience in the IT industry spanning Development, Agile/Scrum Product Ownership, Pre-sales, Support and Testing

More like this

Feb 02, 2016
Blog
By Adam Such, Integrations Lead

Nov 25, 2014
Blog
By Opsview Team, Administrator

This blog is written by Sam Marsh, Product Manager at Opsview.

Apr 29, 2016
Blog
By Opsview Team, Administrator

A guide to our latest Webinar on how to monitor Amazon Web Services with Opsview Monitor.