Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
server:monitoring
monitoring-plugins-gitlab
check_gitlab_-_bad_gateway_is_critical.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File check_gitlab_-_bad_gateway_is_critical.patch of Package monitoring-plugins-gitlab
--- ./check_gitlab.rb 2020/09/09 22:43:46 1.1 +++ ./check_gitlab.rb 2020/09/09 22:44:18 @@ -202,6 +202,7 @@ request.add_field 'PRIVATE-TOKEN', @options[:token] if @options[:mode] != 'health' @response = http.request(request) rescue StandardError => e + crit_msg(e) if @response.code == '502' unk_msg(e) end @@ -213,6 +214,7 @@ # check http response def check_http_response + crit_msg(@response.message).to_s if @response.code == '502' unk_msg(@response.message).to_s if @response.code != '200' end
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor