by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Karthik Srivatsa
    @ksrivatsa
    This happens only after installing the plugin. Not otherwise
    Strange!
    The plugin is nowhere related to the worker
    Frank Hamand
    @frankh
    in docker compose are the web, worker and beat all set to the new image with the plugin installed?
    Karthik Srivatsa
    @ksrivatsa
    Hmm.. Why would the worker and the beat service need the plugin?
    Do they?
    Frank Hamand
    @frankh
    yes, because the worker is the thing that actually sends the alerts
    Karthik Srivatsa
    @ksrivatsa
    I am getting the alerts though.
    Frank Hamand
    @frankh
    beat might not, but it's best that they're all the same
    hmmm
    Karthik Srivatsa
    @ksrivatsa
    Using the plugin test
    Frank Hamand
    @frankh
    ah, the plugin test doesn't use workers, it does it through the web service
    Karthik Srivatsa
    @ksrivatsa
    I'll make that change then.
    Haha.. :D
    Frank Hamand
    @frankh
    i should change that so it works the same way
    Karthik Srivatsa
    @ksrivatsa
    Thanks!
    Frank Hamand
    @frankh
    np
    Karthik Srivatsa
    @ksrivatsa
    @frankh Hey
    The newly added acknowledge button in the slack messages doesnt seem to work
    Any suggestions?
    Error : Darn – that didn't work. Only Slack Apps can add interactive elements to messages
    Karthik Srivatsa
    @ksrivatsa
    I have tried everything. It just doesnt work.
    Please help me
    Karthik Srivatsa
    @ksrivatsa
    What do i configure the callback url to in the slack app?
    Frank Hamand
    @frankh
    yeah unfortunately it requires the slack app to be set up, so i actually removed it by default in the latest version
    you need to create an app and enable interactive messages and set the callback url to <domain>/plugins/cabot_alert_slack/messages
    I couldn't get @mentions and the button working at the same time so we stopped using the button
    Karthik Srivatsa
    @ksrivatsa
    After doing all that I get this that didn't work (error message: Failure when receiving data from the peer)
    Error : that didn't work (error message: Failure when receiving data from the peer)
    Or this that didn't work (error message: 502_service_error)
    Karthik Srivatsa
    @ksrivatsa
    Thank you. The Acknowledge button doesnt work on the plugin test. Though it shows a button there.
    It works fine on actual services.
    :)
    Thank you @frankh
    Ian L.
    @MrSaints
    ksrivatsa: @frank is going to be away until next month
    Just a heads up.
    Karthik Srivatsa
    @ksrivatsa
    Haha.. alright
    Punita Ojha
    @punitaojha
    This message was deleted
    Brandon H.
    @tuxdapenguin
    How do I add a custom status check plugin to cabot?
    Wilgert Velinga
    @wilgert
    Hello all i have installed Cabot on our MacMini and it was running fine for over a week performing several checks every minute
    after a reboot of the MacMini scheduled checks stopped working
    i can manually run checks from the Web Interface
    never mind, found it
    ERROR: Pidfile (celerybeat.pid) already exists.
    Seems we're already running? (pid: 1)
    log of celerybeat is filled with this
    so i need to reset the container
    Wilgert Velinga
    @wilgert
    new question: how to do that?
    Karthik Srivatsa
    @ksrivatsa
    @tuxdapenguin Create the plugin, test it, add it to pypi. Add it to the plugin apps in production.env and the plugin specific confs. Start all the containers with docker-compose except that the web container should run tail -f /dev/null. Do the migrations for the plugin. Now stop the containers and restart as ususal with the gunicorn command. This should work.
    Obviously install the pypi package before making the migrations.
    Karthik Srivatsa
    @ksrivatsa
    Oh.. I'm sorry. After the migrations, create a new image with the plugin installed using pypi. Now change the docker-compose to use this image and run the same gunicorn command.