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
September
August
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
July 2016
----- 2024 -----
September 2024
August 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
10 participants
213 discussions
Start a n
N
ew thread
pylint: Print out import paths during tests
by Lars Michelsen
Module: check_mk Branch: master Commit: 665023781d745d96ecc5e07684ca226da1eed00f URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=665023781d745d…
Author: Lars Michelsen <lm(a)mathias-kettner.de> Date: Thu Jul 14 09:34:54 2016 +0200 pylint: Print out import paths during tests --- tests/conftest.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/conftest.py b/tests/conftest.py index 7fb57e8..d6e1e9f 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -16,6 +16,7 @@ def add_python_paths(): sys.path.insert(0, os.path.dirname(__file__)) # make the repo directory available (cmk lib) sys.path.insert(0, cmk_path()) + print("Import path: %s" % " ".join(sys.path)) # Some pre-testing to ensure the developer uses the correct branches in all involved repos
8 years, 2 months
1
0
0
0
skype: removed superfluous metric
by Sebastian Herbord
Module: check_mk Branch: master Commit: ac17f2f6ebc74d12d9bb55e53072d924a557a0e1 URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ac17f2f6ebc74d…
Author: Sebastian Herbord <sh(a)mathias-kettner.de> Date: Wed Jul 13 17:50:46 2016 +0200 skype: removed superfluous metric --- checks/skype | 8 -------- 1 file changed, 8 deletions(-) diff --git a/checks/skype b/checks/skype index a98df85..f049855 100644 --- a/checks/skype +++ b/checks/skype @@ -77,7 +77,6 @@ def check_skype(item, params, parsed): # LS:WEB - Address Book Web Query\WEB - Failed search requests/sec # LS:WEB - Location Information Service\WEB - Failed Get Locations Requests/Second # LS:WEB - Distribution List Expansion\WEB - Timed out Active Directory Requests/sec - # LS:SIP - Protocol\SIP - Average Incoming Message Processing Time # LS:WEB - UCWA\UCWA - HTTP 5xx Responses/Second #
ASP.NET
Apps v4.0.30319(*)\Requests Rejected # @@ -111,12 +110,6 @@ def check_skype(item, params, parsed): levels=params['5xx_responses'] ) - yield wmi_yield_raw_average_timer(parsed["LS:SIP - Protocol"], item, - "SIP - Average Incoming Message Processing Time", - label="s avg incoming message processing time", - perfvar="message_processing_time", - levels=params['message_processing_time']) - yield wmi_yield_raw_counter(parsed["
ASP.NET
Apps v4.0.30319"], item, "Requests Rejected", label=" requests rejected", @@ -150,7 +143,6 @@ check_info['skype'] = { "LS:WEB - Address Book Web Query", "LS:WEB - Location Information Service", "LS:WEB - Distribution List Expansion", - "LS:SIP - Protocol", "LS:WEB - UCWA", "
ASP.NET
Apps v4.0.30319" ]),
8 years, 2 months
1
0
0
0
Fetched Livestatus from upstream.
by Sven Panne
Module: check_mk Branch: master Commit: 5059adf16ea1d65cc4b363760e0d568179562764 URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=5059adf16ea1d6…
Author: Sven Panne <sp(a)mathias-kettner.de> Date: Wed Jul 13 16:34:54 2016 +0200 Fetched Livestatus from upstream. --- livestatus/src/Aggregator.h | 13 +- livestatus/src/CountAggregator.cc | 6 +- livestatus/src/CountAggregator.h | 10 +- livestatus/src/DoubleAggregator.cc | 16 +- livestatus/src/DoubleAggregator.h | 14 +- livestatus/src/IntAggregator.cc | 16 +- livestatus/src/IntAggregator.h | 14 +- livestatus/src/LogEntry.cc | 4 +- livestatus/src/PerfdataAggregator.cc | 6 +- livestatus/src/PerfdataAggregator.h | 27 +- livestatus/src/Query.cc | 497 ++++++++++------------------------ livestatus/src/Query.h | 21 +- livestatus/src/Renderer.cc | 343 +++++++++++++++++++++++ livestatus/src/Renderer.h | 91 +++++++ livestatus/src/Store.cc | 2 +- livestatus/src/TableStateHistory.cc | 7 +- 16 files changed, 657 insertions(+), 430 deletions(-) Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=5059adf16e…
8 years, 2 months
1
0
0
0
fixed bug in password store where the store could get initialised incorrectly
by Sebastian Herbord
Module: check_mk Branch: master Commit: 355402481ea4f4fd6ebdfe09b1bf8866670d3885 URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=355402481ea4f4…
Author: Sebastian Herbord <sh(a)mathias-kettner.de> Date: Wed Jul 13 16:14:46 2016 +0200 fixed bug in password store where the store could get initialised incorrectly --- lib/passwordstore.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/passwordstore.py b/lib/passwordstore.py index fd74d7e..40a6b57 100644 --- a/lib/passwordstore.py +++ b/lib/passwordstore.py @@ -331,6 +331,8 @@ class ChangeContext(object): def __exit__(self, typ, value, tb): if typ == None: self.__data['keydata'] = self.__backend.key_data() + if 'secrets' not in self.__data: + self.__data['secrets'] = {} with NamedTemporaryFile(dir=os.path.dirname(self.__filename), delete=False) as f: json.dump(self.__data, f)
8 years, 2 months
1
0
0
0
windows agent: huge refactoring
by Sebastian Herbord
Module: check_mk Branch: master Commit: c5ee818358e695b01c2f2dbc05ad0713723a37f8 URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c5ee818358e695…
Author: Sebastian Herbord <sh(a)mathias-kettner.de> Date: Wed Jul 13 15:34:26 2016 +0200 windows agent: huge refactoring --- agents/windows/.gitignore | 1 + agents/windows/Configurable.cc | 1 + agents/windows/Configurable.h | 228 ++ agents/windows/Configuration.cc | 1128 +------- agents/windows/Configuration.h | 246 +- agents/windows/Environment.cc | 13 + agents/windows/Environment.h | 33 +- agents/windows/EventLog.cc | 4 +- agents/windows/ExternalCmd.cc | 4 +- agents/windows/Makefile | 42 +- agents/windows/OHMMonitor.cc | 4 +- agents/windows/OHMMonitor.h | 4 +- agents/windows/OutputProxy.cc | 5 +- agents/windows/OutputProxy.h | 1 - agents/windows/PerfCounter.cc | 2 +- agents/windows/README | 104 + agents/windows/Section.cc | 74 + agents/windows/Section.h | 87 + agents/windows/SectionManager.cc | 143 + agents/windows/SectionManager.h | 73 + agents/windows/SettingsCollector.cc | 16 - agents/windows/SettingsCollector.h | 105 +- agents/windows/build_version | 2 +- agents/windows/check_mk_agent-64.exe | Bin 1272320 -> 1319936 bytes agents/windows/check_mk_agent-64.unversioned.exe | Bin 1272320 -> 1319936 bytes agents/windows/check_mk_agent.cc | 3319 ++-------------------- agents/windows/check_mk_agent.exe | Bin 1240576 -> 1298432 bytes agents/windows/check_mk_agent.msi | Bin 2781696 -> 248320 bytes agents/windows/check_mk_agent.unversioned.exe | Bin 1240576 -> 1298432 bytes agents/windows/install_agent-64.exe | Bin 567256 -> 582999 bytes agents/windows/install_agent.exe | Bin 561019 -> 581250 bytes agents/windows/logging.cc | 13 +- agents/windows/sections/SectionCheckMK.cc | 128 + agents/windows/sections/SectionCheckMK.h | 51 + agents/windows/sections/SectionCrashDebug.cc | 54 + agents/windows/sections/SectionCrashDebug.h | 42 + agents/windows/sections/SectionDF.cc | 133 + agents/windows/sections/SectionDF.h | 44 + agents/windows/sections/SectionEventlog.cc | 344 +++ agents/windows/sections/SectionEventlog.h | 92 + agents/windows/sections/SectionFileinfo.cc | 91 + agents/windows/sections/SectionFileinfo.h | 53 + agents/windows/sections/SectionGroup.cc | 87 + agents/windows/sections/SectionGroup.h | 71 + agents/windows/sections/SectionLogwatch.cc | 818 ++++++ agents/windows/sections/SectionLogwatch.h | 158 + agents/windows/sections/SectionMRPE.cc | 174 ++ agents/windows/sections/SectionMRPE.h | 48 + agents/windows/sections/SectionMem.cc | 63 + agents/windows/sections/SectionMem.h | 40 + agents/windows/sections/SectionOHM.cc | 56 + agents/windows/sections/SectionOHM.h | 50 + agents/windows/sections/SectionPS.cc | 310 ++ agents/windows/sections/SectionPS.h | 77 + agents/windows/sections/SectionPerfcounter.cc | 92 + agents/windows/sections/SectionPerfcounter.h | 50 + agents/windows/sections/SectionPluginGroup.cc | 647 +++++ agents/windows/sections/SectionPluginGroup.h | 114 + agents/windows/sections/SectionServices.cc | 159 ++ agents/windows/sections/SectionServices.h | 42 + agents/windows/sections/SectionSkype.cc | 85 + agents/windows/sections/SectionSkype.h | 43 + agents/windows/sections/SectionSpool.cc | 102 + agents/windows/sections/SectionSpool.h | 42 + agents/windows/sections/SectionSystemtime.cc | 41 + agents/windows/sections/SectionSystemtime.h | 42 + agents/windows/sections/SectionUptime.cc | 72 + agents/windows/sections/SectionUptime.h | 55 + agents/windows/sections/SectionWMI.cc | 114 + agents/windows/sections/SectionWMI.h | 63 + agents/windows/sections/SectionWinperf.cc | 86 + agents/windows/sections/SectionWinperf.h | 52 + agents/windows/stringutil.cc | 80 +- agents/windows/stringutil.h | 26 +- agents/windows/types.cc | 226 ++ agents/windows/types.h | 49 +- agents/windows/wmiHelper.h | 1 + 77 files changed, 6353 insertions(+), 4566 deletions(-) Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=c5ee818358…
8 years, 2 months
1
0
0
0
3708 FIX cisco_vpn_tunnel: fixed missing phase 2 data
by Simon Betz
Module: check_mk Branch: master Commit: 51128a7bb69775f529f5cfd9ec42463cba415e19 URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=51128a7bb69775…
Author: Simon Betz <si(a)mathias-kettner.de> Date: Wed Jul 13 15:13:01 2016 +0200 3708 FIX cisco_vpn_tunnel: fixed missing phase 2 data --- .werks/3708 | 10 + ChangeLog | 1 + checks/cisco_vpn_tunnel | 484 +++++++++++++++++++++++++++++++++++++++++++---- 3 files changed, 460 insertions(+), 35 deletions(-) Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=51128a7bb6…
8 years, 2 months
1
0
0
0
3671 mssql_backup: Is now aware of backup types and outputs ages per backup type
by Lars Michelsen
Module: check_mk Branch: master Commit: b33a2c6357dd65e07713f0eec2f86187478b7f35 URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=b33a2c6357dd65…
Author: Lars Michelsen <lm(a)mathias-kettner.de> Date: Wed Jul 13 14:51:15 2016 +0200 3671 mssql_backup: Is now aware of backup types and outputs ages per backup type --- .werks/3671 | 9 ++++++ ChangeLog | 3 +- agents/windows/plugins/mssql.vbs | 16 ++++++--- checks/mssql_backup | 66 +++++++++++++++++++++++++++++++------- web/plugins/metrics/check_mk.py | 49 ++++++++++++++++++++++++++++ 5 files changed, 127 insertions(+), 16 deletions(-) diff --git a/.werks/3671 b/.werks/3671 new file mode 100644 index 0000000..d55129d --- /dev/null +++ b/.werks/3671 @@ -0,0 +1,9 @@ +Title: mssql_backup: Is now aware of backup types and outputs ages per backup type +Level: 1 +Component: checks +Compatible: compat +Version: 1.4.0i1 +Date: 1468414240 +Class: feature + + diff --git a/ChangeLog b/ChangeLog index 84c803c..9dae57a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -112,6 +112,7 @@ * 3691 oracle_jobs: status of missing jobs is now configurable * 3554 Inotify: Added configurable levels for movedto, movefrom and move self * 3706 hp_proliant_systeminfo, hp_proliant_mem, hp_proliant_da_phydrv: new inventory plugins + * 3671 mssql_backup: Is now aware of backup types and outputs ages per backup type * 3073 FIX: windows agent: relative paths to mrpe scripts are now treated as relative to the agent installation directory... * 3061 FIX: mk_jolokia: Fixed debugging of the agent plugin * 3074 FIX: windows agent: fixed incorrect values for 32-bit performance counters @@ -411,8 +412,8 @@ * 3657 Custom host attributes can now be configured... * 3658 LDAP: Connections can now be enabled/disabled per site... * 3553 SNMPv3 noAuthNoPriv: Fixed diagnostic page - * 3667 Search expressions in host search can now be given as regexes... * 3154 added ability to retrieve passwords for active checks from a password store + * 3667 Search expressions in host search can now be given as regexes... * 3060 FIX: Folder properties: Fixed exception when a user has no alias set... * 3062 FIX: Git integration: Fixed not adding files in WATO folders to git control * 3203 FIX: Distributed WATO: Fixed exception in remote host service discovery... diff --git a/agents/windows/plugins/mssql.vbs b/agents/windows/plugins/mssql.vbs index 4a529af..538c97d 100644 --- a/agents/windows/plugins/mssql.vbs +++ b/agents/windows/plugins/mssql.vbs @@ -277,17 +277,25 @@ For Each instance_id In instances.Keys ' Loop all databases to get the date of the last backup. Only show databases ' which have at least one backup - Dim lastBackupDate + Dim lastBackupDate, backup_type addOutput( "<<<mssql_backup>>>" ) For Each dbName in dbNames.Keys - RS.open "SELECT CONVERT(VARCHAR, DATEADD(s, DATEDIFF(s, '19700101', MAX(backup_finish_date)), '19700101'), 120) AS last_backup_date " & _ + RS.open "SELECT CONVERT(VARCHAR, DATEADD(s, DATEDIFF(s, '19700101', MAX(backup_finish_date)), '19700101'), 120) AS last_backup_date," & _ + "type " & _ "FROM msdb.dbo.backupset " & _ - "WHERE database_name = '" & dbName & "'", CONN + "WHERE database_name = '" & dbName & "'" & _ + "GROUP BY type", CONN Do While Not RS.Eof lastBackupDate = Trim(RS("last_backup_date")) + + backup_type = Trim(RS("type")) + If backup_type = "" Then + backup_type = "-" + End If + If lastBackupDate <> "" Then addOutput("MSSQL_" & instance_id & " " & Replace(dbName, " ", "_") & _ - " " & lastBackupDate) + " " & lastBackupDate & " " & backup_type) End If RS.MoveNext Loop diff --git a/checks/mssql_backup b/checks/mssql_backup index 47f865b..0a8f215 100644 --- a/checks/mssql_backup +++ b/checks/mssql_backup @@ -24,9 +24,28 @@ # to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, # Boston, MA 02110-1301 USA. +# Old agent # <<<mssql_backup>>> # MSSQL_SQLEXPRESS test123 1331207325 +# Newer agent +# <<<mssql_backup>>> +# MSSQL_SQL0x master 2016-07-08 20:20:27 +# MSSQL_SQL0x model 2016-07-08 20:20:28 +# MSSQL_SQL0x model 2016-07-12 09:09:42 +# MSSQL_SQL0x model 2016-07-11 20:20:07 +# MSSQL_SQL0x msdb 2016-07-08 20:20:43 +# MSSQL_SQL0x msdb 2016-07-11 20:20:07 + +# New agent (added backup type) +# <<<mssql_backup>>> +# MSSQL_SQL0x master 2016-07-08 20:20:27 D +# MSSQL_SQL0x model 2016-07-08 20:20:28 D +# MSSQL_SQL0x model 2016-07-12 09:09:42 L +# MSSQL_SQL0x model 2016-07-11 20:20:07 I +# MSSQL_SQL0x msdb 2016-07-08 20:20:43 D +# MSSQL_SQL0x msdb 2016-07-11 20:20:07 I + # Might be None to have no thresholds or a tuple of two ints # (<warn age in seconds>, <crit age in seconds>) mssql_backup_default_levels = None @@ -34,21 +53,40 @@ mssql_backup_default_levels = None def inventory_mssql_backup(info): return [ (line[0] + ' ' + line[1], 'mssql_backup_default_levels') for line in info - if len(line) == 4 ] + if len(line) in [3, 4, 5] ] def check_mssql_backup(item, params, info): + def backup_type_name(backup_type): + return { + "D": "database ", + "I": "database diff ", + "L": "log ", + "F": "file or filegroup ", + "G": "file diff ", + "P": "partial ", + "Q": "partial diff ", + "-": "unspecific ", + }.get(backup_type, "") + for line in info: - if len(line) not in [3, 4]: + if len(line) not in [3, 4, 5]: continue last_backup_date = False - try: - inst, tablespace, last_backup_date, last_backup_time = line - except ValueError: + if len(line) == 3: inst, tablespace, last_backup_timestamp = line + backup_type = None + + elif len(line) == 4: + inst, tablespace, last_backup_date, last_backup_time = line + backup_type = None + + elif len(line) == 5: + inst, tablespace, last_backup_date, last_backup_time, backup_type = line if item == inst + ' ' + tablespace: if last_backup_date: + # TODO: Timezone issue? Agent should always send UTC timestamp. timestamp = time.mktime(time.strptime(last_backup_date + ' ' + last_backup_time, '%Y-%m-%d %H:%M:%S')) else: @@ -57,20 +95,26 @@ def check_mssql_backup(item, params, info): state = 0 sec_ago = time.time() - timestamp + age_warn, age_crit = None, None if params is not None: if sec_ago >= params[1]: state = 2 elif sec_ago >= params[0]: state = 1 - perfdata = [('seconds', sec_ago, params[0], params[1])] + age_warn, age_crit = params[0], params[1] + + if backup_type == None: + perfkey = "seconds" else: - perfdata = [('seconds', sec_ago)] + perfkey = "backup_age_%s" % backup_type_name(backup_type).strip().replace(" ", "_") + + perfdata = [(perfkey, sec_ago, age_warn, age_crit)] - return (state, 'Last backup was at %s (%s ago)' % - (time.strftime('%Y-%m-%d %H:%M:%S', time.localtime(timestamp)), - get_age_human_readable(sec_ago)), perfdata) + yield state, 'Last %sbackup was at %s (%s ago)' % \ + (backup_type_name(backup_type), + time.strftime('%Y-%m-%d %H:%M:%S', time.localtime(timestamp)), + get_age_human_readable(sec_ago)), perfdata - return (3, 'Tablespace %s could not be found' % item) check_info['mssql_backup'] = { 'check_function': check_mssql_backup, diff --git a/web/plugins/metrics/check_mk.py b/web/plugins/metrics/check_mk.py index 8a5dc97..4eec359 100644 --- a/web/plugins/metrics/check_mk.py +++ b/web/plugins/metrics/check_mk.py @@ -2472,6 +2472,55 @@ metric_info["job_duration"] = { "color" : "33/a", } +metric_info["backup_age_database"] = { + "title" : _("Age of last database backup"), + "unit" : "s", + "color" : "11/a", +} + +metric_info["backup_age_database_diff"] = { + "title" : _("Age of last differential database backup"), + "unit" : "s", + "color" : "14/a", +} + +metric_info["backup_age_log"] = { + "title" : _("Age of last log backup"), + "unit" : "s", + "color" : "21/a", +} + +metric_info["backup_age_file_or_filegroup"] = { + "title" : _("Age of last file or filegroup backup"), + "unit" : "s", + "color" : "24/a", +} + +metric_info["backup_age_file_diff"] = { + "title" : _("Age of last differential file backup"), + "unit" : "s", + "color" : "31/a", +} + +metric_info["backup_age_partial"] = { + "title" : _("Age of last partial backup"), + "unit" : "s", + "color" : "34/a", +} + +metric_info["backup_age_differential_partial"] = { + "title" : _("Age of last differential partial backup"), + "unit" : "s", + "color" : "41/a", +} + +metric_info["backup_age"] = { + "title" : _("Time since last backup"), + "unit" : "s", + "color" : "34/a", +} + + metric_info["checkpoint_age"] = { "title" : _("Time since last checkpoint"), "unit" : "s",
8 years, 2 months
1
0
0
0
Shorten title of failed notifications view
by Mathias Kettner
Module: check_mk Branch: master Commit: 22bee98a0b6fef62f718231975643a2277724f6e URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=22bee98a0b6fef…
Author: Mathias Kettner <mk(a)mathias-kettner.de> Date: Wed Jul 13 14:40:04 2016 +0200 Shorten title of failed notifications view --- web/plugins/views/builtin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/plugins/views/builtin.py b/web/plugins/views/builtin.py index 07a3910..ff49507 100644 --- a/web/plugins/views/builtin.py +++ b/web/plugins/views/builtin.py @@ -3138,7 +3138,7 @@ multisite_builtin_views.update({ 'log_notification_phase', ], 'sorters': [('log_time', True), ('log_lineno', True)], - 'title': _('Failed Host- and Service notifications'), + 'title': _('Failed notifications'), 'topic': _('Other')}, 'svcnotifications': {'browser_reload': 0, 'column_headers': 'pergroup',
8 years, 2 months
1
0
0
0
bugfix to last commit
by Sebastian Herbord
Module: check_mk Branch: master Commit: d739a16627c5f0e6a47433713b2da76a67d505f8 URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=d739a16627c5f0…
Author: Sebastian Herbord <sh(a)mathias-kettner.de> Date: Wed Jul 13 13:27:20 2016 +0200 bugfix to last commit --- web/plugins/userdb/hook_auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/passwordstore.py b/lib/passwordstore.py old mode 100755 new mode 100644 diff --git a/web/plugins/userdb/hook_auth.py b/web/plugins/userdb/hook_auth.py index 8974f1b..0f779f5 100644 --- a/web/plugins/userdb/hook_auth.py +++ b/web/plugins/userdb/hook_auth.py @@ -291,7 +291,7 @@ def save_passwords(users): keys_now = set([pw['key'] for pw in user.get('passwords', [])]) for deleted_pw in keys_before - keys_now: - tore.remove(deleted_pw, owner) + store.remove(deleted_pw, owner) for pw in user.get('passwords', []): if not pw['secret']:
8 years, 2 months
1
0
0
0
3154 added ability to retrieve passwords for active checks from a password store
by Sebastian Herbord
Module: check_mk Branch: master Commit: fa916aca3d22c19d33a58a2e0399cbe1b27579ad URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=fa916aca3d22c1…
Author: Sebastian Herbord <sh(a)mathias-kettner.de> Date: Tue Jul 5 16:22:07 2016 +0200 3154 added ability to retrieve passwords for active checks from a password store --- .werks/3154 | 9 + ChangeLog | 1 + checks/check_http | 14 +- lib/passwordstore.py | 677 +++++++++++++++++++++++++++++++++ web/htdocs/userdb.py | 19 +- web/htdocs/valuespec.py | 85 ++++- web/plugins/userdb/hook_auth.py | 59 ++- web/plugins/userdb/user_attributes.py | 29 ++ web/plugins/wato/active_checks.py | 6 +- 9 files changed, 885 insertions(+), 14 deletions(-) Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=fa916aca3d…
8 years, 2 months
1
0
0
0
← Newer
1
...
12
13
14
15
16
17
18
...
22
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
Results per page:
10
25
50
100
200