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

nagios checks should include API endpoint #1218

Open
ndushay opened this issue Sep 23, 2019 · 4 comments
Open

nagios checks should include API endpoint #1218

ndushay opened this issue Sep 23, 2019 · 4 comments
Assignees

Comments

@ndushay
Copy link
Contributor

ndushay commented Sep 23, 2019

I recommend using the show endpoint for some object in prescat: https://github.com/sul-dlss/preservation_catalog/blob/master/app/controllers/objects_controller.rb#L9-L13

@jmartin-sul
Copy link
Member

jmartin-sul commented Dec 9, 2019

@ndushay: in order to migrate off sdr svcs app, we've been moving its functionality from sdr-services-app to preservation_catalog. we want nagios to monitor (one of) the new endpoints - see above recommending show endpoint for some object in prescat

@tallenaz tallenaz self-assigned this Dec 12, 2019
@jmartin-sul
Copy link
Member

how hard is it to have nagios provide a JWT? that'll be needed for this.

@ndushay
Copy link
Contributor Author

ndushay commented Nov 14, 2022

@tallenaz has this been done? If so, please close ticket.

@tallenaz
Copy link
Collaborator

It looks like there's no more route to the endpoint we were monitoring with the 2019 nagios check:

ActionController::RoutingError (No route matches [GET] "/objects/bb001zc5754"):

We would need a path to check, and a JWT as well, if this 2020 comment is still valid

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

3 participants