Module: nagvis
Branch: master
Commit: 5dd95abbdf8d9d8a4d623ef8f595983973f858c0
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=5dd95abbdf8d9d8a4d623ef8f595983973f858c0

Author: Lars Michelsen <[email protected]>
Date:   Fri Apr 23 19:12:36 2010 +0200

Hosts without services are not shown as ERROR anymore

---

 share/server/core/classes/GlobalBackendMgmt.php |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/share/server/core/classes/GlobalBackendMgmt.php 
b/share/server/core/classes/GlobalBackendMgmt.php
index 61a4a4b..1b01ccc 100644
--- a/share/server/core/classes/GlobalBackendMgmt.php
+++ b/share/server/core/classes/GlobalBackendMgmt.php
@@ -308,10 +308,10 @@ class GlobalBackendMgmt {
                                        else
                                                
$OBJ->setStateCounts($aCounts[$name]);
                        else
-                               foreach($opts['OBJS'] AS $OBJ) {
-                                       
$OBJ->setBackendProblem($this->CORE->getLang()->getText('The object "[OBJ]" 
does not exist ([TYPE]).',
-                                                                               
                             Array('OBJ' => $name, 'TYPE' => $type)));
-                               }
+                               foreach($opts['OBJS'] AS $OBJ)
+                                       if($type != 'hostMemberState')
+                                               
$OBJ->setBackendProblem($this->CORE->getLang()->getText('The object "[OBJ]" 
does not exist ([TYPE]).',
+                                                                        
Array('OBJ' => $name, 'TYPE' => $type)));
        }
 
        private function fetchHostMemberDetails($backendId, $aObjs) {


------------------------------------------------------------------------------
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to