HPE OpsRamp
1825047 Members
3026 Online
109678 Solutions
New Discussion

REST API Using Ops Ramp

 
dishvijay
Occasional Collector

REST API Using Ops Ramp

I would like to know if OpsRamp has the capability to act as a REST API client, allowing it to construct and send HTTP requests to any systems with a REST API, to retrieve information [provided the necessary API documentation and credentials for the target system is available] ?

If any of you had the experience of connecting OpsRamp to MS Defender, Avantra, Dell EMC Networker, Dell EMC DataDomain or FalconStor - StorGuard/StorSight ? - Would like to understand the pain points and challenges in this integration.

9 REPLIES 9
RaghuIyengar
HPE Pro

Re: REST API Using Ops Ramp

I don't think it is a primary use case, but potentially it can be done using Process automation & REST API integrations for inbound and outbound.



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Ashay-OpsRamp
HPE Pro

Re: REST API Using Ops Ramp

Hi  dishvijay,

Can you elaborate the use case? What information are you trying to capture from MS Defender, Avantra, Dell EMC Networker, Dell EMC DataDomain or FalconStor - StorGuard/StorSight ?

Eg:

Alerts? - You can script the Rest API of above mention tool and then post it back to OpsRamp using OpsRam's Post Alert API.

 



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
dishvijay
Occasional Collector

Re: REST API Using Ops Ramp

Thanks for the response Ashay.

Let me give a context, while in traditional monitoring we use SNMP and Agents for monitoring, wanted to use Rest API for the alerts and metrics from a monitoring perspective.

All the tools i have mentioned - had Rest API - so i would like to know how to leverage this for Monitoring Alerts and Events send over to OpsRamp which create a ticket in Service Now

As a first step, am trying to read the API documentation of these tools to start with have been reading for Falconstor - https://openfalcon.docs.apiary.io/#reference/hbs/configreload/get?console=1

I started to get a feeling that not all metrics or parameters could be got through Rest API - please correct me if am wrong.

If i need to leverage the tools, as you have mentioned a SCRIPT, could you pleas elaborate more on this process and steps, like what needs to done on the tool end and what needs to be done on the OpsRamp end also if there is any dependencies and prerequisites need to be checked.

dishvijay
Occasional Collector

Re: REST API Using Ops Ramp

Well it is not a primary use case and it was crazy of me to see how best we can do using the Rest API - Am not sure how successful this would be as it depends on the API and as you mentioned the intended use. But again if Rest APi can be a standard of communication wondering if this could be leveraged from tools/monitoring/events perspective.

Ashay-OpsRamp
HPE Pro

Re: REST API Using Ops Ramp

- If above mention tools have a way to call the REST API, then you can use OpsRamp's post alert API called from respective tools to post alerts in OpsRamp.

- Script Way : You can host a script as a cron job 

1. Calling 3rd Party REST API to fetch alerts 

2. Call OpsRamp Post Alert API to create alets in OpsRamp

 



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
dishvijay
Occasional Collector

Re: REST API Using Ops Ramp

Thanks for the response.

From your message, here is the summary of my understanding:

Other tools alerts can be posted to opsramp through this "opsramp post alert API" by configuring the tools to call this opsramp post alert API. And i need to check if the tools can do this or not ?

Let me know if understood this correct.

To take this forward i need further help:

(1) If the tools CAN call the post alert API, please share me the documentation on how to do this so i could work with the tools team to configure this
(2) If the tools DOES NOT have the capability to call the opsramp post alert api - then we have to create a script, host on the opsramp server, run at a particular interval and fetch the alerts from the rest api of other tools - if this is correct please share me the documentation on how to do this

RaghuIyengar
HPE Pro

Re: REST API Using Ops Ramp

Hi

Please refer to : https://develop.opsramp.com

There are 2 types of API - v2 and v3 APIs which you can choose from the top right corner.

 

Regards
Raghu



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
RaghuIyengar
HPE Pro

Re: REST API Using Ops Ramp

Also please refer to : https://docs.opsramp.com for all available monitoring:

Dell Networker:

https://docs.opsramp.com/integrations/backup-and-recovery/dell-networker/working-with-dell-networker/

Also you can refer to : https://docs.opsramp.com/support/reference/recommended-templates/ for recommended templates for specific technology



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
dishvijay
Occasional Collector

Re: REST API Using Ops Ramp

Thanks Raghu