Open ndushay opened 4 years ago
@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
how hard is it to have nagios provide a JWT? that'll be needed for this.
@tallenaz has this been done? If so, please close ticket.
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
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