zabbix-ruby-client 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +12 -0
- data/README.md +8 -5
- data/lib/zabbix-ruby-client/version.rb +1 -1
- data/templates/client/Gemfile +1 -1
- metadata +30 -13
- checksums.yaml +0 -7
data/CHANGELOG.md
ADDED
data/README.md
CHANGED
@@ -7,6 +7,8 @@ This tool is designed to make easy to install zabbix reporter on monitored serve
|
|
7
7
|
|
8
8
|
The development is still in progress but it produces results and works in my case. Use at your own risk and read the code first. It is developed under ruby 2 but should work on 1.9.3 as well.
|
9
9
|
|
10
|
+
Check the [Changelog](CHANGELOG.md) for recent changes
|
11
|
+
|
10
12
|
## Installation
|
11
13
|
|
12
14
|
Install it yourself as:
|
@@ -18,22 +20,22 @@ Install it yourself as:
|
|
18
20
|
zrc init [name]
|
19
21
|
# will create a directory [name] (default: zabbix-ruby-client) for
|
20
22
|
# storing configuration and temporary files
|
21
|
-
|
23
|
+
|
22
24
|
cd [name]
|
23
25
|
bundle
|
24
26
|
# makes the zabbix-ruby-client [name] ready to run
|
25
27
|
# then edit config.yml according to your needs
|
26
28
|
|
27
|
-
zrc
|
29
|
+
zrc
|
28
30
|
# to list available commands
|
29
31
|
|
30
32
|
And when ready just install a cron task according to your environment
|
31
33
|
|
32
|
-
echo '* * * * * /bin/bash -lc "cd /path/to/zrc && bundle exec zrc
|
34
|
+
echo '* * * * * /bin/bash -lc "cd /path/to/zrc && bundle exec zrc upload"' | crontab
|
33
35
|
# or
|
34
|
-
echo '* * * * * /bin/zsh -c ". $HOME/.rvm/scripts/rvm && cd /path/to/zrc && bundle exec zrc
|
36
|
+
echo '* * * * * /bin/zsh -c ". $HOME/.rvm/scripts/rvm && cd /path/to/zrc && bundle exec zrc upload"' | crontab
|
35
37
|
# or
|
36
|
-
echo '* * * * * /bin/zsh -c "export RBENV_ROOT=/usr/local/var/rbenv && eval \"$(rbenv init - zsh)\" && cd /path/to/zrc && bundle exec zrc
|
38
|
+
echo '* * * * * /bin/zsh -c "export RBENV_ROOT=/usr/local/var/rbenv && eval \"$(rbenv init - zsh)\" && cd /path/to/zrc && bundle exec zrc upload"' | crontab
|
37
39
|
|
38
40
|
## plugins
|
39
41
|
|
@@ -66,6 +68,7 @@ You can add extra plugin directories in the configuration file.
|
|
66
68
|
* try to work out a way to create host/graphs/alerts from the client using Zabbix API
|
67
69
|
* verify compatibility with ruby 1.9
|
68
70
|
|
71
|
+
|
69
72
|
## Contributing
|
70
73
|
|
71
74
|
1. Fork it
|
data/templates/client/Gemfile
CHANGED
metadata
CHANGED
@@ -1,32 +1,36 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zabbix-ruby-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- mose
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2013-09-
|
12
|
+
date: 2013-09-23 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: thor
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
16
18
|
requirements:
|
17
|
-
- - '>='
|
19
|
+
- - ! '>='
|
18
20
|
- !ruby/object:Gem::Version
|
19
21
|
version: '0'
|
20
22
|
type: :runtime
|
21
23
|
prerelease: false
|
22
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
23
26
|
requirements:
|
24
|
-
- - '>='
|
27
|
+
- - ! '>='
|
25
28
|
- !ruby/object:Gem::Version
|
26
29
|
version: '0'
|
27
30
|
- !ruby/object:Gem::Dependency
|
28
31
|
name: bundler
|
29
32
|
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
30
34
|
requirements:
|
31
35
|
- - ~>
|
32
36
|
- !ruby/object:Gem::Version
|
@@ -34,6 +38,7 @@ dependencies:
|
|
34
38
|
type: :development
|
35
39
|
prerelease: false
|
36
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
37
42
|
requirements:
|
38
43
|
- - ~>
|
39
44
|
- !ruby/object:Gem::Version
|
@@ -41,29 +46,33 @@ dependencies:
|
|
41
46
|
- !ruby/object:Gem::Dependency
|
42
47
|
name: rake
|
43
48
|
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
44
50
|
requirements:
|
45
|
-
- - '>='
|
51
|
+
- - ! '>='
|
46
52
|
- !ruby/object:Gem::Version
|
47
53
|
version: '0'
|
48
54
|
type: :development
|
49
55
|
prerelease: false
|
50
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
51
58
|
requirements:
|
52
|
-
- - '>='
|
59
|
+
- - ! '>='
|
53
60
|
- !ruby/object:Gem::Version
|
54
61
|
version: '0'
|
55
62
|
- !ruby/object:Gem::Dependency
|
56
63
|
name: rspec
|
57
64
|
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
58
66
|
requirements:
|
59
|
-
- - '>='
|
67
|
+
- - ! '>='
|
60
68
|
- !ruby/object:Gem::Version
|
61
69
|
version: '0'
|
62
70
|
type: :development
|
63
71
|
prerelease: false
|
64
72
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
65
74
|
requirements:
|
66
|
-
- - '>='
|
75
|
+
- - ! '>='
|
67
76
|
- !ruby/object:Gem::Version
|
68
77
|
version: '0'
|
69
78
|
description: A zabbix alternative to zabbix-agent using zabbix-sender.
|
@@ -75,6 +84,7 @@ extensions: []
|
|
75
84
|
extra_rdoc_files: []
|
76
85
|
files:
|
77
86
|
- .gitignore
|
87
|
+
- CHANGELOG.md
|
78
88
|
- Gemfile
|
79
89
|
- LICENSE.txt
|
80
90
|
- README.md
|
@@ -112,26 +122,33 @@ files:
|
|
112
122
|
homepage: https://github.com/eduvo/zabbix-ruby-client
|
113
123
|
licenses:
|
114
124
|
- MIT
|
115
|
-
metadata: {}
|
116
125
|
post_install_message:
|
117
126
|
rdoc_options: []
|
118
127
|
require_paths:
|
119
128
|
- lib
|
120
129
|
required_ruby_version: !ruby/object:Gem::Requirement
|
130
|
+
none: false
|
121
131
|
requirements:
|
122
|
-
- - '>='
|
132
|
+
- - ! '>='
|
123
133
|
- !ruby/object:Gem::Version
|
124
134
|
version: '0'
|
135
|
+
segments:
|
136
|
+
- 0
|
137
|
+
hash: -2783286061037067078
|
125
138
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
139
|
+
none: false
|
126
140
|
requirements:
|
127
|
-
- - '>='
|
141
|
+
- - ! '>='
|
128
142
|
- !ruby/object:Gem::Version
|
129
143
|
version: '0'
|
144
|
+
segments:
|
145
|
+
- 0
|
146
|
+
hash: -2783286061037067078
|
130
147
|
requirements: []
|
131
148
|
rubyforge_project:
|
132
|
-
rubygems_version:
|
149
|
+
rubygems_version: 1.8.23
|
133
150
|
signing_key:
|
134
|
-
specification_version:
|
151
|
+
specification_version: 3
|
135
152
|
summary: This tool is intended to use zabbix sender to propagate monitoring data for
|
136
153
|
Zabbix server.
|
137
154
|
test_files:
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: ae8f13fc1c1b84c142d4432d77488bca0a1dc636
|
4
|
-
data.tar.gz: 072c530a783ffecfa4e5ca9d1c136d0cb25f501a
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: 316f2d46459245faf628b6a22390818e7e0da8e2517e98d0ac34bd6e095a10579dde14dda1765e493272ef3ba5b9f0ea1b1b17b6f48b5483b333236361c266a6
|
7
|
-
data.tar.gz: 6d0a78c36ce93d537e58372df8ae25f921252d002f62e87ce592560bd5e801936c2c95a1b8e62ed02af8dfd0456ac172b1f43556cdbeb0ecb9782d5fc5475884
|