Module: check_mk
Branch: master
Commit: e88c5e85db7196131c37cef26fa21acfb38c1310
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=e88c5e85db7196…
Author: Bernd Stroessenreuther <bs(a)mathias-kettner.de>
Date: Mon Apr 7 15:58:45 2014 +0200
agent_ibmsvc: removing call of lsdrive again, because it is only useful at inventory, but
always called at every check
---
agents/special/agent_ibmsvc | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/agents/special/agent_ibmsvc b/agents/special/agent_ibmsvc
index 6a3e64f..d409a97 100755
--- a/agents/special/agent_ibmsvc
+++ b/agents/special/agent_ibmsvc
@@ -162,15 +162,6 @@ for module in command_options.keys():
cmd += "lseventlog -expired no -fixed no -monitoring no -order severity
-message no -delim : -nohdr;"
else:
cmd += "%s -nohdr -delim :;" % module
-
- # in these 2 sections we need to run the lsdrive command additionaly
- # to find out if there are drives. Only if there are some, the drives
- # checks need to be created by inventory
- if module in [ "lsnodestats", "lssystemstats" ]:
- cmd += "echo \[lsdrive start\];"
- cmd += "lsdrive -delim : -nohdr;"
- cmd += "echo \[lsdrive end\];"
-
cmd += "'"
if opt_debug: