Code Monkey home page Code Monkey logo

ledbetter's People

Contributors

kovyrin avatar obfuscurity avatar pengwynn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ledbetter's Issues

RuntimeError: nagiosharder.rb:239:in when using digest auth

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.