Create Business Process via script

(Jürgen) #1

I’ve an important question:

how is it possible to create/design a business process via script/automatically without using the web gui ?

thx,
juergen

(Sven Nierlein) #3

Thats possible and quite common, just create the json file in /var/lib/thruk/bp/ by a script. Then run thruk bp commit afterwards. This will create the required hosts and services and reload the core.
It’s probably a good idea to create a BP with the gui first and then have a look at the format. But it’s not that complicated.

(Jürgen) #4

thx a lot
jürgen …