Module: check_mk
Branch: master
Commit: bfc9387a2260648e22fe45877fbf611be3d1dcd8
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=bfc9387a226064…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Mon Mar 14 17:43:05 2011 +0100
FIX: cmctc: fix inventory in case of incomplete entries
---
ChangeLog | 1 +
checks/cmctc | 4 +---
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 94a177f..0500cb2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -29,6 +29,7 @@
* FIX: df: fix status in case of critical trend and warning used
* FIX: df: fix display of trend warn/crit in PNP-graph
* df: split PNP graphs for growth/trend into two graphs
+ * FIX: cmctc: fix inventory in case of incomplete entries
1.1.10:
diff --git a/checks/cmctc b/checks/cmctc
index ed5bb33..d74bc66 100644
--- a/checks/cmctc
+++ b/checks/cmctc
@@ -35,9 +35,7 @@
# 7: description
def inventory_cmctc_temp(checkname, info):
- # return all temperature sensors
- return [ (line[0], line[7], None) \
- for line in info if int(line[1]) == 10 ]
+ return [ (line[0], None) for line in info if saveint(line[1]) == 10 ]
def check_cmctc_temp(item, no_params, info):
for line in info: # , value1, value2 in info:
Module: check_mk
Branch: master
Commit: eb349be4d1ff5bed3a1775f41f499b57137ba357
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=eb349be4d1ff5b…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Mon Mar 14 09:48:39 2011 +0100
FIX: fix syntax error in df-manpages (in examples)
---
.bugs/208 | 10 ++++++++++
.bugs/209 | 9 +++++++++
.bugs/222 | 4 ++++
checkman/df | 2 +-
checkman/df_netapp | 2 +-
checkman/df_netapp32 | 2 +-
6 files changed, 26 insertions(+), 3 deletions(-)
diff --git a/.bugs/208 b/.bugs/208
new file mode 100644
index 0000000..6b31dae
--- /dev/null
+++ b/.bugs/208
@@ -0,0 +1,10 @@
+Title: Describe trends in "Monitoring filesystems"
+Component: doku
+Benefit: 1
+State: open
+Cost: 1
+Date: 2011-03-14 09:33:22
+Class: cleanup
+
+The article about filesystems should contain all information about
+trends. Also hints to the various filesystem checks.
diff --git a/.bugs/209 b/.bugs/209
new file mode 100644
index 0000000..c97b61b
--- /dev/null
+++ b/.bugs/209
@@ -0,0 +1,9 @@
+Title: Man-Pages in HTML format have formatting errors
+Component: doku
+Benefit: 2
+State: open
+Cost: 2
+Date: 2011-03-14 09:38:59
+Class: bug
+
+See the documentation of the df-Check.
diff --git a/.bugs/222 b/.bugs/222
index ed6e751..9b86204 100644
--- a/.bugs/222
+++ b/.bugs/222
@@ -10,3 +10,7 @@ Quicksearch should also do a refresh every 10 Seconds but only retrieve
the start time of the nagios sites. These are always available
in the html.live object. If at least one site as restarted since
the last time, all items (hosts, services) should be loaded new.
+
+The See Also: should link to all check manpages concerning df.include
+checks. Also there should be a table of these checks.
+
diff --git a/checkman/df b/checkman/df
index 93b270b..97b7c0a 100644
--- a/checkman/df
+++ b/checkman/df
@@ -47,7 +47,7 @@ examples:
"trend_range" : 48, # hours
"trend_mb" : (10, 20), # MB of change during trend_range
"trend_perc" : (1, 2), # Percent change during trend_range
- "trend_timeleft" : (72, 48) # run time left in hours until full
+ "trend_timeleft" : (72, 48), # run time left in hours until full
"trend_perfdata" : False # no performance data for trends
}
diff --git a/checkman/df_netapp b/checkman/df_netapp
index ca6cde7..0adff30 100644
--- a/checkman/df_netapp
+++ b/checkman/df_netapp
@@ -44,7 +44,7 @@ examples:
"trend_range" : 48, # hours
"trend_mb" : (10, 20), # MB of change during trend_range
"trend_perc" : (1, 2), # Percent change during trend_range
- "trend_timeleft" : (72, 48) # run time left in hours until full
+ "trend_timeleft" : (72, 48), # run time left in hours until full
"trend_perfdata" : False # no performance data for trends
}
diff --git a/checkman/df_netapp32 b/checkman/df_netapp32
index 374efae..0327e87 100644
--- a/checkman/df_netapp32
+++ b/checkman/df_netapp32
@@ -49,7 +49,7 @@ examples:
"trend_range" : 48, # hours
"trend_mb" : (10, 20), # MB of change during trend_range
"trend_perc" : (1, 2), # Percent change during trend_range
- "trend_timeleft" : (72, 48) # run time left in hours until full
+ "trend_timeleft" : (72, 48), # run time left in hours until full
"trend_perfdata" : False # no performance data for trends
}