puppetdashboardmonitor 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,2 +1,14 @@
1
1
  # PuppetDashboardMonitor
2
2
  A tool for monitoring the highlights of puppet dashboard.
3
+
4
+
5
+ ## Usage
6
+
7
+ ### Install
8
+
9
+ gem install puppetdashboardmonitor
10
+
11
+ ### Basic Execution
12
+
13
+ puppetdashboardmonitor -c /opt/etc/monitoring/dashboard.yaml
14
+
@@ -11,6 +11,8 @@ module PuppetDashboardMonitoring
11
11
  data[:nodes][:total] = get_json("#{@config[:url]}/nodes.json").count
12
12
  data[:nodes][:changed] = get_json("#{@config[:url]}/nodes/changed.json").count
13
13
  data[:nodes][:unresponsive] = get_json("#{@config[:url]}/nodes/unresponsive.json").count
14
+ data[:nodes][:failed] = get_json("#{@config[:url]}/nodes/failed.json").count
15
+ data[:nodes][:pending] = get_json("#{@config[:url]}/nodes/pending.json").count
14
16
  data
15
17
  end
16
18
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppetdashboardmonitor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
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: 2012-08-02 00:00:00.000000000 Z
12
+ date: 2012-08-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json