Anybody using netxms without DeleteAlarms/EventsOfDeletedObject?

Started by Lukas, April 09, 2014, 05:28:52 PM

Previous topic - Next topic

Lukas

Hi netxms users,
I wonder if someone is using netxms with disabled function that deletes events and alarms for deleted objects (server config variables DeleteEventsOfDeletedObject and DeleteAlarmsOfDeletedObject).
If you keep events and alarms related to deleted objects, how do you search for these events and alarms in event and alarm log if you want to find some info about deleted object? How do you know what was the source of event and alarm if there is only object id and no object name?

Why I want to know that: user wants to know what was the alarm state and events related to objects that were deleted during the last month because there are some questions regarding SLA. Not deleting any objects would be obvious solution but unfortunately not possible in this scenario.

Thanks and Regards,
Lukas

Victor Kirhenshtein

Hi!

You will see alarms and events for deleted objects in log with object ID in square brackets instead of name. However, it is not possible to filter events by non-existing object ID. The only option is to query directly from database. You can find out name of deleted object in audit log - search for records with message like Object object_name deleted - in object column you'll find ID of deleted object.

This is not very convenient, but we never thought that this feature will be used on a regular basis - it was meant only for exceptional cases.

Best regards,
Victor

Lukas