Hi Community,
At times we need to integrate alarms with UIM. You have a number of options for doing this snmp traps, logmon, nimalarm and calling the REST API. We have enhanced the UIM Python REST API library to include the creation of alarms via REST. We have also provide example code in Git Hub on how to create the alarms in the alarmme.py file. It follows the same premise as the previous examples in this series.
The same sample configuration file format will work as in the previous examples posted. Note that you can modify the alarm severity to suit your needs and also close alarms by using the clear severity (assumes your source and suppression key match).
No need to fear the API. If you learn Python requests module and understand JSON you can have success. Hopefully the examples provided are helping you automate things via the API.
rtirak
JAllen11
Disclaimer: I am a CA employee. I work in the CA IT department. The code is not sanctioned by CA support or development. Test before using in production. I am not a product manager or product developer and has such cannot provide product insight beyond what is in the publicly available documentation.
Hi Robert,
We have never seen this drop in connection that you describe or wasp restarts. For the most part we run a lot of these everyday so our NOC would not have been happy about that. Maybe something to discuss with the support team as calls to the REST API should not do that.
Happy to hear the examples are helping. That is why we decided to post them. It is intimidating to start but once you see a few examples and get the hang of it is easy to follow and create your own solutions.
Alquin
Something I did notice though it seems when I run some of the scripts to automate with the API its causing connection drops to the UMP/Admin Console/Infrastructure Manager. It all most seems like the WASP is recycling for some reason. Have you ever seen this before?
Thanks for the other examples. I was however able to write my own and will upload the example I have created. Your examples were/are a lot of help!
A great collaboration example !