DX NetOps Manager

Expand all | Collapse all

CAPM notifications script

  • 1.  CAPM notifications script

    Posted 05-17-2019 12:03 PM

    Configure Notifications - How to start building this?

     

    Hello CAPM community, 

    I am looking into building a script which shares all generated alarm output to a file, which we can read out with our fault mgt system and select the needed information from there.

     

    I have checked the https://docops.ca.com/ca-performance-management/3-6/en/using/configure-notifications

    But I cannot get it working.

    I created the .sh file and the .txt file but no output is created in the .txt or .sh file when configuring notifications to the .sh file in CAPM GUI.

    Is there anyone who can help me get into the first steps for this?

    It would be really appreciated...



  • 2.  Re: CAPM notifications script

    Posted 05-23-2019 04:13 PM

    Is the Notification configured properly to trigger on the correct events as they are raised?

     

    A good test might be creating a second Notification, and making it a copy of the one that isn't working. This time though set it to send emails. Does it work? Are the emails received when expected?

     

    Does the script work independent of the Notification calls if fed fake data?

     

    Are there errors in the EMService.log files related to the Notification runs and calling the custom script?



  • 3.  RE: Re: CAPM notifications script

    Posted 06-07-2019 11:51 AM
    Thanks for the info, I have modified the action to e-mail, and that seems to work fine (I did not assign any limiting parameters)
    Still cannot get it to work via script, unfortunately...
    On the docops it is not made very clear how to build that script, with the sh file, etc.

    Is there a more common way to do this?