Does anyone have a good solution to monitor Bamboo remote agents? I know you can see if they are online within the adminsitration area, but that does not help if you are not in the website, or out of the office.
I have searched the Documentation and all I have found is two requests for the feature. I can't find any additional info.
thanks in advance.
There isn't a REST API for agents. I'm not a plugin developer, but it looks like it's possible to write plugins to get agent stats since there are Bamboo plugins for that like this one: https://marketplace.atlassian.com/plugins/com.pronetbeans.bamboo.agentutils-basic/version/1
What I would do is write tools that make direct database queries since all that information is in those tables as to what agents are online/offline, what jobs are running, etc. Or you could write a script to access the agent status page and parse the HTML for relevant information. Note that both these solutions are rather hacky as you are accessing information in a format that can (and probably will) change between Bamboo releases.
thanks for tip Brent. I was hoping someone would have made a plugin. I hate to have to hack it everytime Atlassian make a new release.
Here's to hoping Atlassian can add it to the next release :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Brent, do you know where in the database I can find the remote agents?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Jared. At least on Bamboo v4.3, the agent information is found in the QUEUE table. You can cross-referrence those with the BUILDRESULTSUMMARY table if you want to find specifics on what job is actually running on the agents.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Okay, thanks a lot! Just to make sure, the AGENT_TYPE column would be "REMOTE" for remote agents (my bamboo doesn't have any remote agents so I can't check)?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You're correct Jared.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Its actually discouraged to make calls directly to the DB. The Bamboo internal Java APIs provide all info needed, and additionally a free and open plugin provides a REST api to do the same.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To pro-actively monitor and manage agents I have released a free and open source plugin until Atlassian fills the gap.
The use of UUID tokens over credentials allows scripted interactions from tools like monit.
https://marketplace.atlassian.com/plugins/com.edwardawebb.bamboo-agent-apis
https://eddiewebb.atlassian.net/wiki/display/AAFB/Agent+Apis+for+Bamboo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To pro-actively monitor and manage agents I have released a free and open source plugin until Atlassian fills the gap.
The use of UUID tokens over credentials allows scripted interactions from tools like monit.
https://marketplace.atlassian.com/plugins/com.edwardawebb.bamboo-agent-apis
https://eddiewebb.atlassian.net/wiki/display/AAFB/Agent+Apis+for+Bamboo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ed, any chance of getting this updated for the latest versions of Bamboo?
Thanks a lot
Daniel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I would also like this to be updated for the latest versions of Bamboo - particularly 5.12.3.1.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I did manage to find a plugin that notifies if the agent goes offline. You can get it from the market place.
https://marketplace.atlassian.com/plugins/com.pronetbeans.bamboo.agentutils-basic/versions#b1
It works with Bamboo 5 as well
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.