Interface EventsService.AddRequest

  • All Superinterfaces:
    Request<EventsService.AddRequest,​EventsService.AddResponse>
    Enclosing interface:
    EventsService

    public static interface EventsService.AddRequest
    extends Request<EventsService.AddRequest,​EventsService.AddResponse>
    Adds an external event to the internal audit log. This is intended for integration with external systems that detect or produce events relevant for the administrator of the system. For example, an external monitoring tool may be able to detect that a file system is full inside the guest operating system of a virtual machine. This event can be added to the internal audit log sending a request like this: [source] ---- POST /ovirt-engine/api/events File system /home is full alert mymonitor 1467879754 ---- Events can also be linked to specific objects. For example, the above event could be linked to the specific virtual machine where it happened, using the `vm` link: [source] ---- POST /ovirt-engine/api/events File system /home is full alert mymonitor 1467879754 ---- NOTE: When using links, like the `vm` in the previous example, only the `id` attribute is accepted. The `name` attribute, if provided, is simply ignored.