Author: Wolfgang <[email protected]>
Date: Fri Mar 15 18:50:06 2013 +0100
Committer: Wolfgang <[email protected]>
Commit-Date: Fri Mar 15 18:50:06 2013 +0100
bugfix: GlobalBackendmklivestatus.php - Both parameters should have at least 1
element
---
.../core/classes/GlobalBackendmklivestatus.php | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/share/server/core/classes/GlobalBackendmklivestatus.php
b/share/server/core/classes/GlobalBackendmklivestatus.php
index 9f572ab..eb257d2 100644
--- a/share/server/core/classes/GlobalBackendmklivestatus.php
+++ b/share/server/core/classes/GlobalBackendmklivestatus.php
@@ -626,8 +626,9 @@ class GlobalBackendmklivestatus implements
GlobalBackendInterface {
'statusmap_image' => $e[13],
'perfdata' => $e[14],
'check_command' => $e[19],
- 'custom_variables' => array_combine($e[20], $e[21])
);
+ if(isset($e[20][0]) && isset($e[21][0]))
+ $arrTmpReturn['custom_variables'] = array_combine($e[20],
$e[21]);
/**
* Handle host/service acks
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins