Re: [Users] get VM events via API?

2014-01-20 Thread Sven Kieske
Hi Itamar, I think this is some part of what I was looking for. But in webadmin I can see also some other data, like the currently logged in user via ovirt-guest-agent. Is this stuff also exposed via API? That would be cool. Am 17.01.2014 21:14, schrieb Itamar Heim: On 01/17/2014 04:30 PM,

Re: [Users] get VM events via API?

2014-01-20 Thread Itamar Heim
On 01/20/2014 11:08 AM, Sven Kieske wrote: Hi Itamar, I think this is some part of what I was looking for. But in webadmin I can see also some other data, like the currently logged in user via ovirt-guest-agent. Is this stuff also exposed via API? it should, but do you see that under events

Re: [Users] get VM events via API?

2014-01-20 Thread Sven Kieske
No, in webadmin this can be accessed by clicking on a vm and select the sub tab Sessions. Is this exposed via API? Use case would be to see if the user logs in, so I can see and verify the vm setup did go well. Am 20.01.2014 10:48, schrieb Itamar Heim: it should, but do you see that under

Re: [Users] get VM events via API?

2014-01-20 Thread Itamar Heim
On 01/20/2014 04:08 PM, Sven Kieske wrote: No, in webadmin this can be accessed by clicking on a vm and select the sub tab Sessions. Is this exposed via API? Use case would be to see if the user logs in, so I can see and verify the vm setup did go well. i couldn't see it as well with my

Re: [Users] get VM events via API?

2014-01-20 Thread Michal Skrivanek
On Jan 20, 2014, at 15:12 , Itamar Heim ih...@redhat.com wrote: On 01/20/2014 04:08 PM, Sven Kieske wrote: No, in webadmin this can be accessed by clicking on a vm and select the sub tab Sessions. Is this exposed via API? Use case would be to see if the user logs in, so I can see

Re: [Users] get VM events via API?

2014-01-20 Thread Sven Kieske
I've done that: https://bugzilla.redhat.com/show_bug.cgi?id=106 Am 20.01.2014 15:12, schrieb Itamar Heim: i couldn't see it as well with my 3.3, please open a bug. -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH Co. KG Königsberger Straße 6

Re: [Users] get VM events via API?

2014-01-17 Thread Sander Grendelman
I did a quick test with ovirt-shell: # Query vm id: [oVirt shell (connected)]# list vms --query name=testvm id : 8b2ad3a2-9704-47e6-99f1-f196856d7bd5 name : plsweb02 [oVirt shell (connected)]# # List events: list events --kwargs vm-id=a82874bb-152d-4efd-952b-3f3304af7bb3

Re: [Users] get VM events via API?

2014-01-17 Thread Sven Kieske
Hi, this seems to work, but as far as I see I just get the events from the last start of the vm until now? Can the time range or the number of reported events be influenced in some way? Additionally I didn't find this function in REST-API yet. Maybe I'm looking in the wrong direction.. Am

Re: [Users] get VM events via API?

2014-01-17 Thread Itamar Heim
On 01/17/2014 04:30 PM, Sven Kieske wrote: Hi, this seems to work, but as far as I see I just get the events from the last start of the vm until now? Can the time range or the number of reported events be influenced in some way? Additionally I didn't find this function in REST-API yet. Maybe