DX Unified Infrastructure Management

 View Only

  • 1.  Trigger API when changes/additions are made to a UIM device

    Posted Nov 08, 2024 05:25 AM

    Hi all,

    I'm using the uimapi probe and looking for a method of firing the /uimapi/devices api call when a change or addition is made to a device.

    The use case is to upload our device data to a CMDB and rather than upload everything periodically, to only trigger a refresh when a change or addition is made to a device.

    Any thoughts on how to achieve this are welcomed.



  • 2.  RE: Trigger API when changes/additions are made to a UIM device

    Posted Nov 08, 2024 06:17 AM

    I've got the API running from Power Automate and also got Nexec running the curl command and saving the output to a file.

    curl -X GET "https://OC_ADDRESS/uimapi/devices" -H "accept: application/json" -u administrator:password -o C:\path\to\output.txt

    I'm thinking of using Logmon somehow to initiate an action when the contents of the file has changed.




  • 3.  RE: Trigger API when changes/additions are made to a UIM device

    Posted Nov 08, 2024 10:14 AM

    Think I've got the makings of something.

    Logmon (full mode) creates an alarm which is picked up by an AO rule which posts via messagegtw to a Power Automate API.  From there I can get the data to it's destination.