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

Author: LaMi <[email protected]>
Date:   Mon Nov 16 19:05:30 2009 +0100

Added additional hint to error message

---

 .../core/classes/GlobalBackendmklivestatus.php     |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/share/server/core/classes/GlobalBackendmklivestatus.php 
b/share/server/core/classes/GlobalBackendmklivestatus.php
index 20c8a21..fda6b0d 100644
--- a/share/server/core/classes/GlobalBackendmklivestatus.php
+++ b/share/server/core/classes/GlobalBackendmklivestatus.php
@@ -66,7 +66,7 @@ class GlobalBackendmklivestatus implements 
GlobalBackendInterface {
                
                // Run preflight checks
                if($this->socketType == 'unix' && !$this->checkSocketExists()) {
-                       new GlobalMessage('ERROR', 
GlobalCore::getInstance()->getLang()->getText('Unable to connect to livestatus 
socket. The socket [SOCKET] in backend [BACKENDID] does not exist', 
Array('BACKENDID' => $this->backendId, 'SOCKET' => $this->socketPath)));
+                       new GlobalMessage('ERROR', 
GlobalCore::getInstance()->getLang()->getText('Unable to connect to livestatus 
socket. The socket [SOCKET] in backend [BACKENDID] does not exist. Maybe Nagios 
is not running or restarting.', Array('BACKENDID' => $this->backendId, 'SOCKET' 
=> $this->socketPath)));
                }
                
                if(!function_exists('socket_create')) {


------------------------------------------------------------------------------
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