-
Notifications
You must be signed in to change notification settings - Fork 3
/
vigilance.cabal
209 lines (199 loc) · 8.36 KB
/
vigilance.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
Name: vigilance
Version: 0.1.0.1
Synopsis: An extensible dead-man's switch system
Description: Vigilance is a dead man's switch (See <https://en.wikipedia.org/wiki/Dead_man%27s_switch>)
(or vigilance switch). You define named @watches that you expect to happen
and how long to wait inbetween before it's time to worry. You then instrument
your periodical tasks, whatever they are, to report to vigilance via a simple
HTTP POST or with the included client. You can then
configure notifications that will fire when a watch fails
to check in.
View the README on the homepage for more details.
Install notes:
On client installs where you may not want to install the
server component, configure like:
.
> cabal configure -fno-server
.
On client installs where you may not want to install the
client component, configure like:
.
> cabal configure -fno-client
.
License: MIT
License-File: LICENSE
Author: Michael Xavier
Maintainer: michael@michaelxavier.net
Copyright: (c) 2013 Michael Xavier
Category: Utils
Build-Type: Simple
Cabal-Version: >=1.10
Homepage: http://github.com/michaelxavier/vigilance
Bug-Reports: http://github.com/michaelxavier/vigilance/issues
Extra-Source-Files: README.md
TODO.md
Flag no-server
Description: Omit the server component. Installs on client machines can and should pass this.
Default: False
Flag no-client
Description: Omit the client component. Install on the server may pass this if desired.
Default: False
Executable vigilance-server
Hs-Source-Dirs: src
Main-Is: Utils/Vigilance/Main.hs
if flag(no-server)
Buildable: False
else
Build-Depends: base >=4.5 && <4.7,
async == 2.*,
aeson >=0.6 && <1.0,
attoparsec,
blaze-builder,
bytestring,
acid-state,
classy-prelude >=0.5.8 && <1.0,
configurator >=0.2 && <1.0,
containers,
data-store >= 0.3.0.7 && <1.0,
directory,
either == 3.4.1,
entropy >= 0.2.2.2,
errors >= 1.4.2 && <2.0,
fast-logger >= 0.3.2 && < 1.0,
http-streams >= 0.6.1.1 && <= 1.0,
http-types,
io-streams,
interpolatedstring-perl6 >=0.9.0 && <1.0,
lens >=3.9 && < 4.0,
mime-mail >= 0.4.2 && <1.0,
monad-loops >= 0.4.2 && <1.0,
monad-logger,
mtl,
safecopy,
stm >=2.4.2 && <3.0,
time,
template-haskell,
text,
transformers,
unix >=2.6.0.1 && <3.0,
unordered-containers,
vector,
wai,
wai-extra,
warp,
yesod,
yesod-core,
yesod-platform >= 1.2.3 && < 2.0
Default-Language: Haskell2010
Ghc-Options: -threaded -O3 -rtsopts -Wall -Werror
Other-Modules: Utils.Vigilance.Config
Utils.Vigilance.Logger
Utils.Vigilance.TableOps
Utils.Vigilance.Types
Utils.Vigilance.Utils
Utils.Vigilance.Worker
Utils.Vigilance.Web.Yesod
Utils.Vigilance.Workers.LoggerWorker
Utils.Vigilance.Workers.NotificationWorker
Utils.Vigilance.Workers.NotificationRetryWorker
Utils.Vigilance.Workers.StaticWatchWorker
Utils.Vigilance.Workers.SweeperWorker
Utils.Vigilance.Sweeper
Utils.Vigilance.Notifiers.HTTP
Utils.Vigilance.Notifiers.Email
Utils.Vigilance.Notifiers.Log
Executable vigilance
Hs-Source-Dirs: src
Main-Is: Utils/Vigilance/Client/Main.hs
if flag(no-client)
Buildable: False
else
Build-Depends: base >=4.5 && <4.7,
async == 2.*,
aeson >=0.6 && <1.0,
attoparsec,
blaze-builder,
bytestring,
acid-state,
classy-prelude >=0.5.8 && <1.0,
configurator >=0.2 && <1.0,
containers,
data-store >= 0.3.0.7 && <1.0,
directory,
either == 3.4.1,
entropy >= 0.2.2.2,
errors >= 1.4.2 && <2.0,
fast-logger >= 0.3.2 && < 1.0,
http-streams >= 0.6.1.1 && <= 1.0,
http-types,
io-streams,
interpolatedstring-perl6 >=0.9.0 && <1.0,
lens >=3.9 && < 4.0,
mime-mail >= 0.4.2 && <1.0,
monad-loops >= 0.4.2 && <1.0,
mtl,
optparse-applicative >= 0.5.2.1 && < 1.0,
safecopy,
stm >=2.4.2 && <3.0,
time,
text,
transformers,
unix >=2.6.0.1 && <3.0,
unordered-containers,
vector,
warp,
yesod,
yesod-core,
yesod-platform >= 1.2.3 && < 2.0
Default-Language: Haskell2010
Ghc-Options: -threaded -O3 -rtsopts -Wall -Werror
Other-Modules: Utils.Vigilance.Client.Client
Utils.Vigilance.Client.Config
Utils.Vigilance.Types
Test-Suite test-vigilance
default-language: Haskell2010
Type: exitcode-stdio-1.0
hs-source-dirs: src,test
Main-Is: Spec.hs
ghc-options: -threaded -O3 -rtsopts
build-depends: base >=4.5 && <4.7,
async == 2.*,
aeson >=0.6 && <1.0,
attoparsec,
blaze-builder,
bytestring,
acid-state,
classy-prelude >=0.5.8 && <1.0,
configurator >=0.2 && <1.0,
containers,
data-store >= 0.3.0.7 && <1.0,
directory,
entropy >= 0.2.2.2,
errors >= 1.4.2 && <2.0,
fast-logger >= 0.3.2 && < 1.0,
http-streams >= 0.6.0.2 && <= 1.0,
http-types,
hspec >= 1.6 && < 2.0,
hspec-expectations,
HUnit>=1.2.5,
interpolatedstring-perl6 >=0.9.0 && <1.0,
io-streams,
QuickCheck>=1.2.5,
quickcheck-properties,
lens >=3.9 && < 4.0,
derive >=2.5.11 && < 3.0,
mime-mail >= 0.4.2 && <1.0,
monad-loops >= 0.4.2 && <1.0,
mtl,
safecopy,
stm >=2.4.2 && <3.0,
time,
text,
transformers,
unix >=2.6.0.1 && <3.0,
unordered-containers,
vector,
warp,
yesod,
yesod-core,
yesod-platform >= 1.2.3 && < 2.0