Quantcast
Channel: THWACK: All Content - Orion SDK
Viewing all articles
Browse latest Browse all 2677

Alert Suppression State via API

$
0
0

Hi All,

 

I've been trying to find a way of checking on the current status of a node (in terms of if it's in a scheduled outage or not). Digging through the documentation I've been trying to make use of the Orion.AlertSuppression Entities, mainly GetAlertSuppressionState.

 

I've successfully managed to execute this verb via the Swis PowerShell module using Invoke-SwisVerb, but I've not managed to find an example of doing this via a REST call (the end result will be to query this in PHP using Guzzle).

 

Does anyone have any idea how to call this through either Guzzle or Curl? I've been trying to replicate this using Invoke-RestMethod in PowerShell with limited results.

 

Any help would be appreciated.

 

Thanks,

Simon


Viewing all articles
Browse latest Browse all 2677

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>