DX Unified Infrastructure Management

 View Only

Probe SDK 2.5 - Template generation is not working as expected

  • 1.  Probe SDK 2.5 - Template generation is not working as expected

    Posted Jun 04, 2020 06:37 AM
    Hi

    When developing a probe using the Probe-SDK 2.5 we have som issues with the POBC/template configuration.

    One of the issues can be reproduced using the com.nimsoft:remote-probe-pobc-archetype with only the sample code provided with the archetype.

    How this is built and deployed:
    1. Create a new probe using the com.nimsoft:remote-probe-pobc-archetype and Probe-SDK 2.5.
    2. run mvn clean install
    3. add the generated .zip-file to archive and deploy the probe to a robot.

    To reproduce the error:
    4.
    Add one or more test-Profiles in Probe Configuration.
    5. In Template Editor: Create a new template. Turn on "Publish Data" and "Publish Alarms" (we have tested with static alarms) for some or all metrics and verify the changes in Probe Configuration
    6. In Template Editor remove "Publish Alarms" for one of the metrics.

    The removed "Publish Alarms" is not updated and is still set for individual Profiles/Resources in "Probe Configuration". (We expected it to be removed from all Profiles)

    We also experience other issues, but we have not been able to reproduce them in a consistent manner. Examples are

    • Some Profiles and their metrics are not marked "This configuration is managed by Templates.", but the settings from templates are still sett.
    • Some Profiles and their metrics are not marked or updated by the template at all.
    Has anyone else on this forum experienced this behavior? and maybe found a solution/workaround?
    Has anyone successfully developed a probe with working POBC?