Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snap version fails to run #1255

Closed
sapiderman opened this issue Mar 19, 2024 · 2 comments · Fixed by #1281
Closed

Snap version fails to run #1255

sapiderman opened this issue Mar 19, 2024 · 2 comments · Fixed by #1281
Assignees
Labels
bug Something isn't working

Comments

@sapiderman
Copy link
Contributor

sapiderman commented Mar 19, 2024

Describe the bug

  1. Running snap version of monika fails

To Reproduce
Steps to reproduce the behavior:

  1. Install the snap version of Monika sudo snap install monika --edge
  2. Verify that it is the snap version, issue the command which monika should return /bin/snap/monika
  3. Next issue the following command 'monika -c test.yaml'

test.yaml configuration

probes:
  - id: 'mock-1'
    name: 'local-test'
    requests:
      - url: http://0.0.0.0:7001/v1/hello2
    alerts:
      - assertion: response.status != 200
        message: message 11

notifications:
  - id: desktop
    type: desktop

Expected behavior

  • Should be able to access test.yaml
  • Should be able to probe the targets in test.yaml
  • Should be able to detect connectivity issues with the probe and generate notifications

Screenshots
image

Desktop (please complete the following information):

  • OS: Ubuntu 22.04 LTS
  • Distro: POP_OS!
  • Monika: v1.19.0

Additional context
Add any other context about the problem here.

@sapiderman sapiderman added the bug Something isn't working label Mar 19, 2024
@dennypradipta
Copy link
Contributor

This is a wild guess, but I think it's because the workflow didn't build the monika-notification package in the build step?
https://github.com/hyperjumptech/monika/actions/runs/8281398893/workflow

@sapiderman
Copy link
Contributor Author

This is a wild guess, but I think it's because the workflow didn't build the monika-notification package in the build step? https://github.com/hyperjumptech/monika/actions/runs/8281398893/workflow

yea my suspect too. good call, will look into it.

@sapiderman sapiderman self-assigned this Mar 19, 2024
@syamsudotdev syamsudotdev self-assigned this Mar 25, 2024
sapiderman added a commit that referenced this issue May 7, 2024
* fix snap packaging

* try fix source location

* change source to dir

* revert comments

---------

Co-authored-by: Budhi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants