Alarmageddon is a Python monitoring framework for RESTful services, built on top of Requests and Fabric. Alarmageddon supports Python 2.7 and Python 3.4+
The following example GETs www.google.com, and reports to HipChat if the return code is not 200:
import alarmageddon
from alarmageddon.validations.http import HttpValidation
from alarmageddon.publishing.hipchat import HipChatPublisher
validations = [HttpValidation.get("http://www.google.com").expect_status_codes([200])]
publishers = [HipChatPublisher("hipchat.route.here","token","stable","hipchat_room")]
alarmageddon.run_tests(validations,publishers)
Features¶
- Verify expectations on the following
- HTTP requests
- SSH commands
- RabbitMQ queue lengths
- Cassandra status
- Statistics collected in Graphite
- The behavior of other Alarmageddon tests
- Report failed verifications to
- HipChat
- Slack
- PagerDuty
- Graphite
- XML file