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

Author: LaMi <[email protected]>
Date:   Sat Nov  7 12:47:53 2009 +0100

some doc changes

---

 etc/nagvis.ini.php-sample                          |    2 +-
 .../core/classes/GlobalBackendmklivestatus.php     |    1 -
 share/server/core/classes/objects/NagiosHost.php   |    1 -
 3 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/etc/nagvis.ini.php-sample b/etc/nagvis.ini.php-sample
index cb44668..afd416f 100644
--- a/etc/nagvis.ini.php-sample
+++ b/etc/nagvis.ini.php-sample
@@ -179,11 +179,11 @@
 ; Backend definitions
 ; ----------------------------
 
-
 ; Example definition of a livestatus backend. In this case the backend_id is 
live_1
 [backend_live_1]
 backendtype="mklivestatus"
 ;socket_path="/usr/local/nagios/var/rw/live"
+
 ; in this example the ID of the Backend is "ndomy_1" you can define another ID.
 [backend_ndomy_1]
 ; type of backend - MUST be set
diff --git a/share/server/core/classes/GlobalBackendmklivestatus.php 
b/share/server/core/classes/GlobalBackendmklivestatus.php
index 9b4ee6c..cb269be 100644
--- a/share/server/core/classes/GlobalBackendmklivestatus.php
+++ b/share/server/core/classes/GlobalBackendmklivestatus.php
@@ -832,7 +832,6 @@ class GlobalBackendmklivestatus implements 
GlobalBackendInterface {
                        $stateAttr = 'last_hard_state';
                }
                
-               // FIXME: Should also fetch downtime information and not 
exclude it
                // Get service information
                $services = $this->queryLivestatusSingleRow("GET services\n" .
                   "Filter: host_name = ".$hostName."\n" .
diff --git a/share/server/core/classes/objects/NagiosHost.php 
b/share/server/core/classes/objects/NagiosHost.php
index a5a131f..2a2bb55 100644
--- a/share/server/core/classes/objects/NagiosHost.php
+++ b/share/server/core/classes/objects/NagiosHost.php
@@ -132,7 +132,6 @@ class NagiosHost extends NagVisStatefulObject {
                        // Get host state and general host information
                        // This can be ignored when called from e.g. hostgroups 
where the state
                        // has been fetched for all members before
-                       // FIXME: Can this be combined with new 
getHostStateCounts query?
                        if($bFetchObjectState === true) {
                                $arrValues = 
$this->BACKEND->BACKENDS[$this->backend_id]->getHostState($this->host_name, 
$this->only_hard_states);
                        


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to