Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-12839

It's not possible to configure Slack/Mattermost notifications using the web UI

    XMLWordPrintable

Details

    • NB

    Description

      This is a notification configuration that works for Slack/Mattermost:

         <notification name="node down" status="on">
            <uei>uei.opennms.org/nodes/nodeDown</uei>
            <rule>ipaddr iplike *.*.*.*)</rule>
            <destinationPath>slack</destinationPath>
            <text-message>text</text-message>
            <subject>subject</subject>
            <numeric-message>111-%noticeid%</numeric-message>
            <parameter name="channel" value="SLACK-CHANNEL-NAME"/>
         </notification>
      

      But it is not possible to set the parameter name channel within the web UI.
      If you use this fields in the UI

      the configuration looks like this and does not work.

      <varbind>
       <vbname>channel</vbname>
       <vbvalue>SLACK-CHANNEL-NAME</vbvalue>
      </varbind>

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              fuhrmann Marcel Fuhrmann
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.