recmon 1.1.2 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/recmon/monitor.rb +1 -1
- metadata +6 -5
data/lib/recmon/monitor.rb
CHANGED
@@ -34,7 +34,6 @@ class Monitor
|
|
34
34
|
stop()
|
35
35
|
}
|
36
36
|
open_log()
|
37
|
-
log("Recmon is monitoring.")
|
38
37
|
# daemonise the process
|
39
38
|
$0 = @name
|
40
39
|
fork do
|
@@ -44,6 +43,7 @@ class Monitor
|
|
44
43
|
STDIN.reopen "/dev/null"
|
45
44
|
STDOUT.reopen @log
|
46
45
|
STDERR.reopen @log
|
46
|
+
log("Recmon is monitoring.")
|
47
47
|
monitor()
|
48
48
|
while sleep(@freq)
|
49
49
|
monitor()
|
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:
|
4
|
+
hash: 31
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
|
-
- 1
|
9
8
|
- 2
|
10
|
-
|
9
|
+
- 0
|
10
|
+
version: 1.2.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Richard Kernahan
|
@@ -15,10 +15,11 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2013-10-10 00:00:00 Z
|
19
19
|
dependencies: []
|
20
20
|
|
21
|
-
description: "
|
21
|
+
description: " Deprecated.\n These functions are probably better implemented as shell scripts, as with REC.\n ---\n\
|
22
|
+
\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"
|
22
23
|
email: dev.recmon@finalstep.com.au
|
23
24
|
executables: []
|
24
25
|
|