zabbix-monitor 0.0.5 → 0.0.6

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 83ad503b156902573a4ce874638a81cce5f94fb3
4
- data.tar.gz: 5ca3a84bbb31d20fbda66e212344273db4126d86
3
+ metadata.gz: 877fe8637262020e0648ddbb8d363e397d856598
4
+ data.tar.gz: b9d0668e5eef128443ba04ba615d6886c9739ac6
5
5
  SHA512:
6
- metadata.gz: 5547d7fa0e288525c5e36b31906243b2f7679bba4b7c20f948849bf7d5a1eaf6f21c11a53d5c8743d5636dabf96d87b9488dad7645e8dca44922e5e77d8965e7
7
- data.tar.gz: ea691f026f9f89c2c2ed1388b69afbc7c489594a5c9bdf5606cee11afeabbd718f9cf5db959c5bd43ae2cbe108a61195f57db51499c790068f13221164da1e8a
6
+ metadata.gz: d1a2ac5113e870758b7fa67f11290d92e5e5121933c448b46af79b1675c4f15e82dada8067a8a10fa21685bb9ccb9999f9b6d510c9a0b5e86ea51da182dbf2e6
7
+ data.tar.gz: 99d9e38a7529994f192bb6495a3674c3350991b1ea7791c0ba8574a95f1ebf5d891bd672af0ff9c5f6735fb42fcb148b496ebe2e7e63deade4654c5fb38e2a0c
data/lib/tasks/zabbix.rb CHANGED
@@ -11,7 +11,7 @@ namespace :zabbix do
11
11
  desc 'Collect data for Zabbix every minute'
12
12
  task :start => :environment do
13
13
  Zabbix.logger.info "[Rake] executing #start, setting up Rufus"
14
- Dante::Runner.new('zabbix-monitor').execute(:daemonize => true, :pid_path => 'tmp/zabbix-monitor.pid', :log_path => 'log/zabbix-monitor.log') do
14
+ Dante::Runner.new('zabbix-monitor').execute(:daemonize => true, :pid_path => 'tmp/pids/zabbix-monitor.pid', :log_path => 'log/zabbix-monitor.log') do
15
15
  Zabbix::Monitor.new.schedule
16
16
  end
17
17
  end
@@ -19,13 +19,13 @@ namespace :zabbix do
19
19
  desc 'Stop collecting data for Zabbix'
20
20
  task :stop => :environment do
21
21
  Zabbix.logger.info "[Rake] executing #stop, stopping daemon"
22
- Dante::Runner.new('zabbix-monitor').execute(:kill => true, :pid_path => 'tmp/zabbix-monitor.pid')
22
+ Dante::Runner.new('zabbix-monitor').execute(:kill => true, :pid_path => 'tmp/pids/zabbix-monitor.pid')
23
23
  end
24
24
 
25
25
  desc 'Restart collecting data for Zabbix'
26
26
  task :restart => :environment do
27
27
  Zabbix.logger.info "[Rake] executing #stop, stopping daemon"
28
- Dante::Runner.new('zabbix-monitor').execute(:daemonize => true, :restart => true, :pid_path => 'tmp/zabbix-monitor.pid', :log_path => 'log/zabbix-monitor.log') do
28
+ Dante::Runner.new('zabbix-monitor').execute(:daemonize => true, :restart => true, :pid_path => 'tmp/pids/zabbix-monitor.pid', :log_path => 'log/zabbix-monitor.log') do
29
29
  Zabbix::Monitor.new.schedule
30
30
  end
31
31
  end
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = 'zabbix-monitor'
7
- spec.version = '0.0.5'
7
+ spec.version = '0.0.6'
8
8
  spec.authors = ['Robert Jan de Gelder', 'Manuel van Rijn']
9
9
  spec.email = ['r.degelder@sping.nl', 'm.vanrijn@sping.nl']
10
10
  spec.description = 'Zabbix application monitoring'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zabbix-monitor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Jan de Gelder