17. 04. 2018 TobiasGoller Business Service Monitoring, NetEye

Automatic NetEye Business Process Creation with the New BP API

In recent weeks I had the opportunity to test the release candidate of the new NetEye BP API. This new API allows you to create and update NetEye Business Processes over the Perl API.

Especially when used in large NetEye environments, it was often difficult to create a large number of business processes by hand using the NetEye GUI. And since then the need to automatically create business processes has only grown.

Now is the time.

This month I successfully tested the release candidate in a productive environment. After installing the new BP API software package on the NetEye system, I was able to create my own scripts for automatic BP creation exactly as a customer wanted.

In this use case we wanted to create and update NetEye BP’s from a CMDB System. We configured the CMDB system to export a CSV file on which the BP’s are defined on a daily schedule. Afterwards I wrote a script for parsing the information correctly in order to feed the BP API Perl module.

Here’s an example of how to launch the API for creating a Business Process:
add-businessprocess.pl –name Service_ERP –info “Corporate ERP in Headquarter” –relation AND –tag 1 –template “generic-bp-service” –urgency 1 –impact 1 –child=”hostA;Hoststatus” –child=”hostB;PING” –child=”businessprocess-a” –write

In my case the parsing script fills in all the required options for the “add-businessprocess.pl” module when creating the BP. Always remember, after you have successfully run the “add-businessprocess.pl” script, then just like when using the GUI you must run the “commit-businessprocess.pl” module in order to commit your BP modifications.

Note: This very nice feature should be available in the upcoming NetEye 3.13 release.

TobiasGoller

TobiasGoller

NetEye Solution Architect at Würth Phoenix
I started my professional career as a system administrator. Over the years, my area of responsibility changed from administrative work to the architectural planning of systems. During my activities at Würth Phoenix, the focus of my area of responsibility changed to the installation and consulting of the IT system management solution WÜRTHPHOENIX NetEye. In the meantime, I take care of the implementation and planning of customer projects in the area of our unified monitoring solution.

Author

TobiasGoller

I started my professional career as a system administrator. Over the years, my area of responsibility changed from administrative work to the architectural planning of systems. During my activities at Würth Phoenix, the focus of my area of responsibility changed to the installation and consulting of the IT system management solution WÜRTHPHOENIX NetEye. In the meantime, I take care of the implementation and planning of customer projects in the area of our unified monitoring solution.

Leave a Reply

Your email address will not be published. Required fields are marked *

Archive