After deleting/decommissioning robots, some robot inactive alarms were still being generated and showing up.
Recommended following some articles on robot decommissioning.
How to delete robots in UIM when a VM with a robot has been powered off/decommissionedhttps://ca-broadcom.wolkenservicedesk.com/external/article?articleId=117796
How to effectively decommission UIM Robotshttps://ca-broadcom.wolkenservicedesk.com/external/article?articleId=136703
But the customer preferred using a simple pu command to clear the alarm using the alarm's nimid.
Here is an example using the pu command line:
pu.exe -u administrator -p <password> /xxxxAB/FExxxxx_HUB01/xxxxxxxuim01/nas close_alarms administrator BV74192982-01234
The close_alarms call back command has two required arguments –> “by” and “nimid”. I supplied the administrator userid for the “by” argument. You can supply whatever you like there, so it could be a script name also (no spaces in it or quotes would be needed around it). This could be in a batch or shell script that is called by another script that supplies the nimid read from a file as a script argument. So then the line would be:
pu.exe -u administrator -p <password> /xxxxAB/FExxxxx_HUB01/xxxxxxxuim01/nas close_alarms administrator %1
If you can deploy and use the nsa (Nimsoft Scripting Agent), then you could write a LUA script that would read in the file line by line and execute a nimbus.request(<path>, <command>, <pds arguments>)
Also you can also make a post in the UIM community to see if anyone has already created something similar.
Here is a real/live working example of a pu command to close alarms. Note that you have to give it a single distinct NIMID:
C:\Program Files (x86)\Nimsoft\bin>pu.exe -u administrator -p xxxxxxxx /lvxxxxx000x23_domain/lxxxxx000x23_hub/lvxxxxx000x23/nas close_alarms administrator HT90800686-01670
Feb 11 19:49:09:324 2 pu: _nimInit
Feb 11 19:49:09:340 2 pu: nimCharsetSet() - charset=
Feb 11 19:49:09:340 0 pu: Failed to read a valid probe_crypto_mode from controller. Assuming pre-FIPS and using TWO_FISH
Address: /lvxxxxx000523_domain/lvxxxxx000523_hub/lvxxxxx000523/nas Request: close_alarms
C:\Program Files (x86)\Nimsoft\bin>