Mailinglist Archive: opensuse-buildservice (140 mails)

< Previous Next >
[opensuse-buildservice] Using icigna or nagios to monitor OBS? - set Accept: headers for OBS 2.5
I'm not sure if this is a long-time problem or not but the check_http monitor
needs to send an Accept: header or the rails router fails and 404's

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

eg this works:

/usr/lib/nagios/plugins/check_http -S --sni -k 'Accept: text/html' -H
'build.opensuse.org' -u '/monitor' -v

In case this is useful to someone.

David
--
"Don't worry, you'll be fine; I saw it work in a cartoon once..."

--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups