[Spacewalk-list] system.listSystemEvents - Spacewalk 1.8

Anton Pritchard-Meaker anton.pritchard-meaker at kit-digital.com
Fri Jan 25 14:24:57 UTC 2013


Solved with a sort on my array, sorry guys!

From: spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Anton Pritchard-Meaker
Sent: 24 January 2013 10:45
To: spacewalk-list at redhat.com
Subject: [Spacewalk-list] system.listSystemEvents - Spacewalk 1.8

Hi All,

I've got some perl code to return system events which uses system.listSystemEvents API call (segment and Dumper response attached as perl.txt).

I have run the same package install 4 times today (after downgrading on the recipient box itself) and the GUI recognises this and returns the latest installation Event ID as 430 under the history section. The API does not return 430, it stops at 427 (as per the attachment - this is the last entry from the Dumper output - the events seems to be listed sequentially per ID and this is the last one).

Not too sure what's going on here. For some context - I am trying to get the latest event ID of a package installation to then return whether or not it is successful via a script.

Cheers,

Anton Pritchard-Meaker | Unix Engineer
+44 (0) 7834 751335 Mobile | antonpm1 Skype

KIT digital | York | www.kitd.com<http://www.kitd.com/>  |  NASDAQ: KITD  |  Vision of the Future

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20130125/f2bda12e/attachment.htm>


More information about the Spacewalk-list mailing list