Module: check_mk
Branch: master
Commit: a4e4d56a4e40576fa9b9301e4c5974225c55a350
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=a4e4d56a4e4057…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Sun Oct 24 22:54:01 2010 +0200
hp_proliant_psu: Fixed multiple PSU detection on one system (Thanks to Andreas Döhler)
---
ChangeLog | 2 ++
checks/hp_proliant_psu | 4 ++--
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 031b037..9e34fb4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -14,6 +14,8 @@
%u. That will be replaced with the user name and thus makes the
service description unique.
* win_dhcp_pools: better handle invalid agent output
+ * hp_proliant_psu: Fixed multiple PSU detection on one system (Thanks to
+ Andreas Döhler)
Livestatus:
* Prohibit { and } in regular expressions. This avoids a segmentation
diff --git a/checks/hp_proliant_psu b/checks/hp_proliant_psu
index 236dd0a..22d4d79 100644
--- a/checks/hp_proliant_psu
+++ b/checks/hp_proliant_psu
@@ -33,13 +33,13 @@ hp_proliant_redundant_map = { 1: 'other', 2: 'notRedundant', 3: 'redundant' }
def inventory_hp_proliant_psu(checkname, info):
if len(info) > 0:
- return [ (line[0], None) for line in info if line[2] == '3' ]
+ return [ (line[0] + '/' + line[1], None) for line in info if line[2] == '3' ]
else:
return []
def check_hp_proliant_psu(item, params, info):
for line in info:
- if line[0] == item:
+ if '/' in item and line[0] + line [1] == itemi or line[0] == item:
chassis, bay, present, status, redundant = line
snmp_status = hp_proliant_psu_status_map[int(status)]
status = hp_proliant_status2nagios_map[snmp_status]
Module: check_mk
Branch: master
Commit: a77796445a80b07135b9f11174b804c5ec3b5d15
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=a77796445a80b0…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Sun Oct 24 22:38:30 2010 +0200
Updated internal doku
---
LIESMICH.zutun | 10 +++-------
1 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/LIESMICH.zutun b/LIESMICH.zutun
index 4561976..815e2f4 100644
--- a/LIESMICH.zutun
+++ b/LIESMICH.zutun
@@ -3,9 +3,6 @@ BUGS beheben bis => 1.1.8
--------------------------------------------------------------------------------
CHECK_MK:
-Clusters mit IP-Adressen: Der Host-Check soll die IP-Adresse verwenden,
-wenn sie vorhanden ist.
-
--------------------------------------------------------------------------------
BUGS beheben ab 1.1.9i1
--------------------------------------------------------------------------------
@@ -66,16 +63,15 @@ geloggt wird nur das Starten und Beenden (was ja im Hauptthread läuft).
Windows-Agent: Memory-Check neu machen. Swap stimmt nicht. Evtl. zwei
getrennte Checks für Memory and Pagefile.
---snmpwalk: Braucht man das translaten noch? Ich arbeite doch jetzt eh
-nur noch ohne MIB-Dateien. Das würde das ganze deutlich vereinfachen!
-
-
-------------------------------------------------------------------------------
ab 1.1.9i1:
--------------------------------------------------------------------------------
check_mk -X erzwingen. Das -R soll nur noch klappen, wenn kein Configfehler
auftritt.
+--snmpwalk: Braucht man das translaten noch? Ich arbeite doch jetzt eh
+nur noch ohne MIB-Dateien. Das würde das ganze deutlich vereinfachen!
+
filesystem_levels rausnehmen. Hinweis, dass check_parameters verwendet
werden soll.
Module: check_mk
Branch: master
Commit: d97b434e1149382ec7a0307e84f21a7a491e81a9
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=d97b434e114938…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Sun Oct 24 21:23:17 2010 +0200
install_nagios.sh: add note to OMD
---
scripts/install_nagios.sh | 20 ++++++++++++++++++++
1 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/scripts/install_nagios.sh b/scripts/install_nagios.sh
index 7d2bb94..c122e7c 100644
--- a/scripts/install_nagios.sh
+++ b/scripts/install_nagios.sh
@@ -23,6 +23,26 @@
# to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
# Boston, MA 02110-1301 USA.
+cat <<EOF
+
+ NOTE
+ ----------------------------------------------------------
+ This is the last version of this script. There is a better
+ alternative for installing and maintaining Nagios plus
+ Addons now:
+
+ OMD - The Open Monitoring Distribution
+
+ Please visit OMD at http://omdistro.org/
+
+ OMD has been invented and founded by Mathias Kettner and is
+ developed by a team of many well-known monitoring experts.
+ ----------------------------------------------------------
+
+Press enter to continue...
+EOF
+read
+
# Make sure, /usr/local/bin is in the PATH, since we install