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
October 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
276 discussions
Start a n
N
ew thread
Fixed wrong merge
by Lars Michelsen
Module: check_mk Branch: master Commit: 7d904ebb4ff0820f2e4476a133cd903451fe01e4 URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=7d904ebb4ff082…
Author: Lars Michelsen <lm(a)mathias-kettner.de> Date: Tue Oct 18 08:49:43 2016 +0200 Fixed wrong merge --- tests/Makefile | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/Makefile b/tests/Makefile index 8930019..03b00eb 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -29,7 +29,4 @@ setup: beautifulsoup4 \ pytest-stepwise \ dill - sudo apt-get install \ - python-lxml ->>>>>>> Added dill module to test setup $(MAKE) -C pylint setup
7 years, 11 months
1
0
0
0
Added dill module to test setup
by Lars Michelsen
Module: check_mk Branch: master Commit: 8b4e3b4a4d4fbc7e95add42d5a79bb1bc1b5ecb8 URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8b4e3b4a4d4fbc…
Author: Lars Michelsen <lm(a)mathias-kettner.de> Date: Tue Oct 18 08:37:28 2016 +0200 Added dill module to test setup --- tests/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/Makefile b/tests/Makefile index 449cfc7..8930019 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -27,5 +27,9 @@ setup: pytest \ requests \ beautifulsoup4 \ - pytest-stepwise + pytest-stepwise \ + dill + sudo apt-get install \ + python-lxml +>>>>>>> Added dill module to test setup $(MAKE) -C pylint setup
7 years, 11 months
1
0
0
0
Updated werk 3964 and added new check_mk_agent for z/OS
by Sven Rueß
Module: check_mk Branch: master Commit: 8e1e603c54bfdfe670b95d0d19e74e913c7e47f5 URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8e1e603c54bfdf…
Author: Sven Rueà <sr(a)mathias-kettner.de> Date: Mon Oct 17 19:41:31 2016 +0200 Updated werk 3964 and added new check_mk_agent for z/OS --- .werks/3964 | 4 ++-- ChangeLog | 2 +- agents/z_os/README.convert | 5 ++++- agents/z_os/check_mk_agent | 2 +- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.werks/3964 b/.werks/3964 index c068a25..0cbd532 100644 --- a/.werks/3964 +++ b/.werks/3964 @@ -1,4 +1,4 @@ -Title: df_zos: Fixed not working filesystemcheck for IBM zOS +Title: df_zos: Fixed not working filesystemcheck for IBM z/OS Level: 1 Component: checks Class: fix @@ -7,4 +7,4 @@ State: unknown Version: 1.4.0i2 Date: 1476713605 - +Updated filesystemchecks to new output format of z/OS. diff --git a/ChangeLog b/ChangeLog index b0f05dd..61ed808 100644 --- a/ChangeLog +++ b/ChangeLog @@ -26,7 +26,7 @@ * 3937 FIX: check_mk_agent.aix: fixed hadling of mailq command * 3824 FIX: netapp_api_snapvault: fixed duplicate service when item name contains a $ character... * 3825 FIX: local check: no longer cuts away any trailing "9" digits in P mode - * 3964 FIX: df_zos: Fixed not working filesystemcheck for IBM zOS + * 3964 FIX: df_zos: Fixed not working filesystemcheck for IBM z/OS... * 3826 FIX: netapp_api_connection: now removes duplicate warning messages Multisite: diff --git a/agents/z_os/README.convert b/agents/z_os/README.convert index c9cc254..8d88b84 100644 --- a/agents/z_os/README.convert +++ b/agents/z_os/README.convert @@ -1,2 +1,5 @@ -iconv -f ibm-1047 -t utf-8 FILE_NAME |tr "\205" "\12"|tr -d "\302" +Lesbar: +iconv -f ibm-1047 -t utf-8 FILENAME | tr "\205" "\12" | tr -d "\302" +z/OS: +iconv -f utf-8 -t ibm-1047 FILENAME | tr "\12" "\205" | tr -d "\302" diff --git a/agents/z_os/check_mk_agent b/agents/z_os/check_mk_agent index 29443f8..cc8f920 100644 --- a/agents/z_os/check_mk_agent +++ b/agents/z_os/check_mk_agent @@ -1 +1 @@ -{ § @ònP`¢ £@N§¥ §£@mÅÄÃmÁÄÄmÅÙÙÕÖò~ñ §£@×ÁãÈ~a §£@ÔÒmÓÉÂÄÉÙ~a€¢aa mm £ §£@ÔÒmÃÖÕÆÄÉÙ~a £a m{@Ô @¢€ k@š@¢£ @ ¢@ @€×ÁãÈ~[×ÁãÈza€¢a@@@@@@{@Á@ § €£ ¢@@×ÓäÇÉÕâÄÉÙ@Š@¢š@ @ § €£ @@£ {@€€£@ @£@£ @€£€£@@£ @ £K@×€¢@ @£ @Š{@¢ £¢@@€¢£@€£€£@ ¢@Š£@}LLL}@@}nnn}×ÓäÇÉÕâÄÉÙ~[ÔÒmÓÉÂÄÉÙa€¢{@Á@ § €£ ¢@@ÓÖÃÁÓÄÉÙ@Š@š@ § €£ @@£ {@€£€£@¢ £ @£@£ @¢ £@LLLnnnK@× ¢ {@ @£@ @€ ££@@ £¢@€£@@ ¢KÓÖÃÁÓÄÉÙ~[ÔÒmÓÉÂÄÉÙa{@Á@ ¢@@â×ÖÖÓÄÉÙ@Š@¢š@ @£@£ @ £{@€£€£@@£ š@ @£@€££ @M¢ @ Š]â×ÖÖÓÄÉÙ~[ÔÒmÃÖÕÆÄÉÙa¢ @LLL mnnn@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @å ¢z@ñKòKô@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @Á £Öâz@©aÖâ@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @×€¢Ä £šz@[×ÓäÇÉÕâÄÉÙ@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ÓÄ £šz@[ÓÖÃÁÓÄÉÙ@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @âÄ £šz@[â×ÖÖÓÄÉÙ@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @Á £Ä £šz@[ÔÒmÃÖÕÆÄÉÙ@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@~[MŠ]@@@@@@@@@ @LLL¢nnn@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @¢@` @`@€¢ k¥¢©k¥¢©öôk€k@O@¢€@O@¢ @` @ñ@` @}¢a@\àM_@œ\à]@\àM_@œ\à]@\àM_@œ\à]@\àM_@œ\à]@\aMàñkàòkàókàô]@a}@@@@@@@@@@@@@@@@@@@{@ä£ @}LLL€£ nnn}@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@a€¢aa€£ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @LLLm©¢nnn@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@`¥×@O@¢ @ñ{@`@O@¢ @ñ@O@ @`¥ @¢@`¥ @@{@×€¢@@[×ÓäÇÉÕâÄÉÙ@òna ¥a€£ @@@@@¢£@@[M¢]@@@@@@@@@@@@@@`§@[¢£@œ@^@£ @@@@@@@@@@@@Ka[¢£@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ {@Ó@ ¢ @}LLLnnn}@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@[ÓÖÃÁÓÄÉÙ@^@£ @@@@@¢£@@[M¢]@^@@@@@@@@@@@`@[¢£@`@`§@[¢£@œ@^@£ @@@@@@@@@@@@Ka[¢£@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ \ No newline at end of file +{ § @ònP`%¢ £@N§¥%% §£@mÅÄÃmÁÄÄmÅÙÙÕÖò~ñ% §£@×ÁãÈ~a%% §£@ÔÒmÓÉÄÉÙ~a€¢aa mm £% §£@ÔÒmÃÖÕÆÄÉÙ~a £a m%{@Ô @¢€ k@š@¢£ @ ¢@ @€%×ÁãÈ~[×ÁãÈza€¢a%%{@Á@ § €£ ¢@@×ÓäÇÉÕâÄÉÙ@Š@¢š@ @ § €£ @@£ %{@€€£@ @£@£ @€£€£@@£ @ £K@×€¢@ @£ @Š%{@¢ £¢@@€¢£@€£€£@ ¢@Š£@}LLL}@@}nnn}%×ÓäÇÉÕâÄÉÙ~[ÔÒmÓÉÄÉÙa€¢%%{@Á@ § €£ ¢@@ÓÖÃÁÓÄÉÙ@Š@š@ § €£ @@£ %{@€£€£@¢ £ @£@£ @¢ £@LLLnnnK@× ¢ %{@ @£@ @€ ££@@ £¢@€£@@ ¢K%ÓÖÃÁÓÄÉÙ~[ÔÒmÓÉÄÉÙa%%{@Á@ ¢@@â×ÖÖÓÄÉÙ@Š@¢š@ @£@£ @ £%{@€£€£@@£ š@ @£@€££ @M¢ @ Š]%â×ÖÖÓÄÉÙ~[ÔÒmÃÖÕÆÄÉÙa¢%% @LLL mnnn% @å ¢z@ñKòKø% @Á £Öâz@©aÖâ% @×€¢Ä £šz@[×ÓäÇÉÕâÄÉÙ% @ÓÄ £šz@[ÓÖÃÁÓÄÉÙ% @âÄ £šz@[â×ÖÖÓÄÉÙ% @Á £Ä £šz@[ÔÒmÃÖÕÆÄÉÙ%%~[MŠ]%%%{@× ¢¢ ¢% @LLL¢nnn% @¢@` @`@€¢ k¥¢©k¥¢©öôk€k@O@¢€@O@¢ @` @ñ@` @}¢a@\àM_@œ\à]@\àM_@œ\à]@\àM_@œ\à]@\àM_@œ\à]@\aMàñkàòkàókàô]@a}%%%{@ä£ % @}LLL€£ nnn}%a€¢aa€£ %%%{@Æ ¢š¢£ ¢% @LLLm©¢nnn%@`¥×@O@¢ @ñ@O@¢ @}¢a_à¢\[a{{{{{{{{{{a}%%%{@×€¢%@@[×ÓäÇÉÕâÄÉÙ@òna ¥a€%£ %@@@@@¢£@@[M¢]%@@@@%@@@@@@@@@@`§@[¢£@œ@^@£ %@@@@@@@@@@@@Ka[¢£%@@@@@@@@%@@@@ %%%%{@Ó@ ¢% @}LLLnnn}%@@[ÓÖÃÁÓÄÉÙ@^@£ %@@@@@¢£@@[M¢]@^@%@@@@@@@@@@`@[¢£@`@`§@[¢£@œ@^@£ %@@@@@@@@@@@@Ka[¢£%@@@@@@@@%@@@@ %% \ No newline at end of file
7 years, 11 months
1
0
0
0
Updated installation of pylint environment
by Sven Rueß
Module: check_mk Branch: master Commit: ce3818e4f311c099964272b30b99c0c6930346f2 URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ce3818e4f311c0…
Author: Sven Rueß <sr(a)mathias-kettner.de> Date: Mon Oct 17 19:25:20 2016 +0200 Updated installation of pylint environment --- tests/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/Makefile b/tests/Makefile index fc2a8a7..449cfc7 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -19,11 +19,13 @@ test-pylint-ci: setup: - sudo pip install \ + sudo apt-get install \ + python-pip \ + python-lxml + pip install --upgrade pip + pip install \ pytest \ requests \ beautifulsoup4 \ pytest-stepwise - sudo apt-get install \ - python-lxml $(MAKE) -C pylint setup
7 years, 11 months
1
0
0
0
3826 FIX netapp_api_connection: now removes duplicate warning messages
by Andreas Boesl
Module: check_mk Branch: master Commit: f79fe941c1ebe6795c42233c7d926f2f237ccfdd URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f79fe941c1ebe6…
Author: Andreas Boesl <ab(a)mathias-kettner.de> Date: Mon Oct 17 17:15:50 2016 +0200 3826 FIX netapp_api_connection: now removes duplicate warning messages --- .werks/3826 | 9 +++++++++ ChangeLog | 1 + 2 files changed, 10 insertions(+) diff --git a/.werks/3826 b/.werks/3826 new file mode 100644 index 0000000..7e3b5cf --- /dev/null +++ b/.werks/3826 @@ -0,0 +1,9 @@ +Title: netapp_api_connection: now removes duplicate warning messages +Level: 1 +Component: checks +Compatible: compat +Version: 1.4.0i2 +Date: 1476717293 +Class: fix + + diff --git a/ChangeLog b/ChangeLog index 133bb73..b0f05dd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -27,6 +27,7 @@ * 3824 FIX: netapp_api_snapvault: fixed duplicate service when item name contains a $ character... * 3825 FIX: local check: no longer cuts away any trailing "9" digits in P mode * 3964 FIX: df_zos: Fixed not working filesystemcheck for IBM zOS + * 3826 FIX: netapp_api_connection: now removes duplicate warning messages Multisite: * 3959 Two new filters for the comment view: author and comment text field
7 years, 11 months
1
0
0
0
Fixed pylint tests on CI server
by Lars Michelsen
Module: check_mk Branch: master Commit: 3fd87ca514951f4b9ce31261b64069b095176e2c URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=3fd87ca514951f…
Author: Lars Michelsen <lm(a)mathias-kettner.de> Date: Mon Oct 17 16:26:04 2016 +0200 Fixed pylint tests on CI server --- tests/web/tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/web/tools.py b/tests/web/tools.py index f74b47e..7c119f8 100644 --- a/tests/web/tools.py +++ b/tests/web/tools.py @@ -12,7 +12,6 @@ import re import difflib import warnings import traceback # for tracebacks -import dill.source # for displaying lambda functional code import time from bs4 import BeautifulSoup as bs from bs4 import NavigableString @@ -208,6 +207,7 @@ def html_generator_test(old, new, fun, attributes=None, reinit=True): if reinit: + import dill.source print bcolors.HEADER + "TESTING" + bcolors.ENDC + dill.source.getsource(fun)
7 years, 11 months
1
0
0
0
3964 FIX df_zos: Fixed not working filesystemcheck for IBM zOS
by Sven Rueß
Module: check_mk Branch: master Commit: e5aad376d056fa434b937d91f595248d92f85a7d URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=e5aad376d056fa…
Author: Sven Rueß <sr(a)mathias-kettner.de> Date: Mon Oct 17 16:15:10 2016 +0200 3964 FIX df_zos: Fixed not working filesystemcheck for IBM zOS --- .werks/3964 | 10 ++++++ ChangeLog | 1 + checks/df_zos | 109 ++++++++++++++++++++++++++++++++++++++-------------------- 3 files changed, 83 insertions(+), 37 deletions(-) diff --git a/.werks/3964 b/.werks/3964 new file mode 100644 index 0000000..c068a25 --- /dev/null +++ b/.werks/3964 @@ -0,0 +1,10 @@ +Title: df_zos: Fixed not working filesystemcheck for IBM zOS +Level: 1 +Component: checks +Class: fix +Compatible: compat +State: unknown +Version: 1.4.0i2 +Date: 1476713605 + + diff --git a/ChangeLog b/ChangeLog index 98c73fc..133bb73 100644 --- a/ChangeLog +++ b/ChangeLog @@ -26,6 +26,7 @@ * 3937 FIX: check_mk_agent.aix: fixed hadling of mailq command * 3824 FIX: netapp_api_snapvault: fixed duplicate service when item name contains a $ character... * 3825 FIX: local check: no longer cuts away any trailing "9" digits in P mode + * 3964 FIX: df_zos: Fixed not working filesystemcheck for IBM zOS Multisite: * 3959 Two new filters for the comment view: author and comment text field diff --git a/checks/df_zos b/checks/df_zos index 2d49b2c..5e4732d 100644 --- a/checks/df_zos +++ b/checks/df_zos @@ -28,10 +28,11 @@ # SYS5.OMVS.ALF0.HFS 720 92 504 16% /ALF0 # HFS, Read/Write, Device:2, ACLS=Y # Filetag : T=off codeset=0 -# +# ########## # SYS5.OMVS.SYSPLEX.ROOT 720 224 372 38% / # HFS, Read Only, Device:1, ACLS=Y # Filetag : T=off codeset=0 +# ########## # FS Types: # AUTOMNT @@ -40,52 +41,86 @@ # NFS # HFS -def df_zos_convert(data): - entries = [] - found = False - for line in data: - if len(line) == 6: - entry = list(line) - found = True + +def parse_df_zos(info): + parsed = {} + fs = None + usage = [] + options = [] + + for line in info: + if line[0].startswith('#####'): + # Add item for filesystem + parsed.setdefault(fs, {}) + parsed[fs].setdefault('size', usage) + parsed[fs].setdefault('options', options) + + fs = None + usage = [] + options = [] + elif line[0].startswith('Filesystem'): + # Ignore header line continue - elif found: - entry.append(line[0][:-1]) #Filesystem Type - # Read/Write - if len(line) == 4: - entry.append('rw') - # Read Only - else: - entry.append('ro') - entries.append(entry) - found = False - return entries + else: + if fs == None: + # First line: filesystem with usage information + fs = line[5] + usage = line[1:5] + elif not options: + # Second line: filesystem options + for option in line: + options.append(option.replace(',', '')) + if 'Read' in options and 'Only' in options: + options.remove('Read') + options.remove('Only') + options.append('ReadOnly') + return parsed + df_zos_exclude_list = ['AUTOMNT', 'TFS', 'NFS'] -def inventory_df_zos(info): - info = df_zos_convert(info) +def inventory_df_zos(parsed): mplist = [] - for line in info: - if line[-1] == "rw" and line[-2] not in df_zos_exclude_list: - mplist.append(line[5]) + + for item in parsed.keys(): + fs_rw = False + fs_ex = False + + # Check filesystem options + for option in parsed[item]['options']: + # Check if filesystem is rw + if option == 'Read/Write': + fs_rw = True + + # Check if filesystem is excluded + if option in df_zos_exclude_list: + fs_ex = True + + if fs_rw and not fs_ex: + mplist.append(item) return df_inventory(mplist) -def check_df_zos(item, params, info): - info_convert = df_zos_convert(info) +def check_df_zos(item, params, parsed): fslist = [] - for fs, size, used, avail, used_perc, mount_point, fs_type, fs_state in info_convert: - size_mb = float(size) / 1024 - avail_mb = float(avail) / 1024 - fslist.append((mount_point, size_mb, avail_mb, 0)) + + for filesystem in parsed.keys(): + (size_mb, used_mb, avail_mb) = map(float, parsed[filesystem]['size'][0:3]) + size_mb /= 1024 + used_mb /= 1024 + avail_mb /= 1024 + fslist.append((filesystem, size_mb, avail_mb, 0)) + return df_check_filesystem_list(item, params, fslist) + check_info['df_zos'] = { - "check_function" : check_df_zos, - "inventory_function" : inventory_df_zos, - "service_description" : "Filesystem %s", - "has_perfdata" : True, - "group" : "filesystem", - "default_levels_variable" : "filesystem_default_levels", - "includes" : [ "df.include" ], + 'parse_function' : parse_df_zos, + 'check_function' : check_df_zos, + 'inventory_function' : inventory_df_zos, + 'service_description' : "Filesystem %s", + 'has_perfdata' : True, + 'group' : 'filesystem', + 'default_levels_variable' : "filesystem_default_levels", + 'includes' : [ 'df.include' ], }
7 years, 11 months
1
0
0
0
Quick fix for garbled HTML/JS code after recent refactoring
by Lars Michelsen
Module: check_mk Branch: master Commit: 6f50a7429819737ee9e2595c2273b107c098dd6b URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=6f50a742981973…
Author: Lars Michelsen <lm(a)mathias-kettner.de> Date: Mon Oct 17 16:16:48 2016 +0200 Quick fix for garbled HTML/JS code after recent refactoring --- web/htdocs/htmllib.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/web/htdocs/htmllib.py b/web/htdocs/htmllib.py index 2763ed6..5577b10 100644 --- a/web/htdocs/htmllib.py +++ b/web/htdocs/htmllib.py @@ -421,24 +421,24 @@ class HTMLGenerator(OutputFunnel): def _render_opening_tag(self, tag_name, close_tag=False, **attrs): """ You have to replace attributes which are also python elements such as 'class', 'id', 'for' or 'type' using a trailing underscore (e.g. 'class_' or 'id_'). """ - self.indent_level += self.indent + #self.indent_level += self.indent if not attrs: - return "%s<%s%s>\n" % (' ' * (self.indent_level - self.indent),\ + return "%s<%s%s>" % (' ' * (self.indent_level - self.indent),\ tag_name,\ ' /' if close_tag else '') else: - return "%s<%s%s%s>\n" % (' ' * (self.indent_level - self.indent),\ + return "%s<%s%s%s>" % (' ' * (self.indent_level - self.indent),\ tag_name, ''.join(self._render_attributes(**attrs)),\ ' /' if close_tag else '') def _render_closing_tag(self, tag_name): - self.indent_level -= self.indent if self.indent_level < 0 else 0 - return "%s</%s>\n" % (' ' * self.indent_level, tag_name) + #self.indent_level -= self.indent if self.indent_level < 0 else 0 + return "%s</%s>" % (' ' * self.indent_level, tag_name) def _render_content_tag(self, tag_name, tag_content, **attrs): - return "%s%s%s\n%s" % (self._render_opening_tag(tag_name, **attrs),\ + return "%s%s%s%s" % (self._render_opening_tag(tag_name, **attrs),\ ' ' * self.indent_level,\ self._escape_text(tag_content),\ self._render_closing_tag(tag_name))
7 years, 11 months
1
0
0
0
Foldable container: Fixed duplicate treeangle title css class
by Lars Michelsen
Module: check_mk Branch: master Commit: 9e5a697ff46bbec2ef3511d4ab93f41ab56b19b6 URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=9e5a697ff46bbe…
Author: Lars Michelsen <lm(a)mathias-kettner.de> Date: Mon Oct 17 15:50:18 2016 +0200 Foldable container: Fixed duplicate treeangle title css class --- web/htdocs/htmllib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/htdocs/htmllib.py b/web/htdocs/htmllib.py index c026335..2763ed6 100644 --- a/web/htdocs/htmllib.py +++ b/web/htdocs/htmllib.py @@ -2304,7 +2304,7 @@ class html(DeprecationWrapper): if indent != "form": self.write("<br>") else: - self.write('<b class="treeangle title" class=treeangle %s>' % (not title_url and onclick or "")) + self.write('<b class="treeangle title" %s>' % (not title_url and onclick or "")) if icon: self.write('<img class="treeangle title" src="images/icon_%s.png">' % self.attrencode(icon)) if title_url:
7 years, 11 months
1
0
0
0
Reserved 1 Werk IDS
by Sven Rueß
Module: check_mk Branch: master Commit: d786d7a49dc39aeb098f126e85210d93b460624e URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=d786d7a49dc39a…
Author: Sven Rueß <sr(a)mathias-kettner.de> Date: Mon Oct 17 16:08:47 2016 +0200 Reserved 1 Werk IDS --- .werks/first_free | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.werks/first_free b/.werks/first_free index 44e1099..210cd2d 100644 --- a/.werks/first_free +++ b/.werks/first_free @@ -1 +1 @@ -3964 +3965
7 years, 11 months
1
0
0
0
← Newer
1
...
13
14
15
16
17
18
19
...
28
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
Results per page:
10
25
50
100
200