The new NetEye 4.5 release brings with it a new version of the Director module. There are three main new features in this module:
The Director Health Check doesn’t require explanation as it is intuitive and easy to use. For this reason I’d instead like to give you some suggestions for the configuration and use of Multi-Instance and Baskets.
The new multi-instance feature of the Director module allows you to quickly switch between two or more distinct environments with just one click in the user interface. You will need to:
[director] type = "db" db = "mysql" host = "mariadb.neteyelocal" dbname = "director" username = "director" password = "***" charset = "utf8" [director_testing] type = "db" db = "mysql" host = "mariadb.neteyelocal" dbname = "director_testing" username = "director" password = "***" charset = "utf8"
[db] resource = "director" resources = "director, director_testing"
In this way, you will be able to switch between your instances simply by selecting the desired one in the Director dashboard.
Configuration baskets allow the user to export, share and import a Director configuration. Baskets are intended for host and service templates, commands, definitions for automatic import, and sync.
We recommend that you create and configure Baskets when NetEye is in a state that can be easily restored, or for instance just after a new empty system has been installed. You should also avoid partial/custom baskets, since restoring them involves a number of tricky issues regarding related objects like Custom Data Fields and non-reproducible dependencies.
Creating a new Basket is quite simple:
Each snapshot is represented as a JSON object that reflects the structure of each of the categories included in the created Basket.
The Baskets feature can also be configured using the Icinga CLI:icingacli director basket dump list restore snapshot
icingacli director basket dump --name "Basket_Name"
icingacli director basket snapshot --name "Basket_Name"