neckbeerd 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 84593c7dd0e7c62f2a845dbe9a9bfa3571e51398
4
+ data.tar.gz: 4532d8dcd9da0de4a4a578df7aec95b6c1198895
5
+ SHA512:
6
+ metadata.gz: 2191333bcce8e23a07df35a4a6a89283ddc38bafc1d9c3cfc17def5d9bd134e20b51396d8d03c77482c147138abdce83f6a2d7abcc17a2002c850152d9b35e95
7
+ data.tar.gz: 3c72bec1250214f3f8ec056588db3bc2962708c1832b0a95a544d541918f7aea859dfb8519871563d1d868203893d3fe3a663688e65619b9d377d206504c80dd
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source "http://rubygems.org"
2
+
3
+ gemspec
@@ -0,0 +1,52 @@
1
+ # Neckbeerd
2
+
3
+ Neckbeerd (*/ˈnekbɪərd/*) is your local system problem finder.
4
+
5
+ On the basis of the output of common system diagnostic tools (like ps, top, vmstat, iostat, sar, mpstat, slabtop, free, etc.) and arcane knowledge combined into a set of rules (called a policy) neckbeerd gives you it's best guess about the state of the system (a diagnosis).
6
+
7
+ You can define your own policies or add plugins (i.e. for providing application specific insight).
8
+
9
+ ## Installation
10
+
11
+ ```
12
+ gem install neckbeerd
13
+ ```
14
+
15
+ ## Usage
16
+
17
+ ### Command line
18
+
19
+ ```bash
20
+ neckbeerd --report
21
+ neckbeerd --policy=./custom_policy.plc --report
22
+ ```
23
+
24
+ ### Lib
25
+
26
+ ```ruby
27
+ n = Neckbeerd::Engine.new(:policy => './custom_policy.plc')
28
+ n.report
29
+ ```
30
+
31
+ ## Examples
32
+
33
+ - MySQL acting weird, the box is swapping
34
+ - nfs share loosing network, load goes through the roof
35
+
36
+ ## Extedning & customization
37
+
38
+ ### Writing policies
39
+
40
+ Lipsum amet
41
+
42
+ ### Writing plugins
43
+
44
+ Dorem lorem
45
+
46
+ ## Contributors
47
+
48
+ - [Marcin Sawicki](https://github.com/odcinek)
49
+
50
+ ## License
51
+
52
+ (The MIT License)
@@ -0,0 +1 @@
1
+ require 'neckbeerd/version'
@@ -0,0 +1,3 @@
1
+ module Neckbeerd
2
+ VERSION = "0.0.1"
3
+ end
Binary file
Binary file
@@ -0,0 +1,23 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "neckbeerd/version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "neckbeerd"
7
+ s.version = Neckbeerd::VERSION
8
+ s.platform = Gem::Platform::RUBY
9
+ s.authors = ["Marcin Sawicki"]
10
+ s.email = ["odcinek@gmail.com"]
11
+ s.homepage = "http://github.com/odcinek/neckbeerd"
12
+ s.summary = "Local system problem finder"
13
+ s.description = s.summary
14
+ s.license = "MIT"
15
+
16
+ s.add_development_dependency "rspec"
17
+ s.add_development_dependency "rake"
18
+
19
+ s.files = `git ls-files`.split("\n")
20
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
21
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
22
+ s.require_paths = ["lib"]
23
+ end
metadata ADDED
@@ -0,0 +1,80 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: neckbeerd
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Marcin Sawicki
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-09-27 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rspec
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ description: Local system problem finder
42
+ email:
43
+ - odcinek@gmail.com
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - Gemfile
49
+ - README.md
50
+ - lib/neckbeerd.rb
51
+ - lib/neckbeerd/version.rb
52
+ - mallory-0.0.1.gem
53
+ - neckbeerd-0.0.1.gem
54
+ - neckbeerd.gemspec
55
+ homepage: http://github.com/odcinek/neckbeerd
56
+ licenses:
57
+ - MIT
58
+ metadata: {}
59
+ post_install_message:
60
+ rdoc_options: []
61
+ require_paths:
62
+ - lib
63
+ required_ruby_version: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - '>='
66
+ - !ruby/object:Gem::Version
67
+ version: '0'
68
+ required_rubygems_version: !ruby/object:Gem::Requirement
69
+ requirements:
70
+ - - '>='
71
+ - !ruby/object:Gem::Version
72
+ version: '0'
73
+ requirements: []
74
+ rubyforge_project:
75
+ rubygems_version: 2.0.2
76
+ signing_key:
77
+ specification_version: 4
78
+ summary: Local system problem finder
79
+ test_files: []
80
+ has_rdoc: