This section helps you in editing certain parameters for Alarming Notifications to flow in Operational UI Notification log view.

Procedure

  1. Go to SAM installed location: /opt/InCharge/SAM/smarts/bin.
  2. To enable or disable the alarm notifications, edit the alert_svc_msg.conf file using sm_edit command.
    For example, ./sm_edit ../conf/icoi/alert_svc_msg.conf.
  3. To enable an alarm, set the following parameter to True which is the default value. To disable an alarm, modify the value from True to False. If you change the value, then you must restart the OI server.
    EnableAlertServiceSubscription
  4. Generate certificates and get the username and password for the Kafka Access Settings Credential. To get the certificates Scram username and password, run the following commands.
    a) kubectl get secret edge-cluster-ca-cert -n kafka-edge -o jsonpath='{.data.ca\.crt}' | base64 --decode > ca.crt	
    b) kubectl get secret edge-cluster-ca-cert -n kafka-edge -o jsonpath='{.data.ca\.password}' | base64 --decode > ca.password 
    c) export PASSWORD=`cat ca.password` 
    d) keytool -noprompt -importcert -alias strimzi-kafka-cert -file ca.crt -keystore cacerts -keypass $PASSWORD -storepass $PASSWORD

    Copy the ca certificates file generated in step d to SAM installation.

  5. Provide the Domain Manager node IP address in which gateway Kafka is running.
    For more information on how to configure the Kafka Access Settings Credential, see Add Kafka Access Settings Credentials. Use the Domain Type as OI Server.
  6. In Global manager administration console of SAM, enable INCHARGE-OI in Aggregate SAM then enable INCHARGE-SA (Aggregate SAM) in Presentation SAM.