November 2016
Intermediate to advanced
378 pages
7h 36m
English
Now that you've seen various ways to monitor minions, let's go ahead and set up some alerts.
In Chapter 5, Managing Tasks Asynchronously, we discussed how to use the reactor system to file incidents in the PagerDuty service in response to events. Our example also made use of the disk.status monitoring state.
Keep in mind that any state inside an SLS file can raise an alert; monitoring states are not alone here.
As beacons are designed to do nothing more than send an event when a certain threshold is reached, they are perfect for alerting purposes! Let's go ahead and set up a couple of examples.
Let's go back to inotify for a moment. Say that you're using the /etc/hosts ...
Read now
Unlock full access