GitHub user nickwallen opened a pull request:
https://github.com/apache/incubator-metron/pull/103
METRON-132 Manage all sensors and topologies with Monit
Adds Monit as a process watchdog to manage all sensors and topologies.
- Monit web interface exposed at http://hostname:2812 which can be used to
start, stop, check status of any of the sensors or topologies.
- When monitoring is enabled (on by default) if a process dies, it will be
restarted.
- Monit command line tools also simplify the process of managing Metron
ingestion.
For example, tired of the noise from your laptop fan when running
Metron's 'single node vagrant'? This will quiet her down. Finally, peace and
quiet!
```
monit stop all
```
Need to work on a single ingest feed?
```
monit start bro
monit start bro-topology
```
Getting cold and need some heat? Start everything.
```
monit start all
```
- Post-deployment report for Amazon-EC2 provides links to Monit's web
interface.
```
ok: [localhost] => {
"Success": [
"Apache Metron deployed successfully",
" Metron @
http://ec2-52-39-143-62.us-west-2.compute.amazonaws.com:5000",
" Ambari @
http://ec2-52-39-4-93.us-west-2.compute.amazonaws.com:8080",
" Sensor Status @
http://ec2-52-39-4-93.us-west-2.compute.amazonaws.com:2812",
" Topology Status @
http://ec2-52-39-130-62.us-west-2.compute.amazonaws.com:2812",
"For additional information, see
https://metron.incubator.apache.org/'"
]
}
```
- Will not monitor a service that is not installed.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/nickwallen/incubator-metron METRON-132
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-metron/pull/103.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #103
----
commit d6b8c9759c35b2f47cf86970708975ad2edb1f1c
Author: Nick Allen <[email protected]>
Date: 2016-04-29T16:44:27Z
METRON-132 Manage all sensors and topologies with Monit.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---