Quantcast
Channel: THWACK: Popular Discussions - Orion SDK
Viewing all articles
Browse latest Browse all 3719

Invoking SupressAlerts API is not reflected in Web Console

$
0
0

I've successfully used the swis API to invoke SupressAlerts for a node (uri) but the supression state is not reflected in Web Console.

I can Invoke GetAlertSupressioState and use SWQL Studio to check that indeed the node has Alerts Suppressed.

(Not sure it if matters, but I did not provide any from or until parameters, they are supposed to be optional)

 

UPDATE:

I've also confirmed that even when I set SuppressAlerts via API and use the the Alert Manger to edit an alert, the Alert Engine will still send an alert when testing

If I use Web Console to Mute Alerts and try the the same test the Alert Manager will honor the Mute Alert setting and not show the node in the list of node that will trigger the alert.

 

 

POST I'm using to suppress:

https://localhost:17778/SolarWinds/InformationService/v3/Json/Invoke/Orion.AlertSuppression/SuppressAlerts

 

Payload:

[ [ "swis://localhost/Orion/Orion.Nodes/NodeID=1398" ] ]

 

Results from GetAlertSupressionState:

[

    {

        "EntityUri": "swis://localhost/Orion/Orion.Nodes/NodeID=1398",

        "SuppressedParentUri": null,

        "SuppressionMode": 1,

        "SuppressedFrom": "2018-12-12T23:25:04.963",

        "SuppressedUntil": null

    }

]

 

Web Console does not reflect that Alerts are Suppressed in managed nodes:

 

Same on Node Details Page:

 

 

If I use Web Console to Mute alerts - both show that Alerts are Muted as status:

 

 

Is this a known bug with the the API?


Viewing all articles
Browse latest Browse all 3719

Trending Articles



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