In the first part of the blog on Enterprise Monitoring SAP Business Objects BI Platform with Zabbix, we had created and configured Zabbix server agent and host groups for our SAP BusinessObjects BI platform. In this second part of the blog, we will configure and setup monitoring and corresponding actions.

Adding Application to Template

A template  contains the set of applications that we need to monitor. Now let us see how to create an  application for our BI platform.

  • Navigate to Template section under Configuration tab and click on the previously created template BI_PLATFORM_TEMPLATE
  • Click on Application from the second level list and click on ‘Create Application’ from the right corner

Monitor SAP BusinessObjects with Zabbix_Adding Application

  • Enter the application name as BI_PLATFORM_APP and click on Save to create the application. Now the application is created.

Monitor SAP BusinessObjects with Zabbix_Application name

Adding Items to monitor in application

We will add each process to monitor as items in zabbix . Zabbix has some inbuilt monitoring keys that can be used to monitor the process/service and the host system. We will be creating items for the following :

  1. BOEXI40Tomcat – BI Tomcat Service
  2. BOEXI40SI<Hostname> where hostname is your BI Platform hostname – SI Agent Service
  3. exe – BI Tomcat windows process
  4. exe process – CMS Server windows process
  • Navigate to Template section under Configuration tab and click on our template BI_PLATFORM_TEMPLATE
  • Select the items from the second level list and click on the ‘Create item’ from the right corner

Monitor SAP BusinessObjects with Zabbix_Select items

  • Enter the name for the item and select type as Zabbix agent
  • Select the appropriate host interface that was defined when creating the host
  • Select the time interval. 60 seconds is recommended for production monitoring.
  • Select the application as BI_PLATFORM_APP

Monitor SAP BusinessObjects with Zabbix_Select applications

  • Enter the following key and show value for the items
ItemsKeyShow value
BOEXI40Tomcatservice_state[BOEXI40Tomcat]Windows service state
BOEXI40SI<Hostname>service_state[BOEXI40SI<Hostname>]Windows service state
Tomcat7.exeproc.num[tomcat7.exe]As is
CMS.exeproc.num[CMS.exe]As is

Perform the above steps for all the four items that are to be monitored.

Creating Triggers to monitor the items

Triggers specify the change in state of the items in the application. It triggers a particular action based on some conditions. For eg., when CMS process is down or when the Apache process exits abruptly, etc.

  • Navigate to Template section under Configuration tab and click on our template BI_PLATFORM_TEMPLATE
  • Select the Triggers from the second level list and click on the from the right corner

Monitor SAP BusinessObjects with Zabbix_Select triggers

  • Create the Triggers for each item as per the below table. Replace <Hostname> with the hostname that was defined when creating the host
NameExpressionSeverity
BOEXI40Tomcat{<Hostname>:service_state[BOEXI40Tomcat].last()}#0High
BOEXI40SI<Hostname>{<Hostname>:service_state[BOEXI40SIA<Hostname>].last()}#0High
Tomcat7.exe{<Hostname>:proc.num[tomcat7.exe].last()}=0High
CMS.exe{<Hostname>:proc.num[CMS.exe].last()}=0High

Monitor SAP BusinessObjects with Zabbix_Creating Triggers

Now that you have set the trigger, your application will now be monitored by Zabbix.

Creating Actions for Triggers

Actions are the commands that are executed once the trigger is alerted. These commands are executed on the host system with the help of Zabbix agent.

  • Navigate to Action section under Configuration tab and click on from the right corner

 

  • Enter the Action name as BO_RESTART and navigate to the conditions tab
  • Select the New Condition as Trigger and type the name of the Trigger that you created in the previous step. Add all the four triggers that were created.

Monitor SAP BusinessObjects with Zabbix_Creating Actions for Triggers

  • Similarly, add the Template name as BI_PLATFORM_TEMPLATE

Monitor SAP BusinessObjects with Zabbix_add the Template

  • Navigate to the Operations section and create a new Action operation as per the details below:
Operation typeRemote Command
TargetCurrent host
TypeCustom Script
Execute onZabbix agent
Commandsnet start BOEXI40Tomcatnet start BOEXI40<Hostname>

Monitor SAP BusinessObjects with Zabbix_create new Action

The action is now created. Every time the trigger is set, the action would execute and restart the BI platform and Apache Server.

Additional Monitoring

Although Zabbix is a very powerful enterprise grade monitoring tool in itself, you can also set additional monitoring tasks like Web URL monitoring for SAP BusinessObjects BI Platform which is triggered when the BOE URL is not reachable. Monitoring CMS Database, memory usage and disk space for the platform host is also a feature provided by Zabbix.

Monitoring is an integral part of any platform and having an extended monitoring system helps us to setup proactive measures than reactive measures. Do you use monitoring in your platform? Try this out and let us know!


Learn More

Subscribe to our Newsletter

5920 Windhaven Pkwy
Plano TX 75093.

+1 888-227-2794

+1 972-232-2233

+1 888-227-7192

solutions@visualbi.com