Is there a way to retreive all alarms include completed alarms?

I want to retreive a list of all alarms from the begeining of time

i tried this according to the AlarmEventViewer example.

IAlarmClient alarmClient = _alarmClientManager.GetAlarmClient(EnvironmentManager.Instance.MasterSite.ServerId);
                AlarmLine[] alarms = alarmClient.GetAlarmLines(0, 10, new VideoOS.Platform.Proxy.Alarm.AlarmFilter()
                {
                    Orders = new OrderBy[] { new OrderBy() { Order = Order.Descending, Target = Target.Timestamp } }
                });

but i only get the In progress alarms. is there a way get all alarms (active and not active) list?

thank you.

If you look at the sample, you can see “status” in the dialog. When you close an alarm, the status of the alarm change from 1 to 11. (9 is “On hold”)

So actually you can get all alarms including closed status.

Thanks ,

I was just needed to reset the “delete alarm after 1 day” definition, in order to keep alarm history alive.

just out of curiosity, is there a way to retrieve those deleted alarms?

are they getting archived or getting fully deleted?

Thanks

No, there is no way to retrieve deleted alarms because they are deleted from database.

It is possible to setup Alarm and Event retention time, Start Management Client – tools -options -

Thank you very much for your answer.