I want to get notified when my remote agent goes down. Is there any way to do that ? Any help will be appreciated.
I used the REST API to check status of all agents, and send me an email if the agent is offline.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Anand Daparthi,
Perhaps you should be considering configuring the remote agent to reconect to Bamboo server once the communication is lost/broken by following Remote agent does not restart after server outage
Regarding on notification, as my colleague mentioned, Bamboo does not offer this feature out of the box. With that said, you could:
Kind regards,
Rafael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Bamboo doesn't have a feature to notify users when an agent goes offline. You can configure a cron job to check the service status periodically and make it restart if it went down. This can be extended to send a notification based on that.
I was thinking of another way by utilizing Bamboo's default feature, but not precisely based off when the agent is offline.
What we can do is configure requirements for build plans and configure the Job Queued Without Capable Agents notification. With this, any build that is queued that has a requirement, but isn't matched by any online remote agent, Bamboo will send a notification.
Hope that helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.