Author: Lars Michelsen <[email protected]>
Date: Thu May 26 21:56:32 2011 +0200
Committer: Lars Michelsen <[email protected]>
Commit-Date: Thu May 26 21:56:32 2011 +0200
Bugfix: NDO Backend: Fixed wrong SQL syntax in getHostState function
---
ChangeLog | 1 +
share/server/core/classes/GlobalBackendndomy.php | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index ff5a094..2272f7b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,7 @@
Core
* Added omd_install.sh to install NagVis to the local/ path of OMD sites
(ONLY FOR TESTING!!!)
+ * Bugfix: NDO Backend: Fixed wrong SQL syntax in getHostState function
Frontend
* Bugfix: Added missing controls to services which are displayed as gadgets
diff --git a/share/server/core/classes/GlobalBackendndomy.php
b/share/server/core/classes/GlobalBackendndomy.php
index 19f156a..11c101b 100644
--- a/share/server/core/classes/GlobalBackendndomy.php
+++ b/share/server/core/classes/GlobalBackendndomy.php
@@ -519,7 +519,7 @@ class GlobalBackendndomy implements GlobalBackendInterface {
problem_has_been_acknowledged,
statusmap_image,
UNIX_TIMESTAMP(last_check) AS last_check,
UNIX_TIMESTAMP(next_check) AS next_check,
- hs.state_type, hs.current_check_attempt, hs.max_check_attempts,
hs.check_command
+ hs.state_type, hs.current_check_attempt, hs.max_check_attempts,
hs.check_command,
UNIX_TIMESTAMP(dh.scheduled_start_time) AS downtime_start,
UNIX_TIMESTAMP(dh.scheduled_end_time) AS downtime_end,
dh.author_name AS downtime_author, dh.comment_data AS downtime_data
FROM
@@ -1272,4 +1272,4 @@ class GlobalBackendndomy implements
GlobalBackendInterface {
return $arrReturn;
}
}
-?>
\ No newline at end of file
+?>
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins