recmon 1.0.6 → 1.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/CHANGELOG +2 -2
  2. data/lib/recmon/monitor.rb +0 -2
  3. metadata +5 -20
data/CHANGELOG CHANGED
@@ -1,5 +1,5 @@
1
- == Version 1.0.6
2
- - daemonize the process
1
+ == Version 1.0.7
2
+ - leave responsibility for daemonising to the calling script.
3
3
  - refined the sizing mechanisms (diskfree MB, diskspace MB, filesize bytes)
4
4
 
5
5
  == Version 1.0.4
@@ -34,7 +34,6 @@ class Monitor
34
34
  }
35
35
  open_log()
36
36
  log("Recmon is monitoring.")
37
- Daemons.daemonize()
38
37
  monitor()
39
38
  while sleep(@freq)
40
39
  monitor()
@@ -46,7 +45,6 @@ class Monitor
46
45
  begin
47
46
  @log = File.new(@logfile, 'a')
48
47
  rescue
49
- $stderr.puts("Unable to open log file #{@logfile}.}")
50
48
  exit 1
51
49
  end
52
50
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: recmon
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 6
10
- version: 1.0.6
9
+ - 7
10
+ version: 1.0.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Richard Kernahan
@@ -16,23 +16,8 @@ bindir: bin
16
16
  cert_chain: []
17
17
 
18
18
  date: 2012-09-29 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
21
- name: daemons
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
24
- none: false
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- hash: 1
29
- segments:
30
- - 1
31
- - 1
32
- - 9
33
- version: 1.1.9
34
- type: :runtime
35
- version_requirements: *id001
19
+ dependencies: []
20
+
36
21
  description: "\tRecmon generates log entries for a range of events that are not typically logged.\n Once they are logged, they can be analysed to generate alerts.\n\n REC (Ruby Event Correlation) is the tool that correlates events across time to determine\n if a situation is abnormal, and so generates fewer, more meaningful alerts\n by email or instant message.\n\n So Recmon + REC = lightweight Nagios\n"
37
22
  email: dev.recmon@finalstep.com.au
38
23
  executables: []