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

Author: Lars Michelsen <[email protected]>
Date:   Wed Jun 30 23:14:54 2010 +0200

 #321 Changed default state weight of unreachable/down higher than critical

---

 etc/nagvis.ini.php-sample                   |    4 ++--
 share/server/core/classes/GlobalMainCfg.php |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/etc/nagvis.ini.php-sample b/etc/nagvis.ini.php-sample
index cf20530..fa68432 100644
--- a/etc/nagvis.ini.php-sample
+++ b/etc/nagvis.ini.php-sample
@@ -336,10 +336,10 @@ interval=15
 ; These options are being used when calculating the summary state of the map 
 ; objects. The default values should fit most needs.
 ;
-;unreachable=8
+;unreachable=9
 ;unreachable_ack=5
 ;unreachable_downtime=5
-;down=7
+;down=8
 ;down_ack=5
 ;down_downtime=5
 ;critical=7
diff --git a/share/server/core/classes/GlobalMainCfg.php 
b/share/server/core/classes/GlobalMainCfg.php
index ee28ee1..6952997 100644
--- a/share/server/core/classes/GlobalMainCfg.php
+++ b/share/server/core/classes/GlobalMainCfg.php
@@ -629,7 +629,7 @@ class GlobalMainCfg {
                        'states' => Array(
                                'unreachable' => Array('must' => 1,
                                        'editable' => 1,
-                                       'default' => '8',
+                                       'default' => '9',
                                        'match' => MATCH_INTEGER),
                                'unreachable_ack' => Array('must' => 1,
                                        'editable' => 1,
@@ -653,7 +653,7 @@ class GlobalMainCfg {
                                        'match' => MATCH_MP3_FILE),
                                'down' => Array('must' => 1,
                                        'editable' => 1,
-                                       'default' => '7',
+                                       'default' => '8',
                                        'match' => MATCH_INTEGER),
                                'down_ack' => Array('must' => 1,
                                        'editable' => 1,


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to