mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-25 14:44:32 +02:00
parent
92c8d71bf3
commit
e4b5fe74ff
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
#include "livestatus/aggregator.h"
|
#include "livestatus/aggregator.h"
|
||||||
|
|
||||||
using namespace livestatus;
|
using namespace icinga;
|
||||||
|
|
||||||
Aggregator::Aggregator(void)
|
Aggregator::Aggregator(void)
|
||||||
{ }
|
{ }
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
#include "livestatus/table.h"
|
#include "livestatus/table.h"
|
||||||
#include "livestatus/filter.h"
|
#include "livestatus/filter.h"
|
||||||
|
|
||||||
namespace livestatus
|
namespace icinga
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -21,7 +21,6 @@
|
|||||||
#include <boost/foreach.hpp>
|
#include <boost/foreach.hpp>
|
||||||
|
|
||||||
using namespace icinga;
|
using namespace icinga;
|
||||||
using namespace livestatus;
|
|
||||||
|
|
||||||
AndFilter::AndFilter(void)
|
AndFilter::AndFilter(void)
|
||||||
{ }
|
{ }
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
using namespace icinga;
|
using namespace icinga;
|
||||||
|
|
||||||
namespace livestatus
|
namespace icinga
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -26,7 +26,6 @@
|
|||||||
#include <boost/regex.hpp>
|
#include <boost/regex.hpp>
|
||||||
|
|
||||||
using namespace icinga;
|
using namespace icinga;
|
||||||
using namespace livestatus;
|
|
||||||
|
|
||||||
AttributeFilter::AttributeFilter(const String& column, const String& op, const String& operand)
|
AttributeFilter::AttributeFilter(const String& column, const String& op, const String& operand)
|
||||||
: m_Column(column), m_Operator(op), m_Operand(operand)
|
: m_Column(column), m_Operator(op), m_Operand(operand)
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
using namespace icinga;
|
using namespace icinga;
|
||||||
|
|
||||||
namespace livestatus
|
namespace icinga
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
#include "livestatus/avgaggregator.h"
|
#include "livestatus/avgaggregator.h"
|
||||||
|
|
||||||
using namespace livestatus;
|
using namespace icinga;
|
||||||
|
|
||||||
AvgAggregator::AvgAggregator(const String& attr)
|
AvgAggregator::AvgAggregator(const String& attr)
|
||||||
: m_Avg(0), m_AvgCount(0)
|
: m_Avg(0), m_AvgCount(0)
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
#include "livestatus/table.h"
|
#include "livestatus/table.h"
|
||||||
#include "livestatus/aggregator.h"
|
#include "livestatus/aggregator.h"
|
||||||
|
|
||||||
namespace livestatus
|
namespace icinga
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -20,7 +20,6 @@
|
|||||||
#include "livestatus/column.h"
|
#include "livestatus/column.h"
|
||||||
|
|
||||||
using namespace icinga;
|
using namespace icinga;
|
||||||
using namespace livestatus;
|
|
||||||
|
|
||||||
Column::Column(const ValueAccessor& valueAccessor, const ObjectAccessor& objectAccessor)
|
Column::Column(const ValueAccessor& valueAccessor, const ObjectAccessor& objectAccessor)
|
||||||
: m_ValueAccessor(valueAccessor), m_ObjectAccessor(objectAccessor)
|
: m_ValueAccessor(valueAccessor), m_ObjectAccessor(objectAccessor)
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
using namespace icinga;
|
using namespace icinga;
|
||||||
|
|
||||||
namespace livestatus
|
namespace icinga
|
||||||
{
|
{
|
||||||
|
|
||||||
class Column
|
class Column
|
||||||
|
@ -20,7 +20,6 @@
|
|||||||
#include "livestatus/combinerfilter.h"
|
#include "livestatus/combinerfilter.h"
|
||||||
|
|
||||||
using namespace icinga;
|
using namespace icinga;
|
||||||
using namespace livestatus;
|
|
||||||
|
|
||||||
CombinerFilter::CombinerFilter(void)
|
CombinerFilter::CombinerFilter(void)
|
||||||
{ }
|
{ }
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
using namespace icinga;
|
using namespace icinga;
|
||||||
|
|
||||||
namespace livestatus
|
namespace icinga
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -29,7 +29,6 @@
|
|||||||
#include <boost/algorithm/string/replace.hpp>
|
#include <boost/algorithm/string/replace.hpp>
|
||||||
|
|
||||||
using namespace icinga;
|
using namespace icinga;
|
||||||
using namespace livestatus;
|
|
||||||
|
|
||||||
CommandsTable::CommandsTable(void)
|
CommandsTable::CommandsTable(void)
|
||||||
{
|
{
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
using namespace icinga;
|
using namespace icinga;
|
||||||
|
|
||||||
namespace livestatus
|
namespace icinga
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -26,7 +26,6 @@
|
|||||||
#include <boost/foreach.hpp>
|
#include <boost/foreach.hpp>
|
||||||
|
|
||||||
using namespace icinga;
|
using namespace icinga;
|
||||||
using namespace livestatus;
|
|
||||||
|
|
||||||
CommentsTable::CommentsTable(void)
|
CommentsTable::CommentsTable(void)
|
||||||
{
|
{
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
using namespace icinga;
|
using namespace icinga;
|
||||||
|
|
||||||
namespace livestatus
|
namespace icinga
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -23,7 +23,6 @@
|
|||||||
#include <boost/foreach.hpp>
|
#include <boost/foreach.hpp>
|
||||||
|
|
||||||
using namespace icinga;
|
using namespace icinga;
|
||||||
using namespace livestatus;
|
|
||||||
|
|
||||||
ContactGroupsTable::ContactGroupsTable(void)
|
ContactGroupsTable::ContactGroupsTable(void)
|
||||||
{
|
{
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
using namespace icinga;
|
using namespace icinga;
|
||||||
|
|
||||||
namespace livestatus
|
namespace icinga
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -27,7 +27,6 @@
|
|||||||
#include <boost/tuple/tuple.hpp>
|
#include <boost/tuple/tuple.hpp>
|
||||||
|
|
||||||
using namespace icinga;
|
using namespace icinga;
|
||||||
using namespace livestatus;
|
|
||||||
|
|
||||||
ContactsTable::ContactsTable(void)
|
ContactsTable::ContactsTable(void)
|
||||||
{
|
{
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
using namespace icinga;
|
using namespace icinga;
|
||||||
|
|
||||||
namespace livestatus
|
namespace icinga
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
#include "livestatus/countaggregator.h"
|
#include "livestatus/countaggregator.h"
|
||||||
|
|
||||||
using namespace livestatus;
|
using namespace icinga;
|
||||||
|
|
||||||
CountAggregator::CountAggregator(void)
|
CountAggregator::CountAggregator(void)
|
||||||
: m_Count(0)
|
: m_Count(0)
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
#include "livestatus/table.h"
|
#include "livestatus/table.h"
|
||||||
#include "livestatus/aggregator.h"
|
#include "livestatus/aggregator.h"
|
||||||
|
|
||||||
namespace livestatus
|
namespace icinga
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -26,7 +26,6 @@
|
|||||||
#include <boost/foreach.hpp>
|
#include <boost/foreach.hpp>
|
||||||
|
|
||||||
using namespace icinga;
|
using namespace icinga;
|
||||||
using namespace livestatus;
|
|
||||||
|
|
||||||
DowntimesTable::DowntimesTable(void)
|
DowntimesTable::DowntimesTable(void)
|
||||||
{
|
{
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
using namespace icinga;
|
using namespace icinga;
|
||||||
|
|
||||||
namespace livestatus
|
namespace icinga
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
#include "livestatus/filter.h"
|
#include "livestatus/filter.h"
|
||||||
|
|
||||||
using namespace livestatus;
|
using namespace icinga;
|
||||||
|
|
||||||
Filter::Filter(void)
|
Filter::Filter(void)
|
||||||
{ }
|
{ }
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
#include "livestatus/table.h"
|
#include "livestatus/table.h"
|
||||||
|
|
||||||
namespace livestatus
|
namespace icinga
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -25,7 +25,6 @@
|
|||||||
#include <boost/foreach.hpp>
|
#include <boost/foreach.hpp>
|
||||||
|
|
||||||
using namespace icinga;
|
using namespace icinga;
|
||||||
using namespace livestatus;
|
|
||||||
|
|
||||||
HostGroupsTable::HostGroupsTable(void)
|
HostGroupsTable::HostGroupsTable(void)
|
||||||
{
|
{
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
using namespace icinga;
|
using namespace icinga;
|
||||||
|
|
||||||
namespace livestatus
|
namespace icinga
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -37,7 +37,6 @@
|
|||||||
#include <boost/algorithm/string/split.hpp>
|
#include <boost/algorithm/string/split.hpp>
|
||||||
|
|
||||||
using namespace icinga;
|
using namespace icinga;
|
||||||
using namespace livestatus;
|
|
||||||
|
|
||||||
HostsTable::HostsTable(void)
|
HostsTable::HostsTable(void)
|
||||||
{
|
{
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
using namespace icinga;
|
using namespace icinga;
|
||||||
|
|
||||||
namespace livestatus
|
namespace icinga
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
#include "livestatus/invavgaggregator.h"
|
#include "livestatus/invavgaggregator.h"
|
||||||
|
|
||||||
using namespace livestatus;
|
using namespace icinga;
|
||||||
|
|
||||||
InvAvgAggregator::InvAvgAggregator(const String& attr)
|
InvAvgAggregator::InvAvgAggregator(const String& attr)
|
||||||
: m_InvAvg(0), m_InvAvgCount(0)
|
: m_InvAvg(0), m_InvAvgCount(0)
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
#include "livestatus/table.h"
|
#include "livestatus/table.h"
|
||||||
#include "livestatus/aggregator.h"
|
#include "livestatus/aggregator.h"
|
||||||
|
|
||||||
namespace livestatus
|
namespace icinga
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
#include "livestatus/invsumaggregator.h"
|
#include "livestatus/invsumaggregator.h"
|
||||||
|
|
||||||
using namespace livestatus;
|
using namespace icinga;
|
||||||
|
|
||||||
InvSumAggregator::InvSumAggregator(const String& attr)
|
InvSumAggregator::InvSumAggregator(const String& attr)
|
||||||
: m_InvSum(0)
|
: m_InvSum(0)
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
#include "livestatus/table.h"
|
#include "livestatus/table.h"
|
||||||
#include "livestatus/aggregator.h"
|
#include "livestatus/aggregator.h"
|
||||||
|
|
||||||
namespace livestatus
|
namespace icinga
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -32,7 +32,6 @@
|
|||||||
#include <boost/exception/diagnostic_information.hpp>
|
#include <boost/exception/diagnostic_information.hpp>
|
||||||
|
|
||||||
using namespace icinga;
|
using namespace icinga;
|
||||||
using namespace livestatus;
|
|
||||||
|
|
||||||
REGISTER_TYPE(LivestatusListener);
|
REGISTER_TYPE(LivestatusListener);
|
||||||
REGISTER_SCRIPTFUNCTION(ValidateSocketType, &LivestatusListener::ValidateSocketType);
|
REGISTER_SCRIPTFUNCTION(ValidateSocketType, &LivestatusListener::ValidateSocketType);
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
|
|
||||||
using namespace icinga;
|
using namespace icinga;
|
||||||
|
|
||||||
namespace livestatus
|
namespace icinga
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1,19 +1,10 @@
|
|||||||
#include "base/dynamicobject.h"
|
#include "base/dynamicobject.h"
|
||||||
#include "base/application.h"
|
#include "base/application.h"
|
||||||
|
|
||||||
namespace livestatus
|
|
||||||
{
|
|
||||||
|
|
||||||
code {{{
|
|
||||||
class LivestatusListener;
|
|
||||||
}}}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
namespace icinga
|
namespace icinga
|
||||||
{
|
{
|
||||||
|
|
||||||
class livestatus::LivestatusListener : DynamicObject {
|
class LivestatusListener : DynamicObject {
|
||||||
[config] String socket_type {
|
[config] String socket_type {
|
||||||
default {{{ return "unix"; }}}
|
default {{{ return "unix"; }}}
|
||||||
};
|
};
|
||||||
|
@ -45,7 +45,6 @@
|
|||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
|
||||||
using namespace icinga;
|
using namespace icinga;
|
||||||
using namespace livestatus;
|
|
||||||
|
|
||||||
LogTable::LogTable(const String& compat_log_path, const unsigned long& from, const unsigned long& until)
|
LogTable::LogTable(const String& compat_log_path, const unsigned long& from, const unsigned long& until)
|
||||||
{
|
{
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
using namespace icinga;
|
using namespace icinga;
|
||||||
|
|
||||||
namespace livestatus
|
namespace icinga
|
||||||
{
|
{
|
||||||
|
|
||||||
enum LogType {
|
enum LogType {
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
#include "livestatus/maxaggregator.h"
|
#include "livestatus/maxaggregator.h"
|
||||||
|
|
||||||
using namespace livestatus;
|
using namespace icinga;
|
||||||
|
|
||||||
MaxAggregator::MaxAggregator(const String& attr)
|
MaxAggregator::MaxAggregator(const String& attr)
|
||||||
: m_Max(0)
|
: m_Max(0)
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
#include "livestatus/table.h"
|
#include "livestatus/table.h"
|
||||||
#include "livestatus/aggregator.h"
|
#include "livestatus/aggregator.h"
|
||||||
|
|
||||||
namespace livestatus
|
namespace icinga
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
#include "livestatus/minaggregator.h"
|
#include "livestatus/minaggregator.h"
|
||||||
|
|
||||||
using namespace livestatus;
|
using namespace icinga;
|
||||||
|
|
||||||
MinAggregator::MinAggregator(const String& attr)
|
MinAggregator::MinAggregator(const String& attr)
|
||||||
: m_Min(0)
|
: m_Min(0)
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
#include "livestatus/table.h"
|
#include "livestatus/table.h"
|
||||||
#include "livestatus/aggregator.h"
|
#include "livestatus/aggregator.h"
|
||||||
|
|
||||||
namespace livestatus
|
namespace icinga
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -20,7 +20,6 @@
|
|||||||
#include "livestatus/negatefilter.h"
|
#include "livestatus/negatefilter.h"
|
||||||
|
|
||||||
using namespace icinga;
|
using namespace icinga;
|
||||||
using namespace livestatus;
|
|
||||||
|
|
||||||
NegateFilter::NegateFilter(const Filter::Ptr& inner)
|
NegateFilter::NegateFilter(const Filter::Ptr& inner)
|
||||||
: m_Inner(inner)
|
: m_Inner(inner)
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
using namespace icinga;
|
using namespace icinga;
|
||||||
|
|
||||||
namespace livestatus
|
namespace icinga
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -21,7 +21,6 @@
|
|||||||
#include <boost/foreach.hpp>
|
#include <boost/foreach.hpp>
|
||||||
|
|
||||||
using namespace icinga;
|
using namespace icinga;
|
||||||
using namespace livestatus;
|
|
||||||
|
|
||||||
OrFilter::OrFilter(void)
|
OrFilter::OrFilter(void)
|
||||||
{ }
|
{ }
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
using namespace icinga;
|
using namespace icinga;
|
||||||
|
|
||||||
namespace livestatus
|
namespace icinga
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -43,7 +43,6 @@
|
|||||||
#include <boost/algorithm/string/split.hpp>
|
#include <boost/algorithm/string/split.hpp>
|
||||||
|
|
||||||
using namespace icinga;
|
using namespace icinga;
|
||||||
using namespace livestatus;
|
|
||||||
|
|
||||||
static int l_ExternalCommands = 0;
|
static int l_ExternalCommands = 0;
|
||||||
static boost::mutex l_QueryMutex;
|
static boost::mutex l_QueryMutex;
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
using namespace icinga;
|
using namespace icinga;
|
||||||
|
|
||||||
namespace livestatus
|
namespace icinga
|
||||||
{
|
{
|
||||||
|
|
||||||
enum LivestatusError
|
enum LivestatusError
|
||||||
|
@ -23,7 +23,6 @@
|
|||||||
#include <boost/foreach.hpp>
|
#include <boost/foreach.hpp>
|
||||||
|
|
||||||
using namespace icinga;
|
using namespace icinga;
|
||||||
using namespace livestatus;
|
|
||||||
|
|
||||||
ServiceGroupsTable::ServiceGroupsTable(void)
|
ServiceGroupsTable::ServiceGroupsTable(void)
|
||||||
{
|
{
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
using namespace icinga;
|
using namespace icinga;
|
||||||
|
|
||||||
namespace livestatus
|
namespace icinga
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -35,7 +35,6 @@
|
|||||||
#include <boost/algorithm/string/replace.hpp>
|
#include <boost/algorithm/string/replace.hpp>
|
||||||
|
|
||||||
using namespace icinga;
|
using namespace icinga;
|
||||||
using namespace livestatus;
|
|
||||||
|
|
||||||
ServicesTable::ServicesTable(void)
|
ServicesTable::ServicesTable(void)
|
||||||
{
|
{
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
using namespace icinga;
|
using namespace icinga;
|
||||||
|
|
||||||
namespace livestatus
|
namespace icinga
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -46,7 +46,6 @@
|
|||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
|
||||||
using namespace icinga;
|
using namespace icinga;
|
||||||
using namespace livestatus;
|
|
||||||
|
|
||||||
StateHistTable::StateHistTable(const String& compat_log_path, const unsigned long& from, const unsigned long& until)
|
StateHistTable::StateHistTable(const String& compat_log_path, const unsigned long& from, const unsigned long& until)
|
||||||
{
|
{
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
using namespace icinga;
|
using namespace icinga;
|
||||||
|
|
||||||
namespace livestatus
|
namespace icinga
|
||||||
{
|
{
|
||||||
|
|
||||||
enum LogStateHistType {
|
enum LogStateHistType {
|
||||||
|
@ -28,7 +28,6 @@
|
|||||||
#include "base/application.h"
|
#include "base/application.h"
|
||||||
|
|
||||||
using namespace icinga;
|
using namespace icinga;
|
||||||
using namespace livestatus;
|
|
||||||
|
|
||||||
StatusTable::StatusTable(void)
|
StatusTable::StatusTable(void)
|
||||||
{
|
{
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
using namespace icinga;
|
using namespace icinga;
|
||||||
|
|
||||||
namespace livestatus
|
namespace icinga
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
#include "livestatus/stdaggregator.h"
|
#include "livestatus/stdaggregator.h"
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
using namespace livestatus;
|
using namespace icinga;
|
||||||
|
|
||||||
StdAggregator::StdAggregator(const String& attr)
|
StdAggregator::StdAggregator(const String& attr)
|
||||||
: m_StdSum(0), m_StdQSum(0), m_StdCount(0)
|
: m_StdSum(0), m_StdQSum(0), m_StdCount(0)
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
#include "livestatus/table.h"
|
#include "livestatus/table.h"
|
||||||
#include "livestatus/aggregator.h"
|
#include "livestatus/aggregator.h"
|
||||||
|
|
||||||
namespace livestatus
|
namespace icinga
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
#include "livestatus/sumaggregator.h"
|
#include "livestatus/sumaggregator.h"
|
||||||
|
|
||||||
using namespace livestatus;
|
using namespace icinga;
|
||||||
|
|
||||||
SumAggregator::SumAggregator(const String& attr)
|
SumAggregator::SumAggregator(const String& attr)
|
||||||
: m_Sum(0)
|
: m_Sum(0)
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
#include "livestatus/table.h"
|
#include "livestatus/table.h"
|
||||||
#include "livestatus/aggregator.h"
|
#include "livestatus/aggregator.h"
|
||||||
|
|
||||||
namespace livestatus
|
namespace icinga
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -39,7 +39,6 @@
|
|||||||
#include <boost/bind.hpp>
|
#include <boost/bind.hpp>
|
||||||
|
|
||||||
using namespace icinga;
|
using namespace icinga;
|
||||||
using namespace livestatus;
|
|
||||||
|
|
||||||
Table::Table(void)
|
Table::Table(void)
|
||||||
{ }
|
{ }
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
#include "base/dictionary.h"
|
#include "base/dictionary.h"
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
namespace livestatus
|
namespace icinga
|
||||||
{
|
{
|
||||||
|
|
||||||
class Filter;
|
class Filter;
|
||||||
|
@ -28,7 +28,6 @@
|
|||||||
#include <boost/algorithm/string/replace.hpp>
|
#include <boost/algorithm/string/replace.hpp>
|
||||||
|
|
||||||
using namespace icinga;
|
using namespace icinga;
|
||||||
using namespace livestatus;
|
|
||||||
|
|
||||||
TimePeriodsTable::TimePeriodsTable(void)
|
TimePeriodsTable::TimePeriodsTable(void)
|
||||||
{
|
{
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
using namespace icinga;
|
using namespace icinga;
|
||||||
|
|
||||||
namespace livestatus
|
namespace icinga
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user