-
Notifications
You must be signed in to change notification settings - Fork 4
/
README
84 lines (63 loc) · 2.79 KB
/
README
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
NagCat README
=============
INTRODUCTION
------------
NagCat is a configuration based monitoring framework intended for use
with Nagios 3.x. NagCat uses tests defined in a coil configuration
file and runs them against hosts defined in Nagios, submitting results
as passive tests to Nagios. Each test run by NagCat translates to one
service defined in Nagios. This is a significant departure from the
normal mode of operation for Nagios which requires it to schedule and
run independent scripts (aka active checks) to check each service it is
monitoring.
The primary purpose of this approach is to ensure that adding more tests
for a service imposes a minimal impact. By running as a separate daemon
NagCat has the ability to group tests together that make the same
query to a service and run different checks against the return data. For
example you may want to write two tests that both query Apache's
server-status page, one test checks the number of threads working
threads, another checks the number of requests per second. These two
tests can be represented in Nagios as two different services and thus
can send out alerts independently. NagCat will automatically schedule
these two tests to run at the same time, running the two tests against
the data returned by a single request to Apache. For such a simple
example this may not be critical but it can be on a large and complex
system that requires many many different tests to ensure that it is
functioning properly.
FEATURES
--------
* Smart scheduling to reduce the number of queries required.
* Tests defined in a declarative config format, improving
maintainability of tests by making them easy to read and avoiding the
potential mess that may grow if they were all written as individual
Nagios plugins.
* Detailed reports with embedded documentation to give the person
responding to an alert the info the need to investigate the issue
even if they do not have extensive experience with the system.
* Tests or sub-tests can be defined to run at different intervals.
* Set different alert thresholds based on the time.
REQUIREMENTS
------------
Strict requirements:
- Python >= 2.6
- Twisted >= 8.2
- Coil 0.3.x >= 0.3.14
http://code.google.com/p/coil
Optional:
- PyOpenSSL (for HTTPS support)
- netsnmp (for SNMP support)
- lxml (for XPath filter support)
- rrdtool (for graphing)
- cx_Oracle
DOCUMENTATION
-------------
Further documentation on the usage and implementation of NagCat can
be found in the docs directory.
If you are too lazy to cd into the docs directory and just want to get
started try this:
bin/nagcat -c docs/example.coil -t http_title -H www.w3.org -P 80
CREDITS
-------
NagCat is maintained by Michael Marineau <[email protected]>
with the help of fellow ITA Software employees and licensed under the
Apache License, Version 2.0.