mirror of https://github.com/Icinga/icinga2.git
parent
c465ec90b7
commit
07bd8943ce
|
@ -37,6 +37,7 @@ using namespace icinga;
|
|||
|
||||
REGISTER_TYPE(Checkable);
|
||||
|
||||
boost::signals2::signal<void (const Checkable::Ptr&, bool, const MessageOrigin&)> Checkable::OnEnablePerfdataChanged;
|
||||
boost::signals2::signal<void (const Checkable::Ptr&, const String&, const String&, AcknowledgementType, double, const MessageOrigin&)> Checkable::OnAcknowledgementSet;
|
||||
boost::signals2::signal<void (const Checkable::Ptr&, const MessageOrigin&)> Checkable::OnAcknowledgementCleared;
|
||||
|
||||
|
@ -162,6 +163,8 @@ bool Checkable::GetEnablePerfdata(void) const
|
|||
void Checkable::SetEnablePerfdata(bool enabled, const MessageOrigin& origin)
|
||||
{
|
||||
SetOverrideEnablePerfdata(enabled);
|
||||
|
||||
OnEnablePerfdataChanged(GetSelf(), enabled, origin);
|
||||
}
|
||||
|
||||
int Checkable::GetModifiedAttributes(void) const
|
||||
|
|
|
@ -157,6 +157,7 @@ public:
|
|||
static boost::signals2::signal<void (const Checkable::Ptr&, bool, const MessageOrigin&)> OnEnablePassiveChecksChanged;
|
||||
static boost::signals2::signal<void (const Checkable::Ptr&, bool, const MessageOrigin&)> OnEnableNotificationsChanged;
|
||||
static boost::signals2::signal<void (const Checkable::Ptr&, bool, const MessageOrigin&)> OnEnableFlappingChanged;
|
||||
static boost::signals2::signal<void (const Checkable::Ptr&, bool, const MessageOrigin&)> OnEnablePerfdataChanged;
|
||||
static boost::signals2::signal<void (const Checkable::Ptr&, const CheckResult::Ptr&, const MessageOrigin&)> OnNewCheckResult;
|
||||
static boost::signals2::signal<void (const Checkable::Ptr&, const CheckResult::Ptr&, StateType, const MessageOrigin&)> OnStateChange;
|
||||
static boost::signals2::signal<void (const Checkable::Ptr&, NotificationType, const CheckResult::Ptr&,
|
||||
|
|
Loading…
Reference in New Issue