Slack integration not working

Comments

8 comments

  • Official comment
    Avatar
    Alex

    Hi

    Is the cmon-events process running? And any issues logged in the /var/log/cmon-events.log file

     

    $ ps -ef | grep cmon-events          # service cmon-events start | stop

    $ tail -100 /var/log/cmon-events.log

     

    Comment actions Permalink
  • Avatar
    Michael Potter

    Getting the exact same issue.

    Slack configured, test comes through to channel instantly. Triggering an alarm results in all emails sent out within a few seconds, nothing sent to slack.

    cmon-events is running fine, nothing in the cmon-events log.

    1
    Comment actions Permalink
  • Avatar
    Alex

    Hi

    Can you attach a screenshot with the slack integration settings in ClusterControl?

    Is the event triggers set to 'All Events' or something more specific? What happens if you set it to 'All Events' ?

    0
    Comment actions Permalink
  • Avatar
    Michael Potter

    Sure. Screenshot attached. I'll give All events a try in a few moments.

    0
    Comment actions Permalink
  • Avatar
    Michael Potter

    Looks like changing it to "All Events" works! Thanks much.

    0
    Comment actions Permalink
  • Avatar
    Alex

    Hi 

    Great, that's a workaround for now. I'll file a bug report that the 'Event Triggers' filters are not working properly.

    0
    Comment actions Permalink
  • Avatar
    Zaid Quaisar

    Alex is this issues fixed? i am not getting any message from CC to Slack. Have quite a lot of repeated error in the logs. Attached one line below.

    2021/06/08 19:11:47 [warning] Failed to parse json from config row 0xc00034c990 json: cannot unmarshal string into Go struct field ServiceConfig.clusters of type int64

    0
    Comment actions Permalink
  • Avatar
    Agus Syafaat

    Hi,

    Kindly please create a ticket related to your issue. Please make sure you attach the error report as well.

    Thank you

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk