diff --git a/app/components/live/surveil.js b/app/components/live/surveil.js
index 0978325..65d1919 100644
--- a/app/components/live/surveil.js
+++ b/app/components/live/surveil.js
@@ -358,7 +358,15 @@ angular.module('bansho.live', [])
}).error(function () {
throw new Error('acknowledge : POST Request failed');
});
- }
+ };
+
+ var downtime = function (host_name, service_description, attrs) {
+ var data = {};
+
+ angular.forEach(attrs, function (key, value) {
+ console.log(key + "; " + value);
+ });
+ };
return {
getHost: getHost,
@@ -373,7 +381,7 @@ angular.module('bansho.live', [])
getHostProblems: getHostProblems,
getTableData: getTableData,
getTotalHosts: getTotalHosts,
- getTotalServices: getTotalServices
-
- }
+ getTotalServices: getTotalServices,
+ downtime: downtime
+ };
}]);
diff --git a/app/components/table/actionbar/actionbar.html b/app/components/table/actionbar/actionbar.html
index 2ca5eb9..bfc57b1 100644
--- a/app/components/table/actionbar/actionbar.html
+++ b/app/components/table/actionbar/actionbar.html
@@ -134,5 +134,8 @@
+
+
+