Module: check_mk
Branch: master
Commit: 8fcfabdad5f3d05b5d13e0b983ff2eef57e46b24
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8fcfabdad5f3d0…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Thu May 21 09:36:00 2015 +0200
esx_vsphere_hostsystem: fixed invalid formatted check output
---
checks/esx_vsphere_hostsystem | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/checks/esx_vsphere_hostsystem b/checks/esx_vsphere_hostsystem
index 9cb7ac3..9f361e0 100644
--- a/checks/esx_vsphere_hostsystem
+++ b/checks/esx_vsphere_hostsystem
@@ -297,7 +297,7 @@ def check_esx_vsphere_hostsystem_state(_no_item, _no_params, info):
state = 1
elif overallStatus in [ "red", "gray"]:
state = 2
- yield state, "Entity state: %s" + overallStatus
+ yield state, "Entity state: " + overallStatus
state = 0
powerState = str(data['runtime.powerState'][0])