[Users] [Engine-devel] Polling vs Pushing engine events
liran.zelkha at gmail.com
Tue Dec 17 08:24:45 UTC 2013
Note that you can usually get all the information you want using 1 API
call, which should still scale.
For instance, /ovirt-engine/api/vms will give you a list of all VMs and
their statuses, so you can just run an XPath and get the status of all of
On Tue, Dec 17, 2013 at 10:18 AM, Itamar Heim <iheim at redhat.com> wrote:
> On 12/17/2013 03:08 AM, Sven Kieske wrote:
>> we got the following problem:
>> we create / start / stop
>> hole vms /data centers / storage etc
>> (basically: everything ovirt can handle
>> via REST-API)
>> But if you want to know e.g. the status
>> of a vm (or anything) you need to constantly
>> poll the API.
>> This is not what we desire to do, as it
>> does not scale very well (e.g. polling
>> 100 vms).
> well, you can search events since last event you searched for, only for
> the specific type of event you are interested in, then check which vm its
>> Is there a standardized way of pushing information
>> from the engine?
> well, the notification service which sends emails on these actually polls
> for them every minute in order to send the emails.
> we are discussing snmptraps here
> one of the options this could be implemented with is via log4j getting all
> the audit log events, then you could use any log4j appender (db table, jms
> queue, etc.)
>  Bug 1032661 - Add SNMP trap as notification method to to
> Engine-devel mailing list
> Engine-devel at ovirt.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users