Quantcast
Channel: THWACK: Message List
Viewing all articles
Browse latest Browse all 21093

Re: does alert central work with sql jobs?

$
0
0

Hi,

 

Sorry, but right now it's impossible to use AC under some other database.

It's theoretically can be done, but right now there is no possibility to configure this behavior.

 

The only solution that I see is to configure some job that will make REST calls to application (although, I agree, we never document that we have API, but it can be used).

For query (select) it will use something very similar to SQL:

POST request to http://host:port/InformationService/Query

with json parameters

{

"parameters":{},

"query":"SELECT Id, Severity, State, Object, Message, LastNote, TimeRaised, Alert.User.Id, Alert.User.FullName, UserId, UserFullName, UserDeleted, Alert.AlertSource.Name, Alert.AlertSource.Url AS AlertSourceUrl, Alert.AlertSource.Id, AlertSourceId, AlertSourceName, AlertSourceDeleted, AlertSourceDefaultHidden, Alert.[Group].name, GroupId, GroupName, GroupDeleted, GroupDefaultHidden FROM AlertManager.Alert WHERE Id=41"

}

 

Regards,

Stepan.


Viewing all articles
Browse latest Browse all 21093

Trending Articles



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