]> granicus.if.org Git - icinga2/blobdiff - components/livestatus/servicestable.h
Livestatus: Add 'is_reachable' to hosts/services table.
[icinga2] / components / livestatus / servicestable.h
index 05686e98cddc1d9da9fb8479c71ef91e74290c3c..4662628bfb9e1dd2d9ec7c9e4627282780d9da97 100644 (file)
@@ -1,6 +1,6 @@
 /******************************************************************************
  * Icinga 2                                                                   *
- * Copyright (C) 2012 Icinga Development Team (http://www.icinga.org/)        *
+ * Copyright (C) 2012-2014 Icinga Development Team (http://www.icinga.org)    *
  *                                                                            *
  * This program is free software; you can redistribute it and/or              *
  * modify it under the terms of the GNU General Public License                *
@@ -24,7 +24,7 @@
 
 using namespace icinga;
 
-namespace livestatus
+namespace icinga
 {
 
 /**
@@ -45,7 +45,7 @@ public:
 protected:
        virtual void FetchRows(const AddRowFunction& addRowFn);
 
-       static Object::Ptr HostAccessor(const Value& row);
+       static Object::Ptr HostAccessor(const Value& row, const Column::ObjectAccessor& parentObjectAccessor);
 
        static Value ShortNameAccessor(const Value& row);
        static Value DisplayNameAccessor(const Value& row);
@@ -66,7 +66,6 @@ protected:
        static Value IconImageAccessor(const Value& row);
        static Value IconImageExpandedAccessor(const Value& row);
        static Value IconImageAltAccessor(const Value& row);
-       static Value InitialStateAccessor(const Value& row);
        static Value MaxCheckAttemptsAccessor(const Value& row);
        static Value CurrentAttemptAccessor(const Value& row);
        static Value StateAccessor(const Value& row);
@@ -95,20 +94,17 @@ protected:
        static Value AcceptPassiveChecksAccessor(const Value& row);
        static Value EventHandlerEnabledAccessor(const Value& row);
        static Value NotificationsEnabledAccessor(const Value& row);
-       static Value ProcessPerformanceDataAccessor(const Value& row);
-       static Value IsExecutingAccessor(const Value& row);
+        static Value ProcessPerformanceDataAccessor(const Value& row);
        static Value ActiveChecksEnabledAccessor(const Value& row);
        static Value CheckOptionsAccessor(const Value& row);
        static Value FlapDetectionEnabledAccessor(const Value& row);
        static Value CheckFreshnessAccessor(const Value& row);
-       static Value ObsessOverServiceAccessor(const Value& row);
        static Value ModifiedAttributesAccessor(const Value& row);
        static Value ModifiedAttributesListAccessor(const Value& row);
-       static Value PnpgraphPresentAccessor(const Value& row);
+       static Value StalenessAccessor(const Value& row);
        static Value CheckIntervalAccessor(const Value& row);
        static Value RetryIntervalAccessor(const Value& row);
        static Value NotificationIntervalAccessor(const Value& row);
-       static Value FirstNotificationDelayAccessor(const Value& row);
        static Value LowFlapThresholdAccessor(const Value& row);
        static Value HighFlapThresholdAccessor(const Value& row);
        static Value LatencyAccessor(const Value& row);
@@ -127,6 +123,8 @@ protected:
        static Value CustomVariablesAccessor(const Value& row);
        static Value GroupsAccessor(const Value& row);
        static Value ContactGroupsAccessor(const Value& row);
+        static Value CheckSourceAccessor(const Value& row);
+        static Value IsReachableAccessor(const Value& row);
 };
 
 }