Module: check_mk
Branch: master
Commit: 3c7ea37d710ab4a764ff654813a57af14d08246c
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=3c7ea37d710ab4…
Author: Sebastian Herbord <sh(a)mathias-kettner.de>
Date: Tue Dec 8 14:28:35 2015 +0100
Revert "#2867 check_http: client certificate and private key file parameters can now be set in wato"
This reverts commit dc53cb4d19abb62d55e29865e48188268a39b0f3.
---
.werks/2867 | 9 ---------
ChangeLog | 1 -
checks/check_http | 6 ------
web/plugins/wato/active_checks.py | 15 ---------------
4 files changed, 31 deletions(-)
diff --git a/.werks/2867 b/.werks/2867
deleted file mode 100644
index 94afa52..0000000
--- a/.werks/2867
+++ /dev/null
@@ -1,9 +0,0 @@
-Title: check_http: client certificate and private key file parameters can now be set in wato
-Level: 1
-Component: checks
-Compatible: compat
-Version: 1.2.7i4
-Date: 1449481056
-Class: feature
-
-Users of these parameters should take extra care to verify the file names specified are valid.
diff --git a/ChangeLog b/ChangeLog
index a5e3a1d..9be5a43 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -54,7 +54,6 @@
* 2780 cisco_vss: detect this check on newer (15.1) devices
* 2874 netstat_an.bat: Restrict output of connections to TCP, safes performance
* 2866 ewon: Added support for monitoring Wagner OxyReduct devices with their data exposed through an ewon router...
- * 2867 check_http: client certificate and private key file parameters can now be set in wato...
* 2884 mssql_blocked_sessions: the state of the blocked sessions is now configurable
* 1313 apc_sts_inputs: New Check for APC Static Transfer Swichtes: Input Phases
* 1314 apc_sts_source: New Check to monitor if the input source changes on APC STS devices
diff --git a/checks/check_http b/checks/check_http
index d1adddc..85f882d 100644
--- a/checks/check_http
+++ b/checks/check_http
@@ -145,12 +145,6 @@ def check_http_arguments(params):
if settings.get("urlize"):
args += ' -L'
- if "client_certificate" in settings:
- args += ' -J %s' % settings["client_certificate"]
-
- if "private_key" in settings:
- args += ' -K %s' % settings["private_key"]
-
if not omit_ip:
args = " -I " + address + args
return args
diff --git a/web/plugins/wato/active_checks.py b/web/plugins/wato/active_checks.py
index 6aa2d3c..8f798f7 100644
--- a/web/plugins/wato/active_checks.py
+++ b/web/plugins/wato/active_checks.py
@@ -973,21 +973,6 @@ register_rule(group,
"to the checked URL and this clickable."),
)
),
- ( "client_certificate",
- Filename(
- title = _("Client Certificate File"),
- help = _("Set the certificate the client uses to identify itself to the https server. "
- "Needs to be in PEM format. "
- "Please be very careful to enter a valid filename."),
- )
- ),
- ( "private_key",
- Filename(
- title = _("Private Key File"),
- help = _("Set the private key file (PEM format) matching the client certificate. "
- "Please be very careful to enter a valid filename."),
- )
- ),
]
),
Module: check_mk
Branch: master
Commit: b3ef665a7c4ba040ae93c84b2086d12336131e63
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=b3ef665a7c4ba0…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Tue Dec 8 13:53:24 2015 +0100
#1315 check_mk_agent.linux: The ps section of the agent now supports long usernames
The ps command now return usernames up to 32 digits instead falling back to the user_id.
Thanks for this Patch to Vinny Wadding
---
.werks/1315 | 11 +++++++++++
ChangeLog | 1 +
agents/check_mk_agent.linux | 2 +-
3 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/.werks/1315 b/.werks/1315
new file mode 100644
index 0000000..cf995d8
--- /dev/null
+++ b/.werks/1315
@@ -0,0 +1,11 @@
+Title: check_mk_agent.linux: The ps section of the agent now supports long usernames
+Level: 1
+Component: checks
+Compatible: compat
+Version: 1.2.7i4
+Date: 1449579105
+Class: feature
+
+The ps command now return usernames up to 32 digits instead falling back to the user_id.
+Thanks for this Patch to Vinny Wadding
+
diff --git a/ChangeLog b/ChangeLog
index 197dbbb..a5e3a1d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -58,6 +58,7 @@
* 2884 mssql_blocked_sessions: the state of the blocked sessions is now configurable
* 1313 apc_sts_inputs: New Check for APC Static Transfer Swichtes: Input Phases
* 1314 apc_sts_source: New Check to monitor if the input source changes on APC STS devices
+ * 1315 check_mk_agent.linux: The ps section of the agent now supports long usernames...
* 2660 FIX: fixed windows agent using the wrong working directory...
* 2664 FIX: ps: Speedup in situation with many matching processes...
* 2661 FIX: windows agent: fixed incomplete process list...
diff --git a/agents/check_mk_agent.linux b/agents/check_mk_agent.linux
index 9d4e18c..f0f9f15 100755
--- a/agents/check_mk_agent.linux
+++ b/agents/check_mk_agent.linux
@@ -214,7 +214,7 @@ grep ^/dev < /proc/mounts
# processes including username, without kernel processes
echo '<<<ps>>>'
-ps ax -o user,vsz,rss,cputime,etime,pid,command --columns 10000 | sed -e 1d -e 's/ *\([^ ]*\) *\([^ ]*\) *\([^ ]*\) *\([^ ]*\) *\([^ ]*\) *\([^ ]*\) */(\1,\2,\3,\4\/\5,\6) /'
+ps ax -o user:32,vsz,rss,cputime,etime,pid,command --columns 10000 | sed -e 1d -e 's/ *\([^ ]*\) *\([^ ]*\) *\([^ ]*\) *\([^ ]*\) *\([^ ]*\) *\([^ ]*\) */(\1,\2,\3,\4\/\5,\6) /'
# Memory usage
echo '<<<mem>>>'