monit 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,54 @@
1
+ <?xml version="1.0" encoding="ISO-8859-1"?>
2
+ <monit>
3
+ <server>
4
+ <id>52255a0b8999c46c98de9697a8daef67</id>
5
+ <incarnation>1283946152</incarnation>
6
+ <version>5.1.1</version>
7
+ <uptime>4</uptime>
8
+ <poll>30</poll>
9
+ <startdelay>0</startdelay>
10
+ <localhostname>Example.local</localhostname>
11
+ <controlfile>/etc/monitrc</controlfile>
12
+ <httpd>
13
+ <address/>
14
+ <port>2812</port>
15
+ <ssl>0</ssl>
16
+ </httpd>
17
+ </server>
18
+ <platform>
19
+ <name>Darwin</name>
20
+ <release>10.4.0</release>
21
+ <version>Darwin Kernel Version 10.4.0: Fri Apr 23 18:28:53 PDT 2010; root:xnu-1504.7.4~1/RELEASE_I386</version>
22
+ <machine>i386</machine>
23
+ <cpu>2</cpu>
24
+ <memory>4194304</memory>
25
+ </platform>
26
+ <service type="5">
27
+ <collected_sec>1283946152</collected_sec>
28
+ <collected_usec>309973</collected_usec>
29
+ <name>Example.local</name>
30
+ <status>0</status>
31
+ <status_hint>0</status_hint>
32
+ <monitor>1</monitor>
33
+ <monitormode>0</monitormode>
34
+ <pendingaction>0</pendingaction>
35
+ <groups>
36
+ <name>server</name>
37
+ </groups>
38
+ <system>
39
+ <load>
40
+ <avg01>0.28</avg01>
41
+ <avg05>0.43</avg05>
42
+ <avg15>0.48</avg15>
43
+ </load>
44
+ <cpu>
45
+ <user>10.0</user>
46
+ <system>4.1</system>
47
+ </cpu>
48
+ <memory>
49
+ <percent>44.1</percent>
50
+ <kilobyte>1850152</kilobyte>
51
+ </memory>
52
+ </system>
53
+ </service>
54
+ </monit>
@@ -0,0 +1,7 @@
1
+ # -*- encoding: utf-8 -*-
2
+ require "bundler"
3
+ Bundler.setup
4
+
5
+ require "rspec"
6
+ require "monit"
7
+
metadata ADDED
@@ -0,0 +1,171 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: monit
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 1
8
+ - 0
9
+ version: 0.1.0
10
+ platform: ruby
11
+ authors:
12
+ - Matias Korhonen
13
+ autorequire:
14
+ bindir: bin
15
+ cert_chain: []
16
+
17
+ date: 2010-09-12 00:00:00 +03:00
18
+ default_executable:
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ name: bundler
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ none: false
25
+ requirements:
26
+ - - ~>
27
+ - !ruby/object:Gem::Version
28
+ segments:
29
+ - 1
30
+ - 0
31
+ - 0
32
+ version: 1.0.0
33
+ type: :development
34
+ version_requirements: *id001
35
+ - !ruby/object:Gem::Dependency
36
+ name: rake
37
+ prerelease: false
38
+ requirement: &id002 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ segments:
44
+ - 0
45
+ version: "0"
46
+ type: :development
47
+ version_requirements: *id002
48
+ - !ruby/object:Gem::Dependency
49
+ name: rspec
50
+ prerelease: false
51
+ requirement: &id003 !ruby/object:Gem::Requirement
52
+ none: false
53
+ requirements:
54
+ - - ~>
55
+ - !ruby/object:Gem::Version
56
+ segments:
57
+ - 2
58
+ - 0
59
+ - 0
60
+ - beta
61
+ - 20
62
+ version: 2.0.0.beta.20
63
+ type: :development
64
+ version_requirements: *id003
65
+ - !ruby/object:Gem::Dependency
66
+ name: awesome_print
67
+ prerelease: false
68
+ requirement: &id004 !ruby/object:Gem::Requirement
69
+ none: false
70
+ requirements:
71
+ - - ">="
72
+ - !ruby/object:Gem::Version
73
+ segments:
74
+ - 0
75
+ version: "0"
76
+ type: :development
77
+ version_requirements: *id004
78
+ - !ruby/object:Gem::Dependency
79
+ name: crack
80
+ prerelease: false
81
+ requirement: &id005 !ruby/object:Gem::Requirement
82
+ none: false
83
+ requirements:
84
+ - - ~>
85
+ - !ruby/object:Gem::Version
86
+ segments:
87
+ - 0
88
+ - 1
89
+ - 8
90
+ version: 0.1.8
91
+ type: :runtime
92
+ version_requirements: *id005
93
+ - !ruby/object:Gem::Dependency
94
+ name: curb
95
+ prerelease: false
96
+ requirement: &id006 !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ~>
100
+ - !ruby/object:Gem::Version
101
+ segments:
102
+ - 0
103
+ - 7
104
+ - 8
105
+ version: 0.7.8
106
+ type: :runtime
107
+ version_requirements: *id006
108
+ description: Retrieve server information from Monit.
109
+ email:
110
+ - matias@kiskolabs.com
111
+ executables: []
112
+
113
+ extensions: []
114
+
115
+ extra_rdoc_files: []
116
+
117
+ files:
118
+ - .gitignore
119
+ - Gemfile
120
+ - Gemfile.lock
121
+ - LICENSE
122
+ - README.md
123
+ - Rakefile
124
+ - lib/monit.rb
125
+ - lib/monit/httpd.rb
126
+ - lib/monit/platform.rb
127
+ - lib/monit/server.rb
128
+ - lib/monit/service.rb
129
+ - lib/monit/status.rb
130
+ - lib/monit/version.rb
131
+ - monit.gemspec
132
+ - spec/monit_spec.rb
133
+ - spec/samples/largish_status.xml
134
+ - spec/samples/smallish_status.xml
135
+ - spec/spec_helper.rb
136
+ has_rdoc: true
137
+ homepage: http://rubygems.org/gems/monit
138
+ licenses: []
139
+
140
+ post_install_message:
141
+ rdoc_options: []
142
+
143
+ require_paths:
144
+ - lib
145
+ required_ruby_version: !ruby/object:Gem::Requirement
146
+ none: false
147
+ requirements:
148
+ - - ">="
149
+ - !ruby/object:Gem::Version
150
+ segments:
151
+ - 0
152
+ version: "0"
153
+ required_rubygems_version: !ruby/object:Gem::Requirement
154
+ none: false
155
+ requirements:
156
+ - - ">="
157
+ - !ruby/object:Gem::Version
158
+ segments:
159
+ - 1
160
+ - 3
161
+ - 6
162
+ version: 1.3.6
163
+ requirements: []
164
+
165
+ rubyforge_project: monit
166
+ rubygems_version: 1.3.7
167
+ signing_key:
168
+ specification_version: 3
169
+ summary: Connect to Monit
170
+ test_files: []
171
+