Skip to content

Commit 7a8a138

Browse files
authored
Merge pull request #697 from Icinga:doc/ikwb_scom_uninstall
Docs: Adds IWKB entry `IWKB000017` handling issues with failed checks once SCOM is uninstalled Adds IWKB entry `IWKB000017` handling issues with failed checks once SCOM is uninstalled as example
2 parents e41e560 + cc1ac92 commit 7a8a138

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed

doc/100-General/10-Changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Released closed milestones can be found on [GitHub](https://github.com/Icinga/ic
2323

2424
### Enhancements
2525

26+
* [#313](https://github.com/Icinga/icinga-powershell-framework/issues/313) Adds IWKB entry `IWKB000017` handling issues with failed checks once SCOM is uninstalled as example
2627
* [#587](https://github.com/Icinga/icinga-powershell-framework/issues/587) Adds support to create own snapshot repositories with `New-IcingaRepository`
2728
* [#631](https://github.com/Icinga/icinga-powershell-framework/pull/631) Deduplicates `-C try { Use-Icinga ...` boilerplate by adding it to the `PowerShell Base` template and removing it from every single command
2829
* [#669](https://github.com/Icinga/icinga-powershell-framework/pull/669) Adds new metric to the CPU provider, allowing for distinguishing between the average total load as well as the sum of it

doc/300-Knowledge-Base.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,4 @@ For this reason you will find a list of Icinga knowledge base entries below. Ent
2424
| [IWKB000014](knowledgebase/IWKB000014.md) | Installing or Updating Icinga for Windows causes error messages regarding `framework_cache.psm1` errors |
2525
| [IWKB000015](knowledgebase/IWKB000015.md) | Got JSON, but not an object, from IfW API on host 'localhost' port '5668': "Exception while calling \\"Fill\\" with 1 arguments: \\"Invalid syntax near \\"`<Argument>:`\\".\\"" |
2626
| [IWKB000016](knowledgebase/IWKB000016.md) | Checks using Performance Counter fail with various messages like `Exception of type 'System.OutOfMemoryException' was thrown` or `Icinga Invalid Configuration Error was thrown: PerfCounterCategoryMissing: Category "Memory" not found` |
27+
| [IWKB000017](knowledgebase/IWKB000017.md) | Icinga throws exception during plugin execution after uninstalling SCOM or other vendor software using PowerShell modules |

doc/knowledgebase/IWKB000017.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Icinga Knowledge Base - IWKB000017
2+
3+
## Short Message
4+
5+
Icinga throws exception during plugin execution after uninstalling SCOM or other vendor software using PowerShell modules
6+
7+
## Example Exception
8+
9+
Icinga throws the exception
10+
11+
`The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details`
12+
13+
once a plugin is executed from the Icinga Agent after SCOM is uninstalled as example.
14+
15+
## Reason
16+
17+
In some cases uninstalling certain software components which also ship PowerShell modules, like the Microsoft SCOM, Icinga for Windows will stop working. The Icinga Agent will assume that the PowerShell Framework is no longer installed as it cannot find the module afterwards.
18+
19+
## Solution
20+
21+
The simple solution is to restart the Icinga Agent service which will resolve this issue and reload the environment variables. Afterwards the checks will work as before.
22+
23+
```powershell
24+
Restart-Icinga
25+
````

0 commit comments

Comments
 (0)