Resolve an Alarm by API

Matthias
Matthias Member Posts: 56 ✭✭✭
edited December 4 in Scripts

Hey all,

I am not sure if this is possible so I hope someone of you already tried it :)

I would like to make more use of the alarm type "Information" to just track actions like when a specific user logged in to a server or a backup has been succesfuly. This type of alarm does not require a specific action/task from my side so Information should be the best type. I only need this info when something goes wrong to track back into the past.

Alarms with the type "Information" cannot be auto-closed which makes not much sense to me.
Currently I have thousands of open alarms just because of sucesful backups. This is not very productive as it hides other types of alarms. Closing them manual would be a daily task which I would like to avoid.

Therefore I thought to automate it via the API. Unfortunately from the API documentation I did not find a method how to update an alarm.

Do you know if this is possible?

Comments

  • nina
    nina Administrator Posts: 428 admin

    Hi @Matthias -  I don't believe it's possible.

    You can use the Alerts tab and filter the necessary alerts and then resolve them in bulk. Would that work? Or too manual?

  • Matthias
    Matthias Member Posts: 56 ✭✭✭

    Hi @nina ,

    Thanks for the reply.
    I am more looking into something full automatic. "Info" should not require any interaction and is just for tracking purpose. Or do I use the "Info" wrongly?

  • kim
    kim Member Posts: 109 ✭✭✭

    Hi @Matthias,

    i wonder if we could leverage the AI tools to help automate these tasks? I haven't tried it yet, but I feel like potentially we could use that.

  • Matthias
    Matthias Member Posts: 56 ✭✭✭

    Hi @kim

    I think AI would be a great help in a lot of different actions but in some actions I would prefer just defining a static simple rule :-)
    The reason is that AI got a lot better within the last few years but from my point of view it still requires a human to look at it and confirm the action.
    My request is a very basic action which could be handled in a rule. In case that AI e.g. misinterprets an ERROR with an INFO and closes it down then this would be a very huge impact.

    AI is a great hype and most like a very big part in the future but we are still in 2023 ;-)

  • nina
    nina Administrator Posts: 428 admin

    Hi @Matthias - You could limit the 'noise' generated by the Threshold by only generating Information Alerts from certain Event IDs. The only other option would be for you to export the Information Alerts to a different tool via API and set up auto-close rules using a 3rd party.

  • Matthias
    Matthias Member Posts: 56 ✭✭✭

    Hi,

    someone did raise a support ticket for me (Thanks! :-) ) and support did confirm that by today it is not possible to perform my request.
    I think the following feature request shall cover what I need:
    https://atera.uservoice.com/forums/936306-ideas-and-feedback/suggestions/44893273-allow-to-resolve-alerts-via-api-rather-than-only

  • nina
    nina Administrator Posts: 428 admin

    Yes, I opened the ticket. Okay, thank you for updating!