How to register a new system with the API



February 14, 2020

In the previous articles we created an agent definition and then registered it in AIMS. We will again use a REST client to show how this is done.The API to use here is

POST https://api.aimsinnovation.com/api/environments/{environmentId}/systems
{
"agentId": "aims.int-sys",
"majorVersion": 1,
"minorVersion": 0,
"name": "API AIMS"
}
 

Authorization can be set to "basic" and use your AIMS login credentials. Here, agentId is the same id you used when registering your agent. There are two more fields in the request: majorVersion and minorVersion. They hold the version number of your agent. If you registered a new agent without specifying anything version-related, you can leave them at 1 and 0, respectively, which are their default values when you register an agent. You still have to specify them explicitly in the request. In response to your request you will get an object describing your newly created system, which looks similar to what you have sent, but has an additional id field that identifies your new system.

You can then visit the Topology section in AIMS and see that your system is registered

Topics from this blog: Technical

RECENT ARTICLES

Technical

BizTalk: Undiscovered secret of DTA purge and Archive stored procedure

DTA Database is one of the most important databases in the BizTalk DB component. The issue in this database can cause a lot of performance issues in BizTalk. To keep the DB healthy, Microsoft...
Technical

Recovery of Master Secret Server

As a part of the recovery process during DR (Disaster Recovery) or any other unforeseen scenarios, one might have to restore the master secret to re-use the existing setup and data. This article will...
aiops

AIMS teams up with the Norwegian Computing Center to make predictions to alert of a possible problem even before the problem itself arises

At AIMS, we strive to alert as early as possible that some problem is arising for a business-critical system. We want to arrive as far as to make predictions to alert of a possible problem even...