Skip to content

Commit

Permalink
enabled automation KB articles
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniele committed Apr 4, 2018
1 parent d984270 commit 92331a1
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 4 deletions.
4 changes: 2 additions & 2 deletions QND.Azure.AADConnect/QND.Azure.AADConnect.mpproj
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@
</None>
</ItemGroup>
<ItemGroup>
<Content Include="Docs\Connect Health API - Guide.pdf">
<None Include="Docs\Connect Health API - Guide.pdf">
<SubType>Content</SubType>
</Content>
</None>
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Microsoft\VSAC\Microsoft.SystemCenter.OperationsManager.targets" />
</Project>
Binary file modified QND.Azure.Automation/MPResources.resources
Binary file not shown.
4 changes: 2 additions & 2 deletions QND.Azure.Automation/QND.OMS.Automation.mpproj
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@
<Compile Include="AutomationAccountAndRunbookClass.mpx">
<SubType>Code</SubType>
</Compile>
<None Include="KBArticles.mpx">
<Compile Include="KBArticles.mpx">
<SubType>Code</SubType>
</None>
</Compile>
<Compile Include="ManagementPack.mpx">
<SubType>Code</SubType>
</Compile>
Expand Down
13 changes: 13 additions & 0 deletions QND.OMS.Automation.Runbook.ExecStatus.Monitor.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

This monitor is flexible and thus has a complex copnfiguration, this is the logic:

Healthy -> jobFailures <= MaxThreshold
Unhealthy -> jobFailures > MaxThreshold

JobFailures number of jobs with status that matches FailureCondition (default Failes|Suspended) in the LastNJobs executions

Other parameters:
MaxFailures is used to report the MaxThreshold parameters, don't know why I implemented it in this silly way but this is how it is

Parameters not used:
MaxFailures
3 changes: 3 additions & 0 deletions QND.OMS.sln
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ EndProject
Project("{D4B43EB3-688B-4EEE-86BD-088F0B28ABB3}") = "QND.Azure.AADConnect", "QND.Azure.AADConnect\QND.Azure.AADConnect.mpproj", "{CD660E24-8875-4372-A0F3-0884DF56546A}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Docs", "Docs", "{CED3285A-E6F4-4C8E-A556-BCE72350494D}"
ProjectSection(SolutionItems) = preProject
QND.OMS.Automation.Runbook.ExecStatus.Monitor.md = QND.OMS.Automation.Runbook.ExecStatus.Monitor.md
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{FFB38A2E-A51A-43F9-B95F-4B10FD14346F}"
ProjectSection(SolutionItems) = preProject
Expand Down

0 comments on commit 92331a1

Please sign in to comment.