Module: nagvis Branch: master Commit: c0fc936925d4343c0f77eec0ab82cf7b80535970 URL: http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis/commit/?id=c0fc936925d4343c0f77eec0ab82cf7b80535970
Author: Roman Kyrylych <[email protected]> Date: Mon Aug 17 16:44:27 2009 +0300 gmap: Changed nagios object states to location states mappings Signed-off-by: Roman Kyrylych <[email protected]> --- share/netmap/Database.php | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/share/netmap/Database.php b/share/netmap/Database.php index bcac3bc..ac87287 100644 --- a/share/netmap/Database.php +++ b/share/netmap/Database.php @@ -126,7 +126,7 @@ class Database return Location::STATE_ERROR; case 'PENDING': - return Location::STATE_WARNING; + return Location::STATE_UNKNOWN; case 'UP': return Location::STATE_OK; @@ -135,7 +135,7 @@ class Database return Location::STATE_ERROR; case 'UNREACHABLE': - return Location::STATE_ERROR; + return Location::STATE_WARNING; case 'UNKNOWN': default: @@ -156,7 +156,7 @@ class Database return Location::STATE_ERROR; case 'PENDING': - return Location::STATE_WARNING; + return Location::STATE_UNKNOWN; case 'OK': return Location::STATE_OK; ------------------------------------------------------------------------------ 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
