# Collect-customer-owned-SMAX-OPB-Agent-information-and-check-status_686073768
## Introduction

This document describes how to utilize an existing automation job to gather information and current status of all user-configured SMAX OPB agents on an ESM farm.

## Collect SaaS Farm SMAX OPB agent status

- Login to [ESM SaaS Operation Automation System (Jenkins)](https://saas-ops.itsma-ng.net/)
- Click " [ESM-SaaS-SMAX-OPB-Agent-Info-Collection](https://saas-ops.itsma-ng.net/job/ESM-SaaS-SMAX-OPB-Agent-Info-Collection/) " job
- Click "Build Now" to trigger the job, this job will start to collect all SaaS customer's OPB agent status for each farm

![](attachments/686073768/686073717.png)

- Once the job finished, an email will be sent to Cloud DevOps PDL **<MFI-ESM-SaaS-DevOps@ [opentext.com](http://opentext.com/) >** with the attachement of OPB agent status report

![](attachments/686073768/686073718.png)

## Check SMAX OPB agent status report

- Extract the zip file, you will find the report file "smax\_opb\_agents.csv"
- Check the report you will get following information:
	- OPB agent belongs to the customer farm, tenant id
		- OPB agent name
		- OPB agent ID
		- OPB agent version
		- OPB agent last seen timestamp
		- OPB agent status

## How to use this report

- We can use this report to check the status of the OPB agent in the early and late stages of the farm upgrade to determine whether the OPB agent is automatically upgraded successfully.
- A successful upgrade of the OPB agent is marked by the version number being updated to the latest, the **last seen timestamp** being updated to the most recent time, and the status being ready.

## Check SMAX OPB Agent Status in BI Report

[https://app.powerbi.com/groups/fac06a69-6340-4715-b8fe-4bdc0ca9af14/reports/cf509ffe-325f-4c1b-a507-44b93e6d85ca/ReportSection79d51b9702cdd9e9f366?experience=power-bi](https://app.powerbi.com/groups/fac06a69-6340-4715-b8fe-4bdc0ca9af14/reports/cf509ffe-325f-4c1b-a507-44b93e6d85ca/ReportSection79d51b9702cdd9e9f366?experience=power-bi)

![](attachments/686073768/686073721.png)

## Attachments:

[downloadyWfgg054641.zip](attachments/686073768/686073714.zip) (application/zip)  
[image2023-11-3\_13-50-29.png](attachments/686073768/686073717.png) (image/png)  
[image2023-11-3\_13-55-27.png](attachments/686073768/686073718.png) (image/png)  
[image2023-11-3\_13-58-44.png](attachments/686073768/686073721.png) (image/png)
