• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Send message to Slack

    Scheduled Pinned Locked Moved Solved
    Feature Request
    4
    14
    5.0k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      sourceminer
      last edited by

      I love this, is there any plugin documentation yet? I’m trying to find where I get the slack API key

      Wayne WorkmanW 1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman @sourceminer
        last edited by Wayne Workman

        @sourceminer See below for test tokens. You’ll probably want a permanent one eventually though.
        0_1485266992091_Slack Access Token.png

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        S 2 Replies Last reply Reply Quote 0
        • S
          sourceminer @Wayne Workman
          last edited by

          @Wayne-Workman Sweet thanks for the response… I must have missed this, Was looking all over.

          1 Reply Last reply Reply Quote 0
          • S
            sourceminer @Wayne Workman
            last edited by

            @Wayne-Workman So I have added the API Key, added the channel (with the Hash symbol right?) Im not seeing any updates.

            Wayne WorkmanW Tom ElliottT 2 Replies Last reply Reply Quote 0
            • Wayne WorkmanW
              Wayne Workman @sourceminer
              last edited by

              @sourceminer Ask @Tom-Elliott about it, I think he’s the one that made the plugin.

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
              Daily Clean Installation Results:
              https://fogtesting.fogproject.us/
              FOG Reporting:
              https://fog-external-reporting-results.fogproject.us/

              1 Reply Last reply Reply Quote 0
              • Tom ElliottT
                Tom Elliott @sourceminer
                last edited by

                @sourceminer I’m not seeing an issue with the slack plugin. The channel/user only get’s updated at specific points.

                There’s not a lot of “events” that slack (and pushbullet for that matter) use to present the user with a message. Right now there’s only:

                1. Login failures
                2. Image completetion (up or down).
                3. Snapin Completions (One for each snapin installed and completed, and a final one stating the tasking as a whole is complete.

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                Wayne WorkmanW S 2 Replies Last reply Reply Quote 1
                • Wayne WorkmanW
                  Wayne Workman @Tom Elliott
                  last edited by

                  @Tom-Elliott said in Send message to Slack:

                  @sourceminer I’m not seeing an issue with the slack plugin. The channel/user only get’s updated at specific points.

                  There’s not a lot of “events” that slack (and pushbullet for that matter) use to present the user with a message. Right now there’s only:

                  1. Login failures
                  2. Image completetion (up or down).
                  3. Snapin Completions (One for each snapin installed and completed, and a final one stating the tasking as a whole is complete.

                  #wiki worthy

                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                  Daily Clean Installation Results:
                  https://fogtesting.fogproject.us/
                  FOG Reporting:
                  https://fog-external-reporting-results.fogproject.us/

                  1 Reply Last reply Reply Quote 0
                  • S
                    sourceminer @Tom Elliott
                    last edited by

                    @Tom-Elliott Thanks, so yes I have the API Key, and the channel I created in my Slack called #deployment. I have deployed and installed snap-ins but have not seen any updates to the channel.

                    Tom ElliottT 1 Reply Last reply Reply Quote 0
                    • Tom ElliottT
                      Tom Elliott @sourceminer
                      last edited by

                      @sourceminer If you look at the channel I’ll bet the messages are there.

                      The reason you don’t see it “updating” is because from slack’s perspective, the message is coming from you.

                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                      S 1 Reply Last reply Reply Quote 0
                      • S
                        sourceminer @Tom Elliott
                        last edited by

                        @Tom-Elliott Sorry but no messages in that channel. I just see this message: sourceminer [8:34 AM]
                        deployments Account linked to FOG GUI at: fog.domain.net

                        J 1 Reply Last reply Reply Quote 0
                        • J
                          jmeyer @sourceminer
                          last edited by jmeyer

                          @sourceminer Hello, I never tested using a channel but using a private message works fine with test token.
                          You can also create your bot : https://my.slack.com/services/new/bot

                          0_1485790486968_Sans titre.jpg

                          Here is my conf :
                          0_1485790863612_Sans titre3.jpg
                          0_1485790596846_Sans titre2.jpg

                          1 Reply Last reply Reply Quote 1
                          • 1 / 1
                          • First post
                            Last post

                          186

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project