mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2025-12-20 23:00:35 -05:00
Changed Import-Module to fit with Import-ModuleLib Concept
This commit is contained in:
parent
1a43cf36da
commit
a92448bc62
7 changed files with 7 additions and 9 deletions
|
|
@ -9,8 +9,6 @@
|
|||
|
||||
#>
|
||||
|
||||
$global:IncludeDir = "$PSScriptRoot\lib";
|
||||
|
||||
function Install-Icinga()
|
||||
{
|
||||
[string]$command = Get-Icinga-Command('setup');
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
Import-Module $IncludeDir\provider\enums;
|
||||
Import-IcingaLib provider\enums;
|
||||
function Get-IcingaBios()
|
||||
{
|
||||
<# Collects the most important BIOS informations,
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
Import-Module $IncludeDir\provider\enums;
|
||||
Import-IcingaLib provider\enums;
|
||||
function Get-IcingaCPUs()
|
||||
{
|
||||
<# Collects the most important CPU informations,
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
Import-Module $IncludeDir\provider\enums;
|
||||
Import-IcingaLib provider\enums;
|
||||
|
||||
function Get-IcingaDiskInformation()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
Import-Module $IncludeDir\provider\enums\Icinga_ProviderEnums;
|
||||
Import-IcingaLib provider\enums;
|
||||
function Get-IcingaMemory ()
|
||||
{
|
||||
<# Collects the most important Memory informations,
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
Import-Module $IncludeDir\provider\cpu;
|
||||
Import-IcingaLib provider\enums;
|
||||
Import-IcingaLib provider\cpu;
|
||||
|
||||
function Add-IcingaProcessPerfData()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
Import-Module $IncludeDir\provider\enums\Icinga_ProviderEnums;
|
||||
|
||||
Import-IcingaLib provider\enums;
|
||||
|
||||
function Get-IcingaWindows()
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue