Beginners Guide to using REST for pulling alarms in Spectrum
search cancel

Beginners Guide to using REST for pulling alarms in Spectrum

book

Article ID: 400508

calendar_today

Updated On:

Products

Network Observability

Issue/Introduction

We are very new to REST and want to explore the capabilities just from a browser (without a dedicated REST client).

We would like to know what the syntax is for creating a basic REST request to pull alarm information.

Environment

Spectrum: ANY

OneClick REST interface

 

Resolution

A simple REST request that can pull alarms and useful attributes can be done directly from a browser like

 

http://(OneClick Server):(port)/spectrum/restful/alarms?attr=0x12022&attr=0x11f4d&attr=0x12b4c&attr=0x1006e

 

Some useful alarm attributes that you can use by just appending the attribute value after the &

 

0x12022 - Trouble Ticket ID
0x11f4d - Acknowledged
0x12b4c - Alarm Title
0x11f4e - Creation Date
0x11f50 - Cause Code
0x11ee8 - Model Class
0x11f56 - Severity
0x11f57 - TroubleShooter
0x23000e - Device Type
0x1006e - Model Name
0x129fa - Model Handle

 

 

Additional Information

Additional Attributes are listed here