Module: check_mk
Branch: master
Commit: 255f47efb3b7aeeee20eee71076570ad0a944a43
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=255f47efb3b7ae…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Wed Oct 24 14:16:55 2012 +0200
Updated bug entries #0817, #0818, #0819, #0820
---
.bugs/817 | 14 ++++++++++++++
.bugs/818 | 37 +++++++++++++++++++++++++++++++++++++
.bugs/819 | 20 ++++++++++++++++++++
.bugs/820 | 8 ++++++++
4 files changed, 79 insertions(+), 0 deletions(-)
diff --git a/.bugs/817 b/.bugs/817
new file mode 100644
index 0000000..db9326f
--- /dev/null
+++ b/.bugs/817
@@ -0,0 +1,14 @@
+Title: bugs in postgresql_sessions and mk_postgres
+Component: checks
+State: open
+Date: 2012-10-24 09:49:37
+Targetversion: future
+Class: bug
+
+ postgresql_sessions:
+wrong parsing when query from agent returned only one line with, e.g.
+"f 1"
+than I've got an error when run "cmk -v /dev/null ; then"
+
+on Debian there is only a user "postgres" not "pgsql" - maybe double
+checks (postgres & pgsql) will do? (because of different distros)
diff --git a/.bugs/818 b/.bugs/818
new file mode 100644
index 0000000..47e1d6f
--- /dev/null
+++ b/.bugs/818
@@ -0,0 +1,37 @@
+Title: check_mk_agent can incorrectly detect postfix on RHEL
+Component: core
+State: open
+Date: 2012-10-24 10:19:40
+Targetversion: future
+Class: nastiness
+
+osTicket ID 443234
+This probably happens on CentOS too, since it's so similar to RHEL.
+
+When the system has multiple MTA packages installed, and postfix is one of the installed
packages, but postfix is not active, the mailq test returns a false result. This is how
the code currently checks for the MTA:
+
+if which mailq >/dev/null 2>&1 && getent passwd postfix >/dev/null
2>&1; then
+echo ''
+mailq | tail -n 6
+fi
+
+However, on at least RHEL and CentOS, it is possible and not uncommon to have multiple
MTA packages installed concurrently, but you only have one active at a time. The presence
of the postfix user (or package) does not imply that postfix is the active MTA. In my
case, Exim is active, but the mailq test thinks postfix is active and it doesn't work
properly because it's looking for a postfix-formatted mailq, and that's not what
it gets.
+
+The active profile is controlled by the "alternatives" subsystem. For full
documentation, see update-alternatives(8).
+
+http://linux.die.net/man/8/update-alternatives
+
+A rough test to check for postfix vs. another mailer might look like this. This can
probably be streamlined further, this is just something I threw together as a proof of
concept...
+
+if [[ -f /etc/redhat-release || -f /etc/centos-release ]]; then
+_mta=$(/usr/sbin/alternatives --display mta | awk '/link currently points to/ {print
$5}' | sed -e 's,/usr/sbin/sendmail\.,,')
+if [[ "$_mta" = "postfix" ]]; then
+# postfix case
+elif [[ "$_mta" = "exim" ]]; then
+# exim case
+else
+# default case
+fi
+else
+# this is not redhat or centos, so do your usual getent test here...
+fi
diff --git a/.bugs/819 b/.bugs/819
new file mode 100644
index 0000000..217a098
--- /dev/null
+++ b/.bugs/819
@@ -0,0 +1,20 @@
+Title: Apache Status bug
+Component: checks
+State: open
+Date: 2012-10-24 11:08:13
+Targetversion: 1.2.0
+Class: bug
+
+osTicket id 258581
+sorry to report a bug regarding the new apache_status in 1.2.0p3.
+
+I confirmed on the english mailing list, that also other people have the problem.
+We get the same result on auto-detecting and specifying server and port:
+./apache_status
+
+Exception (192.168.2.28:80): addinfourl instance has no attribute
'getcode'[root@www local]#
+
+We tested the server-status url with lynx and it is working fine.
+
+CentOS release 5.6 (Final) 32-Bit
+httpd-2.2.3-65.el5.centos
diff --git a/.bugs/820 b/.bugs/820
new file mode 100644
index 0000000..e325b99
--- /dev/null
+++ b/.bugs/820
@@ -0,0 +1,8 @@
+Title: Refreshing of row count in multisite
+Component: multisite
+State: open
+Date: 2012-10-24 11:54:14
+Targetversion: future
+Class: nastiness
+
+The count of row in the upper corner of Mulisite show 0/n Rows after automatic refresh,
even when the checkboxes not activated.