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

Failure #1 with threshold set to 0 #129

Open
lediszep opened this issue Sep 27, 2021 · 1 comment
Open

Failure #1 with threshold set to 0 #129

lediszep opened this issue Sep 27, 2021 · 1 comment

Comments

@lediszep
Copy link

lediszep commented Sep 27, 2021

Hi there,

I have most setup correctly except for plex is giving me this error in the logs:

INFO [2021-09-27 16:06:27,286] cachet_url_monitor.configuration.Configuration.Plex - Unexpected HTTP status (401)
WARNING [2021-09-27 16:06:27,286] cachet_url_monitor.configuration.Configuration.Plex - Failure #1 with threshold set to 0

 - name: Plex
    url: http://192.168.178.17:32400
    method: GET
    header:
      SOME-HEADER: SOME-VALUE
    timeout: 10 # seconds
    expectation:
      - type: HTTP_STATUS
        status_range: 200-205
        incident: MAJOR
    allowed_fails: 0
    component_id: 2
    metric_id: 1
    action:
      - UPDATE_STATUS
    public_incidents: true
    latency_unit: ms
    frequency: 10

No sure why it's failing only for this component

Thanks, Shaun

@mati1214
Copy link

mati1214 commented Mar 20, 2022

Hello,

Error 401 is authorization error. Check this link: https://support.plex.tv/articles/201638786-plex-media-server-url-commands/
"In a default setup, all of your requests to the Plex Media Server must be authenticated."
Proper token in parameter should help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants