lists.checkmk.com
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2024
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
List overview
Download
Checkmk git commits
December 2011
----- 2024 -----
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
checkmk-commits@lists.checkmk.com
3 participants
336 discussions
Start a n
N
ew thread
Check_MK Git: check_mk: ADD: ad_application: Warning level
by git@mathias-kettner.de
Module: check_mk Branch: master Commit: 3aaff305bf62939868e80dc719006ac52f19384c URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=3aaff305bf6293…
Author: Bastian Kuhn <bk(a)mathias-kettner.de> Date: Thu Dec 15 15:56:45 2011 +0100 ADD: ad_application: Warning level --- ChangeLog | 1 + checkman/ad_replication | 3 +-- checks/ad_replication | 24 ++++++++++++++++++------ 3 files changed, 20 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index 999c096..32acedc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -88,6 +88,7 @@ * fileinfo: new check for monitoring age and size of files * heartbeat_crm: apply patches from Václav Ovsík, so that the check should work on Debian now. + * ad_replication: added warninglevel 1.1.12p5: Multisite: diff --git a/checkman/ad_replication b/checkman/ad_replication index 6d7db89..d89eec8 100644 --- a/checkman/ad_replication +++ b/checkman/ad_replication @@ -27,5 +27,4 @@ max_failed (int): The maximum number of failures to be tolerated. All counts abo will raise a CRITICAL state [configuration] -ad_replication_default_params (tuple of ints): Default value is set to a maximum amount of - 20 failed replications {(20, )}. +ad_replication_default_params (tuple of ints): Default value is set to 15/20 (warn/crit) {(15,20)}. diff --git a/checks/ad_replication b/checks/ad_replication index 38e78ef..36a2ff1 100644 --- a/checks/ad_replication +++ b/checks/ad_replication @@ -38,7 +38,7 @@ import datetime, time -ad_replication_default_params = (20,) +ad_replication_default_params = (15,20) def parse_ad_replication_dates(s): if s == '0' or s == '(never)': @@ -55,9 +55,9 @@ def parse_ad_replication_info(info): def inventory_ad_replication(info): inv = [] for line in parse_ad_replication_info(info): - item = ('%s/%s' % (line[4], line[5]), 'ad_replication_default_params') - if line[0] == 'showrepl_INFO' and item not in inv: - inv.append(item) + entry = ('%s/%s' % (line[4], line[5]), 'ad_replication_default_params') + if line[0] == 'showrepl_INFO' and entry not in inv: + inv.append(entry) return inv def check_ad_replication(item, params, info): @@ -75,13 +75,24 @@ def check_ad_replication(item, params, info): foundLine = True timeLastFailure = parse_ad_replication_dates(timeLastFailure) timeLastSuccess = parse_ad_replication_dates(timeLastSuccess) + + maxFailuresWarn = params[0] + maxFailuresCrit = params[1] - if int(numFailures) > params[0]: + if int(numFailures) > maxFailuresWarn: + status = 1 + output += 'WARNING: %s/%s replication of context %s reached ' \ + ' the threshold of maxmimum failures (%s) (Last Success: %s, ' \ + 'LastFailure: %s NumFailures: %s Status: %s), ' % \ + (sourceSite, sourceDC, namingContext, maxFailuresWarn, timeLastFailure, + timeLastSuccess, numFailures, statusLastFailure) + + if int(numFailures) > maxFailuresCrit: status = 2 output += 'CRITICAL: %s/%s replication of context %s reached ' \ ' the threshold of maxmimum failures (%s) (Last Success: %s, ' \ 'LastFailure: %s NumFailures: %s Status: %s), ' % \ - (sourceSite, sourceDC, namingContext, params[0], timeLastFailure, + (sourceSite, sourceDC, namingContext, maxFailuresCrit, timeLastFailure, timeLastSuccess, numFailures, statusLastFailure) if timeLastFailure is not None and timeLastSuccess is not None \ @@ -100,3 +111,4 @@ def check_ad_replication(item, params, info): return (status, 'OK - All replications are OK.') check_info['ad_replication'] = (check_ad_replication, "AD Replication %s", 0, inventory_ad_replication) +checkgroup_of['ad_replication'] = "ad_replication"
12 years, 6 months
1
0
0
0
Check_MK Git: check_mk: Wato: added rule for ad_replication
by git@mathias-kettner.de
Module: check_mk Branch: master Commit: 4e7d3238a941ffd86c4e7f41265356592fe3cffb URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=4e7d3238a941ff…
Author: Bastian Kuhn <bk(a)mathias-kettner.de> Date: Thu Dec 15 16:17:59 2011 +0100 Wato: added rule for ad_replication --- web/plugins/wato/check_parameters.py | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/web/plugins/wato/check_parameters.py b/web/plugins/wato/check_parameters.py index 06ec33c..6734cb1 100644 --- a/web/plugins/wato/check_parameters.py +++ b/web/plugins/wato/check_parameters.py @@ -77,6 +77,25 @@ register_rule(group, match="dict") checkgroups = [] + +checkgroups.append(( + "ad_replication", + _("Active Directory Replication"), + Tuple( + help = _("The number of replication failures"), + elements = [ + Integer(title = _("Warning at"), unit = _("failures")), + Integer(title = _("Critical at"), unit = _("failures")), + ] + ), + TextAscii( + title = _("Replication Partner"), + help = _("The name of the replication partner (Destination DC Site/Destination DC)."), + ), + "first" +)) + + checkgroups.append(( "filesystem", _("Filesystems (used space and growth)"),
12 years, 6 months
1
0
0
0
Check_MK Git: check_mk: ADD: Wato: Rulesets for brocade_fcport
by git@mathias-kettner.de
Module: check_mk Branch: master Commit: a49d67b449f153e6ef183f2eee919d323dfd13c1 URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=a49d67b449f153…
Author: Bastian Kuhn <bk(a)mathias-kettner.de> Date: Fri Dec 16 11:34:04 2011 +0100 ADD: Wato: Rulesets for brocade_fcport --- checks/brocade_fcport | 2 + web/plugins/wato/check_parameters.py | 144 ++++++++++++++++++++++++++++++++++ 2 files changed, 146 insertions(+), 0 deletions(-) diff --git a/checks/brocade_fcport b/checks/brocade_fcport index 06fea80..56953e8 100644 --- a/checks/brocade_fcport +++ b/checks/brocade_fcport @@ -317,3 +317,5 @@ snmp_info['brocade_fcport'] = [ snmp_scan_functions['brocade_fcport'] = \ lambda oid: oid(".1.3.6.1.2.1.1.2.0").startswith(".1.3.6.1.4.1.1588.2.1.1") or \ oid(".1.3.6.1.2.1.1.2.0").startswith(".1.3.6.1.24.1.1588.2.1.1") + +checkgroup_of["brocade_fcport"] = "brocade_fcport" diff --git a/web/plugins/wato/check_parameters.py b/web/plugins/wato/check_parameters.py index 6734cb1..d3486e1 100644 --- a/web/plugins/wato/check_parameters.py +++ b/web/plugins/wato/check_parameters.py @@ -96,6 +96,149 @@ checkgroups.append(( )) +checkgroups.append(( + "brocade_fcport", + _("Brocade FC FibreChannel ports"), + Dictionary( + elements = [ + ("bw", + Alternative( + title = _("Throughput levels"), + help = _("In few cases you have to set the link speed manually it you want " + "to use relative levels"), + elements = [ + Tuple( + title = _("Maximum bandwidth in relation to the total traffic"), + elements = [ + Float(title = _("Warning at"), unit = _("percent")), + Float(title = _("Critical at"), unit = _("percent")), + ] + ), + Tuple( + title = _("Megabyte bandwidth of the port"), + elements = [ + Integer(title = _("Warning at"), unit = _("MByte/s")), + Integer(title = _("Critical at"), unit = _("MByte/s")), + ] + ) + ]) + ), + ("assumed_speed", + Float( + title = _("Assumed link speed"), + help = _("If the automatic detection of the link " + "speed does not work and you want monitors the relative levels of the " + "throughtput you have to set the link speed here."), + unit = _("GByte/s") + ) + ), + ("rxcrcs", + Tuple ( + title = _("CRC errors rate"), + elements = [ + Float( title = _("Warning at"), unit = _("percent")), + Float( title = _("Critical at"), unit = _("percent")), + ] + ) + ), + ("rxencoutframes", + Tuple ( + title = _("Enc-Out frames rate"), + elements = [ + Float( title = _("Warning at"), unit = _("percent")), + Float( title = _("Critical at"), unit = _("percent")), + ] + ) + ), + ("notcredits", + Tuple ( + title = _("No-TxCredits errors"), + elements = [ + Float( title = _("Warning at"), unit = _("percent")), + Float( title = _("Critical at"), unit = _("percent")), + ] + ) + ), + ("c3discards", + Tuple ( + title = _("C3 discards"), + elements = [ + Float( title = _("Warning at"), unit = _("percent")), + Float( title = _("Critical at"), unit = _("percent")), + ] + ) + ), + ("average", + Integer ( + title = _("Average"), + help = _("A number in minutes. If this parameter is set, then " + "averaging is turned on and all levels will be applied " + "to the averaged values, not the the current ones. Per " + "default, averaging is turned off. "), + unit = _("minutes"), + minvalue = 1, + ) + ), + ("phystate", + Optional( + ListChoice( + title = _("Allowed states (otherwise check will be critical)"), + choices = [ ("1", _("noCard") ), + ("2", _("noTransceiver") ), + ("3", _("laserFault") ), + ("4", _("noLight") ), + ("5", _("noSync") ), + ("6", _("inSync") ), + ("7", _("portFault") ), + ("8", _("daigFault") ), + ("9", _("lockRef") ), + ] + ), + title = _("Physical state of port") , + negate = True, + label = _("ignore physical state"), + ) + ), + ("opstate", + Optional( + ListChoice( + title = _("Allowed states (otherwise check will be critical)"), + choices = [ ("0", _("unknown") ), + ("1", _("online") ), + ("2", _("offline") ), + ("3", _("testing") ), + ("4", _("faulty") ), + ] + ), + title = _("Operational state") , + negate = True, + label = _("ignore operational state"), + ) + ), + ("admstate", + Optional( + ListChoice( + title = _("Allowed states (otherwise check will be critical)"), + choices = [ ("1", _("online") ), + ("2", _("offline") ), + ("3", _("testing") ), + ("4", _("faulty") ), + ] + ), + title = _("Administrative state") , + negate = True, + label = _("ignore administrative state"), + ) + ) + ] + ), + TextAscii( + title = _("Portname"), + help = _("The name of the switch port"), + ), + "first" +)) + checkgroups.append(( "filesystem", _("Filesystems (used space and growth)"), @@ -242,6 +385,7 @@ checkgroups.append(( ) ), + ]), TextAscii( title = _("port specification"),
12 years, 6 months
1
0
0
0
Check_MK Git: check_mk: Merge branch 'master' of ssh://mathias-kettner.de/ check_mk
by git@mathias-kettner.de
Module: check_mk Branch: master Commit: fa7106667fee2990c16efbb4481dc533164da7bc URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=fa7106667fee29…
Author: Bastian Kuhn <bk(a)mathias-kettner.de> Date: Fri Dec 16 11:35:51 2011 +0100 Merge branch 'master' of ssh://mathias-kettner.de/check_mk Conflicts: ChangeLog ---
12 years, 6 months
1
0
0
0
Check_MK Git: check_mk: Merge branch 'master' of ssh://mathias-kettner.de/ check_mk
by git@mathias-kettner.de
Module: check_mk Branch: master Commit: 10a75aeef19a9cc689101566496c88b0320c0bbd URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=10a75aeef19a9c…
Author: Bastian Kuhn <bk(a)mathias-kettner.de> Date: Fri Dec 16 11:36:35 2011 +0100 Merge branch 'master' of ssh://mathias-kettner.de/check_mk ---
12 years, 6 months
1
0
0
0
Check_MK Git: check_mk: WATO: add changelog button to ruleset mode
by git@mathias-kettner.de
Module: check_mk Branch: master Commit: 90fab849ae61e4eec4d943f4bbac39d99e656839 URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=90fab849ae61e4…
Author: Mathias Kettner <mk(a)mathias-kettner.de> Date: Fri Dec 16 11:34:08 2011 +0100 WATO: add changelog button to ruleset mode --- web/htdocs/wato.py | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py index 10bc735..fc83eca 100644 --- a/web/htdocs/wato.py +++ b/web/htdocs/wato.py @@ -8711,7 +8711,7 @@ def mode_edit_ruleset(phase): return title elif phase == "buttons": - home_button() + global_buttons() html.context_button(_("All rulesets"), make_link([("mode", "rulesets"), ("host", hostname)]), "back") if hostname: @@ -9272,12 +9272,11 @@ def mode_edit_rule(phase): return _("Edit rule %s") % rulespec["title"] elif phase == "buttons": - home_button() - html.context_button(_("All rules"), + html.context_button(_("Abort"), make_link([("mode", "edit_ruleset"), ("varname", varname), ("host", html.var("host", "")), - ("item", html.var("item", "None"))]), "back") + ("item", html.var("item", "None"))]), "abort") return folder = g_folders[html.var("rule_folder")]
12 years, 6 months
1
0
0
0
Check_MK Git: check_mk: Updated bug entries #0419
by git@mathias-kettner.de
Module: check_mk Branch: master Commit: fa71abc94b22f01a2c5b6c8d563da02b0d7c124b URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=fa71abc94b22f0…
Author: Mathias Kettner <mk(a)mathias-kettner.de> Date: Fri Dec 16 11:28:16 2011 +0100 Updated bug entries #0419 --- .bugs/419 | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.bugs/419 b/.bugs/419 index 5e7027d..7e8114e 100644 --- a/.bugs/419 +++ b/.bugs/419 @@ -1,11 +1,11 @@ Title: mem.vmalloc falsche Default Limits Component: checks +State: done +Class: cleanup Benefit: 2 -State: open Cost: 1 Date: 2011-12-13 14:50:04 Targetversion: 1.1.13i1 -Class: cleanup kann es sein, dass die Default-LImits von mem.vmalloc bzgl. largest free(!) chunk unsinnig sind: @@ -19,3 +19,6 @@ Da es sich um free mem handelt, sollte die Warning kommen, wenn es weniger als 64MB sind, und Crit bei < 32MB, also: (80.0, 90.0, 64, 32) + +2011-12-16 11:28:12: changed state open -> done +Swapped
12 years, 6 months
1
0
0
0
Check_MK Git: check_mk: FIX: mem.vmalloc: fix default levels
by git@mathias-kettner.de
Module: check_mk Branch: master Commit: cdb16046ff61095b9e36330b948ab19cf0812848 URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=cdb16046ff6109…
Author: Mathias Kettner <mk(a)mathias-kettner.de> Date: Fri Dec 16 11:27:52 2011 +0100 FIX: mem.vmalloc: fix default levels --- ChangeLog | 1 + checkman/mem.vmalloc | 2 +- checks/mem | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 18eff2c..a6a9b0f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -112,6 +112,7 @@ * FIX: snmp_uptime: handels alternative timeformat * FIX: netapp_*: scan functions now detect IBM versions of firmware * FIX: bluecoat_diskcpu: repair scan function + * FIX: mem.vmalloc: fix default levels (32 and 64 was swapped) 1.1.12p4: Multisite: diff --git a/checkman/mem.vmalloc b/checkman/mem.vmalloc index a4f2ef0..f530555 100644 --- a/checkman/mem.vmalloc +++ b/checkman/mem.vmalloc @@ -52,5 +52,5 @@ crit_chunk (int or float): critical level for the size of the [configuration] mem_vmalloc_default_levels (int/float, int/float, int/float, int/float): Levels used by checks created by inventory. The default value is set - to {(80.0, 90.0, 32, 64)}. + to {(80.0, 90.0, 64, 32)}. diff --git a/checks/mem b/checks/mem index f2d3321..92112aa 100644 --- a/checks/mem +++ b/checks/mem @@ -208,7 +208,7 @@ check_info['mem.win'] = (check_mem_windows, "Memory and pagefile", 1, inventory_ # +----------------------------------------------------------------------+ # warn, crit, warn_chunk, crit_chunk. Integers are in MB, floats are in percent -mem_vmalloc_default_levels = ( 80.0, 90.0, 32, 64 ) +mem_vmalloc_default_levels = ( 80.0, 90.0, 64, 32 ) def inventory_mem_vmalloc(info): meminfo = parse_proc_meminfo(info)
12 years, 6 months
1
0
0
0
Check_MK Git: check_mk: FIX: bluecoat_diskcpu: repair scan function
by git@mathias-kettner.de
Module: check_mk Branch: master Commit: 4ef163e3642f8ffc622b86d2958a8fde6b5250b7 URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=4ef163e3642f8f…
Author: Mathias Kettner <mk(a)mathias-kettner.de> Date: Fri Dec 16 11:10:53 2011 +0100 FIX: bluecoat_diskcpu: repair scan function --- ChangeLog | 1 + checks/bluecoat_diskcpu | 2 +- checks/bluecoat_sensors | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 75134f9..7961d63 100644 --- a/ChangeLog +++ b/ChangeLog @@ -110,6 +110,7 @@ fixes the problem where interface are not found by inventory. * FIX: snmp_uptime: handels alternative timeformat * FIX: netapp_*: scan functions now detect IBM versions of firmware + * FIX: bluecoat_diskcpu: repair scan function 1.1.12p4: Multisite: diff --git a/checks/bluecoat_diskcpu b/checks/bluecoat_diskcpu index 8ea8597..1229fda 100644 --- a/checks/bluecoat_diskcpu +++ b/checks/bluecoat_diskcpu @@ -49,5 +49,5 @@ snmp_info['bluecoat_diskcpu'] = ( ".1.3.6.1.4.1.3417.2.4.1.1.1", [ 3, 4, 6 ]) # BLUECOAT disk und CPU-Tabelle -snmp_scan_functions["bluecoat_sensors"] = \ +snmp_scan_functions["bluecoat_diskcpu"] = \ lambda oid: '1.3.6.1.4.1.3417.1.1' in oid(".1.3.6.1.2.1.1.2.0") diff --git a/checks/bluecoat_sensors b/checks/bluecoat_sensors index aa2d521..e9073cc 100644 --- a/checks/bluecoat_sensors +++ b/checks/bluecoat_sensors @@ -49,6 +49,5 @@ snmp_info['bluecoat_sensors'] = ( ".1.3.6.1.4.1.3417.2.1.1.1.1.1", [ 9, 5, 7, 4 ]) # BLUECOAT fan, voltage, temperatures, scale - snmp_scan_functions["bluecoat_sensors"] = \ lambda oid: '1.3.6.1.4.1.3417.1.1' in oid(".1.3.6.1.2.1.1.2.0")
12 years, 6 months
1
0
0
0
Check_MK Git: check_mk: Merge branch 'master' of ssh://mathias-kettner.de/ check_mk
by git@mathias-kettner.de
Module: check_mk Branch: master Commit: 4f48748ccde2c253a382a1d30787507e79bb6fb2 URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=4f48748ccde2c2…
Author: Mathias Kettner <mk(a)mathias-kettner.de> Date: Fri Dec 16 11:10:57 2011 +0100 Merge branch 'master' of ssh://mathias-kettner.de/check_mk ---
12 years, 6 months
1
0
0
0
← Newer
1
...
12
13
14
15
16
17
18
...
34
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Results per page:
10
25
50
100
200