cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
15119
Views
0
Helpful
0
Replies

CAM - Custom Scripting/API Listener

Justin Chin-You
Level 1
Level 1

HI All,

I've been trying to find some guides and get some help working with CAM.

Scenario:

Within CAM monitor and asset to see when it goes offline. When the devices goes offline make an API Call (HTTP - GET- REST) to another system.

Within CAM create a listener for an API call to CAM that would refresh the device status and update it respectively.

I've figured out how to do the first bit; I'm using a Policy with a script to watch the device and then make the REST Call. However doing it this way means that the REST API call is made however often CAM runs/checks the policy. - How do I get this down to a single call until the state is reset and it transitions from "ON" to "OFF" again?

I've been looking at the documentation but it isn't clear to me how we create the event for the API Listener.

Thanks,

Justin

0 Replies 0
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:


Cisco Cloud Native resources: