REST Call to initiate SNMP/ICMP poll of a device
search cancel

REST Call to initiate SNMP/ICMP poll of a device

book

Article ID: 220024

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

Is there a mechanism to initiate a PING of a device via Rest API call? 

Environment

Release : 20.2

Component : Spectrum Core / SpectroSERVER

Cause

How to use the REST API to make send a ping to a device model in DX NetOps Spectrum.

Resolution

Sending the 0x100a4 action to a model with the following curl command will initiate a ping to the device with the model handle 0x96000ad in the below example. 

curl -H "Content-Type: application/xml" -X GET http://Administrator:spectrum@localhost:8080/spectrum/restful/action/0x100a4?mh=0x96000ad