Module: check_mk
Branch: master
Commit: 05b81a5fdcb2666701c94b9d6f77baaf9e3f407b
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=05b81a5fdcb266…
Author: Goetz Golla <gg(a)mathias-kettner.de>
Date: Wed Jun 3 09:42:04 2015 +0200
domino_mailqueues: fix for check man page
---
checkman/domino_mailqueues | 3 ---
1 file changed, 3 deletions(-)
diff --git a/checkman/domino_mailqueues b/checkman/domino_mailqueues
index efd1512..ec33469 100644
--- a/checkman/domino_mailqueues
+++ b/checkman/domino_mailqueues
@@ -15,9 +15,6 @@ inventory:
The names of the mail queues are predefined in the check. If the corresponding
oid is found, the corresponding mail queue is inventorized.
-[configuration]
-domino_mailqueues_defaults (dict)
-
[parameters]
parameters (dict): The parameters can be given in a dictionary based syntax
with the single element below.
Module: check_mk
Branch: master
Commit: 8e43fe31e9a2f21de83db754107c0fee918e6e13
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8e43fe31e9a2f2…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Jun 2 15:56:51 2015 +0200
#2261 FIX Fixed wrong pnp template cache path in non OMD environments
Previous versions used /temp/check_mk_pnp_template_cache which was working,
but not intended. The path has been changed to /tmp/check_mk_pnp_template_cache
now. You can savely delete the old directory.
This only affects manual installations of Check_MK.
---
.werks/2261 | 13 +++++++++++++
ChangeLog | 1 +
pnp-templates/default.php | 2 +-
3 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/.werks/2261 b/.werks/2261
new file mode 100644
index 0000000..6022e7d
--- /dev/null
+++ b/.werks/2261
@@ -0,0 +1,13 @@
+Title: Fixed wrong pnp template cache path in non OMD environments
+Level: 1
+Component: multisite
+Compatible: compat
+Version: 1.2.7i2
+Date: 1433253304
+Class: fix
+
+Previous versions used /temp/check_mk_pnp_template_cache which was working,
+but not intended. The path has been changed to /tmp/check_mk_pnp_template_cache
+now. You can savely delete the old directory.
+
+This only affects manual installations of Check_MK.
diff --git a/ChangeLog b/ChangeLog
index 0939a4e..6265ae6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,6 +6,7 @@
Multisite:
* 2260 Improved load time of Check_MK GUI...
* 2324 FIX: Add icon for those checks that cannot be rescheduled...
+ * 2261 FIX: Fixed wrong pnp template cache path in non OMD environments...
1.2.7i1:
diff --git a/pnp-templates/default.php b/pnp-templates/default.php
index 3c67728..384c3f2 100644
--- a/pnp-templates/default.php
+++ b/pnp-templates/default.php
@@ -9,7 +9,7 @@ if ($omd_site) {
}
else {
$url = "http://localhost/check_mk/";
- $template_cache_dir = "/temp/check_mk_pnp_template_cache";
+ $template_cache_dir = "/tmp/check_mk_pnp_template_cache";
}
if (!file_exists($template_cache_dir))
Module: check_mk
Branch: master
Commit: 80eeefd1bddb70235d2895c34bb343c45b3b2d3f
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=80eeefd1bddb70…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Jun 2 16:21:40 2015 +0200
#2262 FIX Fixed deletion of foreign views/dashboards
When a user tried to delete dashboards or views of foreign
users this was shown as being successfull, but after accessing
the list of views or dashboards again one could see that the
view or dashboard was not deleted. This has been fixed now.
---
.werks/2262 | 12 ++++++++++++
ChangeLog | 1 +
web/htdocs/visuals.py | 13 ++++++++-----
3 files changed, 21 insertions(+), 5 deletions(-)
diff --git a/.werks/2262 b/.werks/2262
new file mode 100644
index 0000000..8116d85
--- /dev/null
+++ b/.werks/2262
@@ -0,0 +1,12 @@
+Title: Fixed deletion of foreign views/dashboards
+Level: 1
+Component: multisite
+Compatible: compat
+Version: 1.2.7i2
+Date: 1433254800
+Class: fix
+
+When a user tried to delete dashboards or views of foreign
+users this was shown as being successfull, but after accessing
+the list of views or dashboards again one could see that the
+view or dashboard was not deleted. This has been fixed now.
diff --git a/ChangeLog b/ChangeLog
index 6265ae6..8178937 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,7 @@
* 2260 Improved load time of Check_MK GUI...
* 2324 FIX: Add icon for those checks that cannot be rescheduled...
* 2261 FIX: Fixed wrong pnp template cache path in non OMD environments...
+ * 2262 FIX: Fixed deletion of foreign views/dashboards...
1.2.7i1:
diff --git a/web/htdocs/visuals.py b/web/htdocs/visuals.py
index f925efa..7a97e65 100644
--- a/web/htdocs/visuals.py
+++ b/web/htdocs/visuals.py
@@ -96,12 +96,15 @@ def load_plugins():
# | |
# '----------------------------------------------------------------------'
-def save(what, visuals):
+def save(what, visuals, user_id = None):
+ if user_id == None:
+ user_id = config.user_id
+
uservisuals = {}
- for (user_id, name), visual in visuals.items():
- if config.user_id == user_id:
+ for (owner_id, name), visual in visuals.items():
+ if user_id == owner_id:
uservisuals[name] = visual
- config.save_user_file('user_' + what, uservisuals)
+ config.save_user_file('user_' + what, uservisuals, user = user_id)
def load(what, builtin_visuals, skip_func = None):
@@ -294,7 +297,7 @@ def page_list(what, title, visuals, custom_columns = [],
c = html.confirm(_("Please confirm the deletion of \"%s\".") % deltitle)
if c:
del visuals[(user_id, delname)]
- save(what, visuals)
+ save(what, visuals, user_id)
html.reload_sidebar()
elif c == False:
html.footer()
Module: check_mk
Branch: master
Commit: 2cc86bdf37afa3efe6697e723a08edfe251482a1
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=2cc86bdf37afa3…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue Jun 2 15:18:35 2015 +0200
Updated bug entries #2337
---
.bugs/2337 | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/.bugs/2337 b/.bugs/2337
new file mode 100644
index 0000000..03c1ef2
--- /dev/null
+++ b/.bugs/2337
@@ -0,0 +1,39 @@
+Title: Better handling of situation where /sbin/sendmail is missing
+Component: notifcation
+State: open
+Date: 2015-06-02 15:16:00
+Targetversion: future
+Class: bug
+
+If you do not have installed a local SMTP agent then the notification
+plugin mail will crash with an exception:
+
+2015-06-02 15:14:26 Got raw notification (slave;Notification Connection slave-13.13.13.13:6555) context with 60 variables
+2015-06-02 15:14:26 Global rule 'Notify all contacts of a host/service via HTML email'...
+2015-06-02 15:14:26 -> matches!
+2015-06-02 15:14:26 - adding notification of omdadmin via mail
+2015-06-02 15:14:26 Executing 1 notifications:
+2015-06-02 15:14:26 * notifying omdadmin via mail, parameters: (no parameters), bulk: no
+2015-06-02 15:14:26 executing /omd/sites/slave/share/check_mk/notifications/mail
+2015-06-02 15:14:26 Output: Unable to fetch number of graphs: Unable to fetch graph infos: <p>XML file "/omd/sites/slave/var/pnp4nagios/perfdata/slave/Notification_Connection_slave-13.13.13.13_6555.xml" not found. <a href="http://docs.pnp4nagios.org/faq/6">Read FAQ online</a></p>
+2015-06-02 15:14:26 Output: Traceback (most recent call last):
+2015-06-02 15:14:26 Output: File "/omd/sites/slave/share/check_mk/notifications/mail", line 688, in <module>
+2015-06-02 15:14:26 Output: main()
+2015-06-02 15:14:26 Output: File "/omd/sites/slave/share/check_mk/notifications/mail", line 686, in main
+2015-06-02 15:14:26 Output: send_mail(m, mailto, from_address)
+2015-06-02 15:14:26 Output: File "/omd/sites/slave/share/check_mk/notifications/mail", line 391, in send_mail
+2015-06-02 15:14:26 Output: p = subprocess.Popen(cmd, stdin = subprocess.PIPE)
+2015-06-02 15:14:26 Output: File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
+2015-06-02 15:14:26 Output: errread, errwrite)
+2015-06-02 15:14:26 Output: File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
+2015-06-02 15:14:26 Output: raise child_exception
+2015-06-02 15:14:26 Output: OSError: [Errno 2] No such file or directory
+2015-06-02 15:14:26 Plugin exited with code 1
+
+But no further information is being displayed at the GUI.
+
+- Could we display some warning the WATO module if the mail plugin
+ is being used? But the master/local system might not do the noticatio
+ itself...
+
+- Do some default monitoring of errors in the notification log.