Hello.
I was hoping someone had an idea on the best way to get activity information from a system in beaker.
My situation is that I am trying to incorporate parts of the Beaker CLI in a bash script to automate Request Tracker work. Part of this would require getting the activity history from a requested system. I didn't find anything suitable when looking through the Beaker CLI. wget wasn't returning the information that I needed from a call to #history. I'm throwing this out there to see if anyone on the list had any suggestions. Looking specifically for getting the information on User and Action:Returned.
Thanks, Shawn
Adding Keith Fryklund to the thread. I know he has automated things previously he maybe able to help.
On Thu, Sep 28, 2017 at 3:26 PM, Shawn Doherty sdoherty@redhat.com wrote:
Hello.
I was hoping someone had an idea on the best way to get activity information from a system in beaker.
My situation is that I am trying to incorporate parts of the Beaker CLI in a bash script to automate Request Tracker work. Part of this would require getting the activity history from a requested system. I didn't find anything suitable when looking through the Beaker CLI. wget wasn't returning the information that I needed from a call to #history. I'm throwing this out there to see if anyone on the list had any suggestions. Looking specifically for getting the information on User and Action:Returned.
Thanks, Shawn
--
Shawn Doherty
Software Engineer, Kernel-HW
Red Hat
314 Littleton Rd
Westford, MA 01886
sdoherty@redhat.com T: 19785891080 INTERNAL:-8131080 IM: sdoherty https://red.ht/sig
Beaker-devel mailing list -- beaker-devel@lists.fedorahosted.org To unsubscribe send an email to beaker-devel-leave@lists.fedorahosted.org
Beaker does not have a client command to get the activity from a system. You could use this API[1] which gives you the user and action information.
[1] https://beaker-project.org/docs/server-api/http.html#get--systems-(fqdn)-act...
On Fri, Sep 29, 2017 at 8:51 AM, Jeffrey Burke jburke@redhat.com wrote:
Adding Keith Fryklund to the thread. I know he has automated things previously he maybe able to help.
On Thu, Sep 28, 2017 at 3:26 PM, Shawn Doherty sdoherty@redhat.com wrote:
Hello.
I was hoping someone had an idea on the best way to get activity information from a system in beaker.
My situation is that I am trying to incorporate parts of the Beaker CLI in a bash script to automate Request Tracker work. Part of this would require getting the activity history from a requested system. I didn't find anything suitable when looking through the Beaker CLI. wget wasn't returning the information that I needed from a call to #history. I'm throwing this out there to see if anyone on the list had any suggestions. Looking specifically for getting the information on User and Action:Returned.
Thanks, Shawn
--
Shawn Doherty
Software Engineer, Kernel-HW
Red Hat
314 Littleton Rd
Westford, MA 01886
sdoherty@redhat.com T: 19785891080 INTERNAL:-8131080 IM: sdoherty https://red.ht/sig
Beaker-devel mailing list -- beaker-devel@lists.fedorahosted.org To unsubscribe send an email to beaker-devel-leave@lists.fedorahosted.org
Beaker-devel mailing list -- beaker-devel@lists.fedorahosted.org To unsubscribe send an email to beaker-devel-leave@lists.fedorahosted.org
Matt this looks like what I will need. Thank you for pointing out.
On Thu, Sep 28, 2017 at 7:03 PM, Matt Jia mjia@redhat.com wrote:
Beaker does not have a client command to get the activity from a system. You could use this API[1] which gives you the user and action information.
[1] https://beaker-project.org/docs/server-api/http.html#get- -systems-(fqdn)-activity-
On Fri, Sep 29, 2017 at 8:51 AM, Jeffrey Burke jburke@redhat.com wrote:
Adding Keith Fryklund to the thread. I know he has automated things previously he maybe able to help.
On Thu, Sep 28, 2017 at 3:26 PM, Shawn Doherty sdoherty@redhat.com wrote:
Hello.
I was hoping someone had an idea on the best way to get activity information from a system in beaker.
My situation is that I am trying to incorporate parts of the Beaker CLI in a bash script to automate Request Tracker work. Part of this would require getting the activity history from a requested system. I didn't find anything suitable when looking through the Beaker CLI. wget wasn't returning the information that I needed from a call to #history. I'm throwing this out there to see if anyone on the list had any suggestions. Looking specifically for getting the information on User and Action:Returned.
Thanks, Shawn
--
Shawn Doherty
Software Engineer, Kernel-HW
Red Hat
314 Littleton Rd
Westford, MA 01886
sdoherty@redhat.com T: 19785891080 INTERNAL:-8131080 IM: sdoherty https://red.ht/sig
Beaker-devel mailing list -- beaker-devel@lists.fedorahosted.org To unsubscribe send an email to beaker-devel-leave@lists.fedor ahosted.org
Beaker-devel mailing list -- beaker-devel@lists.fedorahosted.org To unsubscribe send an email to beaker-devel-leave@lists.fedorahosted.org
-- Matt Jia mjia@redhat.com Software Engineer, Products & Technologies Operations Red Hat
Beaker-devel mailing list -- beaker-devel@lists.fedorahosted.org To unsubscribe send an email to beaker-devel-leave@lists.fedorahosted.org
On 09/28/2017 09:26 PM, Shawn Doherty wrote:
Hello.
I was hoping someone had an idea on the best way to get activity information from a system in beaker.
My situation is that I am trying to incorporate parts of the Beaker CLI in a bash script to automate Request Tracker work. Part of this would require getting the activity history from a requested system. I didn't find anything suitable when looking through the Beaker CLI. wget wasn't returning the information that I needed from a call to #history. I'm throwing this out there to see if anyone on the list had any suggestions. Looking specifically for getting the information on User and Action:Returned.
Thanks, Shawn
You can get the activity of a system via Teiid[1] (i.e. query an SQL database).
Here's an example code & query:
http://git.engineering.redhat.com/git/users/azelinka/udelatory/tree/beaker-s...
[1] https://docs.engineering.redhat.com/display/HTD/Teiid+User+Guide
Hope that helps,
beaker-devel@lists.fedorahosted.org