This repository has been archived by the owner on Jun 13, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added examples of nagios-herald in action.
- Loading branch information
Ryan Frantz
committed
May 21, 2014
1 parent
5c95576
commit 4f814d0
Showing
8 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# Example Alerts | ||
|
||
To demonstrate how ``nagios-herald`` can format alerts to be more legible and useful, see below for some example alerts without context (before ``nagios-herald``) and **with** context (**after** ``nagios-herald``). | ||
|
||
## CPU Alert | ||
|
||
### No Context | ||
|
||
This is a basic CPU alert informing the operator that *something* is wrong with a server's overall processor utilization. | ||
|
||
 | ||
|
||
### With Context | ||
|
||
The CPU check has been updated to inform the operator of which threshold has been exceeded and lists the top 5 processes by processor utilization and ``nagios-herald`` formatted the content to make it more legible. | ||
|
||
 | ||
|
||
## Disk Space Alert | ||
|
||
Among most operators, disk space alerts probably garner the most disdain for their lack of utility and frequency of delivery. | ||
|
||
### No Context | ||
|
||
It's easy to understand why disk space alerts are perceived to be useless given the following example. | ||
|
||
 | ||
|
||
### With Context | ||
|
||
Now, imagine how much more useful it would be if the check output the results of ``df`` and ``nagios-herald`` could use that information to provide context. In the example below, ``nagios-herald`` was used to add a **stack bar** to indicate which volume exceeded the threshold, add a **Ganglia graph** of disk utilization for the past 24 hours, **highlight** the relevant volume in the ``df`` output, and even inform the operator of the **number of times in the last week** that the alert fired. | ||
|
||
 | ||
|
||
## Memory Alert | ||
|
||
### No Context | ||
|
||
Memory alerts that simply inform the operator that some threshold have been exceeded aren't very helpful. | ||
|
||
 | ||
|
||
### With Context | ||
|
||
The first thing most operators do is run ``top`` to understand what processes are running, sorted by memory usage. In the example below, the check was updated to output the top 5 processes by memory utilization and ``nagios-herald`` formatted the output for legibility. | ||
|
||
 | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.