Skip to content

Commit 4ffb0ac

Browse files
committed
refactor(icinga-topflap-services): increase default warning level from 5 to 7
1 parent 12d2a91 commit 4ffb0ac

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

check-plugins/icinga-topflap-services/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Help
7979
--username USERNAME IcingaWeb Username. Takes precedence over setting in
8080
`--password-file`.
8181
-w, --warning WARN Warning number of state changes per service within the
82-
"lookback" period. Supports Nagios ranges. Default: 5
82+
"lookback" period. Supports Nagios ranges. Default: 7
8383
8484
8585
Usage Examples

check-plugins/icinga-topflap-services/icinga-topflap-services

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ from lib.globals import (STATE_CRIT, STATE_OK, # pylint: disable=C0413
2929
STATE_UNKNOWN, STATE_WARN)
3030

3131
__author__ = 'Linuxfabrik GmbH, Zurich/Switzerland'
32-
__version__ = '2025031701'
32+
__version__ = '2025041701'
3333

3434
DESCRIPTION = """This check plugin counts the number of state changes per service within a
3535
given lookback interval. This makes it possible to detect fast flapping services.
@@ -47,7 +47,7 @@ DEFAULT_LOOKBACK = 4*3600
4747
DEFAULT_NO_PROXY = False
4848
DEFAULT_PWFILE = '/var/spool/icinga2/.icingaweb'
4949
DEFAULT_TIMEOUT = 8
50-
DEFAULT_WARN = 5
50+
DEFAULT_WARN = 7
5151

5252

5353
def parse_args():

check-plugins/icinga-topflap-services/icingaweb2-module-director/icinga-topflap-services.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@
276276
"icinga_topflap_services_no_proxy": false,
277277
"icinga_topflap_services_pwfile": "/var/spool/icinga2/.icingaweb",
278278
"icinga_topflap_services_timeout": 8,
279-
"icinga_topflap_services_warning": 5
279+
"icinga_topflap_services_warning": 7
280280
},
281281
"volatile": null,
282282
"zone": null,
@@ -329,7 +329,7 @@
329329
"icinga_topflap_services_windows_no_proxy": false,
330330
"icinga_topflap_services_windows_pwfile": "/var/spool/icinga2/.icingaweb",
331331
"icinga_topflap_services_windows_timeout": 8,
332-
"icinga_topflap_services_windows_warning": 5
332+
"icinga_topflap_services_windows_warning": 7
333333
},
334334
"volatile": null,
335335
"zone": null,

0 commit comments

Comments
 (0)