Add MonIn

This commit is contained in:
Mike Phares 2023-01-16 17:14:48 -07:00
parent 46c9d91dc9
commit a4d3a9899f
3 changed files with 4 additions and 0 deletions

View File

@ -77,6 +77,8 @@ public class ExportController : Controller
ModelState.AddModelError("Exception", ex.Message);
string errorMessage = $"Error exporting: {ex}";
_Logger.LogError(message: errorMessage);
MonIn monIn = MonIn.GetInstance();
_ = monIn.SendStatus(_AppSettings.MonASite, _AppSettings.MonAResource, "Heartbeat", State.Warning);
}
}
return View("Index", model);

View File

@ -10,6 +10,7 @@ trigger:
- "**/*.yaml"
- "**/*.yml"
- "Archive/*"
- "ClientHub/*"
- "Server/*"
- "Tests/*"

View File

@ -12,6 +12,7 @@ trigger:
- "**/*.yml"
- "Archive/*"
- "Client/*"
- "ClientHub/*"
pool:
name: Mesa-IIS