mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-16 15:57:00 +00:00
add --warn-count and --crit-count options to suppress alarm noise
Alarm criteria based solely on percentage was found to be difficult to be tricky to setup in environments that has small ranges and big shared-nets mixed up together. These two new options should help making alarming more useful. Requested-by: Frank Bulk <fbulk@mypremieronline.com> Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
parent
7f3d553c7f
commit
5cede1ff31
4 changed files with 42 additions and 5 deletions
|
|
@ -133,6 +133,8 @@ struct configuration_t {
|
|||
bool snet_alarms;
|
||||
double warning;
|
||||
double critical;
|
||||
double warn_count;
|
||||
double crit_count;
|
||||
double minsize;
|
||||
};
|
||||
/*! \struct shared_network_t
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue