prtg 0.0.6 → 0.0.7
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.
- data/lib/prtg/query.rb +1 -1
- metadata +4 -6
- data/lib/#prtg.rb# +0 -20
data/lib/prtg/query.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: prtg
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.7
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-
|
|
12
|
+
date: 2013-05-08 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: xml-simple
|
|
@@ -34,11 +34,10 @@ executables: []
|
|
|
34
34
|
extensions: []
|
|
35
35
|
extra_rdoc_files: []
|
|
36
36
|
files:
|
|
37
|
-
- lib/prtg
|
|
37
|
+
- lib/prtg.rb
|
|
38
38
|
- lib/prtg/query.rb
|
|
39
39
|
- lib/prtg/client.rb
|
|
40
|
-
- lib
|
|
41
|
-
- lib/prtg.rb
|
|
40
|
+
- lib/prtg/utils.rb
|
|
42
41
|
homepage: http://github.com/ikaros/Prtg-for-Ruby
|
|
43
42
|
licenses: []
|
|
44
43
|
post_install_message:
|
|
@@ -64,4 +63,3 @@ signing_key:
|
|
|
64
63
|
specification_version: 3
|
|
65
64
|
summary: Wrapper for the prtg network monitor api (http://www.paessler.com/prtg)
|
|
66
65
|
test_files: []
|
|
67
|
-
has_rdoc:
|
data/lib/#prtg.rb#
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# encoding: utf-8
|
|
2
|
-
dir = File.dirname(__FILE__)
|
|
3
|
-
$LOAD_PATH.unshift dir unless $LOAD_PATH.include?(dir)
|
|
4
|
-
require "rubygems"
|
|
5
|
-
require "#{dir}/prtg/client"
|
|
6
|
-
require "#{dir}/prtg/query"
|
|
7
|
-
require "#{dir}/prtg/utils"
|
|
8
|
-
|
|
9
|
-
# This is a wrapper for the api of paessler's prtg monitoring tool.
|
|
10
|
-
#
|
|
11
|
-
# Simple Example:
|
|
12
|
-
# http = Net::HTTP.new("subdomain.domain.tld", 443)
|
|
13
|
-
# http.use_ssl = true
|
|
14
|
-
# http.verify_mode = OpenSSL::SSL::VERIFY_NONE
|
|
15
|
-
#
|
|
16
|
-
# client = Prtg::Client.new(:host => http, :username => "foo", :password => "bar")
|
|
17
|
-
# p client.live_data(:sensors)
|
|
18
|
-
module Prtg
|
|
19
|
-
VERSION = "0.0.5"
|
|
20
|
-
end
|