icinga-powershell-framework
icinga-powershell-framework copied to clipboard
Feature: Add Icinga 2 API integration
We should make it easier for local Windows machines to communicate with the Icinga 2 API by using certain Cmdlets.
This should cover the following:
- General communcation for custom queries
- Adding/Removing downtime for current host with comment
- Sending passive check result for certain host check
- Sending custom notifications on certain events
Will the local Windows maschines be able to send the Downtime via satellite to icinga or only directly to the Icinga masters?
Hello, the idea is to send downtimes to one of the parents of the Icinga Agent. This also includes Satellites.
Thank you. Do the apis of the satellites already include the functionality to send downtimes, or does this functionality additionally needs to be retrofitted to the satellites?
This feature is already implemented within the Icinga 2 protocol. They API simply has to be enabled and then the requests are forwarded to the top master.
But won't the masters/parents ignore the downtime (or any other) objects coming from agents/satellites as these are configuration objects from a child zone? Afaik the only way to have downtimes created by agents that have no direct connection to the master but only to their satellite would be to install some form of proxy on the satellite that forwards the API request to the master.