Disabling/enabling the on-premise appliance for maintenance purposes through the ASM API

book

Article ID: 125594

calendar_today

Updated On:

Products

CA App Synthetic Monitor NIMSOFT CLOUD USER EXPERIENCE MONITOR

Issue/Introduction

We are looking for a way to enable/disable the On-Premise stations for maintenance purposes through the ASM API but couldn't find any command to do so:
https://api.asm.ca.com/1.6/

 

Is there a way to disable/enable the On-Premise stations through the ASM API?

Environment

ASM 10.1

Resolution

To enable maintenance mode for an OPMS station you can use cp_mod API call. Provide nkey, ID of the station and active (=0):





You can get the ID of the station in the UI, go to On-Premise / Stations and click on the selected station. The ID is in the URL:


Attachments