Assuming I understand what you are after if you can get the action_id
you can pull info about the events. I have a very basic script that
fires off events to SW and then dumps the output of those events at the
command line. The key part of the code is something like:
script_results = client.system.getScriptResults(key, action_id)
for node in script_results:
print ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
print node.get('output')
Perhaps you can find the action_id by searching for the name of the
event etc. Have not reviewed the API regarding this.
On 04/25/2012 05:54 AM, Trent Johnson wrote:
Hi Folks,
I'd like to get a report of all config file differences e-mailed to me from
cron. I can handle the scripting/parsing, but not sure where to start to get
this information out of the spacewalk systems. Any ideas?
Thanks,
Trent
_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list
_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list