How to configure discovery pattern for Amazon FSx

Craig_Sellin
Tera Contributor

Looking for advice on creating pattern to describe file systems for Amazon AWS FSx.

4 REPLIES 4

Saiganeshraja
Kilo Sage
Kilo Sage
  1. Set up Cloud Discovery: First, you need to set up Cloud Discovery in your ServiceNow instance. This involves providing the necessary permissions and credentials for your AWS account1.

  2. Use Discovery Patterns:  Once Cloud Discovery is set up, you can use Discovery Patterns to discover components of your Amazon AWS Cloud deployment 

  3. Configure Discovery Patterns for Amazon FSx: Now, let’s say you want to discover an Amazon FSx instance. You would create a new discovery pattern or modify an existing one to include Amazon FSx. This pattern would define what information to collect about the FSx instance and how to represent it....

  4. Run Discovery: After the pattern is configured, you can run Discovery to find your Amazon FSx instances and populate their information in your ServiceNow CMDB.

Hello @Saiganeshraja,

 

Thanks, can you please advise what modifications are required in existing patterns to fetch FSx information.

 

It looks the KBs are not longer available, do you know where I can find them? thanks

Churchie73
Tera Contributor

Hi Craig,

The advice is to make a Cloud Rest query to the FSx service "https://fsx.{region}.amazonaws.com/".
The part you will want to pay attention to is the Headers which the documentation around is sparse for FSx. I was able to find it through 3rd part API sites like any-api.com.
Ex: Headers "X-Amz-Target:AWSSimbaAPIService_v20180301.DescribeFileSystems,Content-Type:application/x-amz-json-1.1"

This should get you started.
I personally recommend to put the response into a single string (Delimited Text) variable and then parse it later as needed which is best practice.

Good luck.

If this works for you please mark my response as such.