-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
root@dev-samm:/opt/ledbetter# DEBUG=1 bundle exec ruby ledbetter.rb
opening connection to int-nagios...
opened
<- "GET /cgi-bin/nagios3/status.cgi?servicestatustypes=16&servicegroup=all&style=detail&embedded=1&noheader=1 HTTP/1.1\r\nAuthorization: Basic Z3Vlc3Q6Z3Vlc3Q=\r\nConnection: close\r\nHost: int-nagios\r\n\r\n"
-> "HTTP/1.1 401 Authorization Required\r\n"
-> "Date: Mon, 28 Apr 2014 05:44:12 GMT\r\n"
-> "Server: Apache\r\n"
-> "WWW-Authenticate: Digest realm=\"nagios\", nonce=\"QScRzhP4BAA=6ca88d35ab3cb385cba9fa48fbf1349452acaa99\", algorithm=MD5, domain=\"/ http://int-nagios/ http://pm-nagios/ http://ext-nagios/\", qop=\"auth\"\r\n"
-> "Vary: Accept-Encoding\r\n"
-> "Content-Length: 401\r\n"
-> "Connection: close\r\n"
-> "Content-Type: text/html; charset=iso-8859-1\r\n"
-> "\r\n"
reading 401 bytes...
-> "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<html><head>\n<title>401 Authorization Required</title>\n</head><body>\n<h1>Authorization Required</h1>\n<p>This server could not verify that you\nare authorized to access the document\nrequested. Either you supplied the wrong\ncredentials (e.g., bad password), or your\nbrowser doesn't understand how to supply\nthe credentials required.</p>\n</body></html>\n"
read 401 bytes
Conn close
/var/lib/gems/1.9.1/bundler/gems/nagiosharder-0b9244710eb7/lib/nagiosharder.rb:239:in `service_status': wtf http://int-nagios/cgi-bin/nagios3/status.cgi?servicestatustypes=16&servicegroup=all&style=detail&embedded=1&noheader=1? 401 (RuntimeError)
from ledbetter.rb:38:in `<main>'
Relates to railsmachine/nagiosharder#24
Metadata
Metadata
Assignees
Labels
No labels