Title: [opsview] [9855] Separated 817viewports (using perldumps-status) with 801status (using
Revision
9855
Author
tvoon
Date
2012-08-15 23:43:49 +0100 (Wed, 15 Aug 2012)

Log Message

Separated 817viewports (using perldumps-status) with 801status (using
perldumps)

Modified Paths

Added Paths

Modified: trunk/opsview-core/t/817viewports.t
===================================================================
--- trunk/opsview-core/t/817viewports.t	2012-08-15 22:27:44 UTC (rev 9854)
+++ trunk/opsview-core/t/817viewports.t	2012-08-15 22:43:49 UTC (rev 9855)
@@ -32,7 +32,7 @@
   ->list_summary( { keyword => [qw(cisco cisco_gp1 cisco_gp2)] } );
 is_perldump_file(
     $hash,
-    "$Bin/var/perldumps/summarised_keywords",
+    "$Bin/var/perldumps-status/summarised_keywords",
     "Got ordered by keyword"
 ) || diag explain $hash;
 
@@ -41,6 +41,6 @@
   ->list_summary( { keyword => [qw(cisco_gp1 cisco)] } );
 is_perldump_file(
     $hash,
-    "$Bin/var/perldumps/summarised_keywords_two",
+    "$Bin/var/perldumps-status/summarised_keywords_two",
     "Only show two keywords"
 ) || diag explain $hash;

Modified: trunk/opsview-core/t/var/perldumps/summarised_keywords
===================================================================
--- trunk/opsview-core/t/var/perldumps/summarised_keywords	2012-08-15 22:27:44 UTC (rev 9854)
+++ trunk/opsview-core/t/var/perldumps/summarised_keywords	2012-08-15 22:43:49 UTC (rev 9855)
@@ -4,7 +4,6 @@
       computed_state => "unknown",
       description => "cisco devices",
       downtime => 2,
-      exclude_handled => 0,
       hosts => { handled => 5, total => 5, unhandled => 0, up => { handled => 5 } },
       name => "cisco",
       services => {
@@ -19,7 +18,6 @@
       computed_state => "unknown",
       description => "cisco devices, group 1",
       downtime => 2,
-      exclude_handled => 0,
       hosts => { handled => 3, total => 3, unhandled => 0, up => { handled => 3 } },
       name => "cisco_gp1",
       services => {
@@ -34,7 +32,6 @@
       computed_state => "unknown",
       description => "Not public keyword",
       downtime => 2,
-      exclude_handled => 0,
       hosts => { handled => 3, total => 3, unhandled => 0, up => { handled => 3 } },
       name => "cisco_gp2",
       services => {

Modified: trunk/opsview-core/t/var/perldumps/summarised_keywords_two
===================================================================
--- trunk/opsview-core/t/var/perldumps/summarised_keywords_two	2012-08-15 22:27:44 UTC (rev 9854)
+++ trunk/opsview-core/t/var/perldumps/summarised_keywords_two	2012-08-15 22:43:49 UTC (rev 9855)
@@ -4,7 +4,6 @@
       computed_state => "unknown",
       description => "cisco devices",
       downtime => 2,
-      exclude_handled => 0,
       hosts => { handled => 5, total => 5, unhandled => 0, up => { handled => 5 } },
       name => "cisco",
       services => {
@@ -19,7 +18,6 @@
       computed_state => "unknown",
       description => "cisco devices, group 1",
       downtime => 2,
-      exclude_handled => 0,
       hosts => { handled => 3, total => 3, unhandled => 0, up => { handled => 3 } },
       name => "cisco_gp1",
       services => {

Added: trunk/opsview-core/t/var/perldumps-status/summarised_keywords
===================================================================
--- trunk/opsview-core/t/var/perldumps-status/summarised_keywords	                        (rev 0)
+++ trunk/opsview-core/t/var/perldumps-status/summarised_keywords	2012-08-15 22:43:49 UTC (rev 9855)
@@ -0,0 +1,56 @@
+{
+  list => [
+    {
+      computed_state => "unknown",
+      description => "cisco devices",
+      downtime => 2,
+      exclude_handled => 0,
+      hosts => { handled => 5, total => 5, unhandled => 0, up => { handled => 5 } },
+      name => "cisco",
+      services => {
+        computed_state => "unknown",
+        handled        => 1,
+        total          => 15,
+        unhandled      => 14,
+        unknown        => { handled => 1, unhandled => 14 },
+      },
+    },
+    {
+      computed_state => "unknown",
+      description => "cisco devices, group 1",
+      downtime => 2,
+      exclude_handled => 0,
+      hosts => { handled => 3, total => 3, unhandled => 0, up => { handled => 3 } },
+      name => "cisco_gp1",
+      services => {
+        computed_state => "unknown",
+        handled        => 0,
+        total          => 9,
+        unhandled      => 9,
+        unknown        => { unhandled => 9 },
+      },
+    },
+    {
+      computed_state => "unknown",
+      description => "Not public keyword",
+      downtime => 2,
+      exclude_handled => 0,
+      hosts => { handled => 3, total => 3, unhandled => 0, up => { handled => 3 } },
+      name => "cisco_gp2",
+      services => {
+        computed_state => "unknown",
+        handled        => 1,
+        total          => 9,
+        unhandled      => 8,
+        unknown        => { handled => 1, unhandled => 8 },
+      },
+    },
+  ],
+  summary => {
+    handled   => 13,
+    host      => { handled => 11, total => 11, unhandled => 0, up => 11 },
+    service   => { handled => 2, total => 33, unhandled => 31, unknown => 33 },
+    total     => 44,
+    unhandled => 31,
+  },
+}

Added: trunk/opsview-core/t/var/perldumps-status/summarised_keywords_two
===================================================================
--- trunk/opsview-core/t/var/perldumps-status/summarised_keywords_two	                        (rev 0)
+++ trunk/opsview-core/t/var/perldumps-status/summarised_keywords_two	2012-08-15 22:43:49 UTC (rev 9855)
@@ -0,0 +1,41 @@
+{
+  list => [
+    {
+      computed_state => "unknown",
+      description => "cisco devices",
+      downtime => 2,
+      exclude_handled => 0,
+      hosts => { handled => 5, total => 5, unhandled => 0, up => { handled => 5 } },
+      name => "cisco",
+      services => {
+        computed_state => "unknown",
+        handled        => 1,
+        total          => 15,
+        unhandled      => 14,
+        unknown        => { handled => 1, unhandled => 14 },
+      },
+    },
+    {
+      computed_state => "unknown",
+      description => "cisco devices, group 1",
+      downtime => 2,
+      exclude_handled => 0,
+      hosts => { handled => 3, total => 3, unhandled => 0, up => { handled => 3 } },
+      name => "cisco_gp1",
+      services => {
+        computed_state => "unknown",
+        handled        => 0,
+        total          => 9,
+        unhandled      => 9,
+        unknown        => { unhandled => 9 },
+      },
+    },
+  ],
+  summary => {
+    handled   => 9,
+    host      => { handled => 8, total => 8, unhandled => 0, up => 8 },
+    service   => { handled => 1, total => 24, unhandled => 23, unknown => 24 },
+    total     => 32,
+    unhandled => 23,
+  },
+}

_______________________________________________
Opsview-checkins mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-checkins

Reply via email to