Installing the Icinga PowerShell Framework is managed by different ways, depending on the user environment including available possibilities.
Get the latest Version from GitHub or PowerShell Gallery.
- Install the Icinga PowerShell Framework with the Kickstart Script
- Install the Icinga PowerShell Framework manually
- Install the Icinga PowerShell Framework with PowerShell Gallery
Once the Icinga PowerShell Framework is installed you can try if the installation was successfully by using the command
Use-Icinga
This command will initialize the entire Icinga PowerShell Framework and load all available Cmdlets.
Note: Starting with Icinga PowerShell Framework 1.2.0
you can simply use icinga
to open a Icinga PowerShell Framework shell.
Whenever you intend to use specific Cmdlets of the framework for Icinga Plugins, Testing or configuration you will require to run this command for each new PowerShell instance to initialize the framework.
Once the entire Framework is installed and the module is runnable, you can start the Icinga Agent installation wizard. Please follow the Icinga Agent Wizard guide for examples and usage.
You can install a service which will allow you to run the PowerShell Framework as background daemon. This will add the possibility to register functions to run frequently for collecting data or execute different tasks on the system.
To install the service you can either follow the IcingaAgentInstallWizard
or do it manually