Need API Attribute ID to check SNMP polling status in Spectrum
search cancel

Need API Attribute ID to check SNMP polling status in Spectrum

book

Article ID: 259677

calendar_today

Updated On:

Products

DX NetOps

Issue/Introduction

We are trying to do a REST API call to check whether the existing device is pollable or not.

Can you please share the attribute to perform this check via REST API?

 

Environment

Release : ALL

Resolution

You would want to look at 0x110ed (Dev_Contact_Status):

https://api-broadcom-ca.wolkenservicedesk.com/attachment/get_attachment_content?uniqueFileId=c5R2nk92Mqvf781Q9zVbBA==

The device is Not Responding via SNMP = 0
 
The Device is Responding via SNMP = 1
 

Additional Information

Example REST CALL to get attribute value for a specific device:

 
https://OC-SERVER:8443/spectrum/restful/model/0x1001cd2?attr=0x110ed
                                                                               model_handle     attribute