17. 04. 2018 TobiasGoller 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.

Share this post
Share on LinkedInTweet about this on TwitterShare on FacebookShare on Google+Email this to someoneShare on Tumblr
TobiasGoller

TobiasGoller

Consultant at Würth Phoenix
I’m Tobias and work as SI Consultant on different fields, for commercial products like VMware, Microsoft, Citrix but also for opensource projects like Nagios, OCS Inventory, GLPI NagVis, ntop and the best practice standard ITIL. I have also some certifications for this kind of activities which helps me to improve my activity on the job. I like to introduce the best solutions for the customer necessaries independently if it is a commercial or free product. One of my favorite hobbies is playing in the local music for wind band. As I live in the mountains I love hiking and last but not least I try to spend much of my free time with my family.

Author

TobiasGoller

I’m Tobias and work as SI Consultant on different fields, for commercial products like VMware, Microsoft, Citrix but also for opensource projects like Nagios, OCS Inventory, GLPI NagVis, ntop and the best practice standard ITIL. I have also some certifications for this kind of activities which helps me to improve my activity on the job. I like to introduce the best solutions for the customer necessaries independently if it is a commercial or free product. One of my favorite hobbies is playing in the local music for wind band. As I live in the mountains I love hiking and last but not least I try to spend much of my free time with my family.

Leave a Reply

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

Archive