"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "lib/perfdata/opentsdbwriter.hpp" between
icinga2-2.11.5.tar.gz and icinga2-2.12.0.tar.gz

About: Icinga 2 is an enterprise grade monitoring system which keeps watch over networks and any conceivable network resource.

opentsdbwriter.hpp  (icinga2-2.11.5):opentsdbwriter.hpp  (icinga2-2.12.0)
skipping to change at line 29 skipping to change at line 29
* @ingroup perfdata * @ingroup perfdata
*/ */
class OpenTsdbWriter final : public ObjectImpl<OpenTsdbWriter> class OpenTsdbWriter final : public ObjectImpl<OpenTsdbWriter>
{ {
public: public:
DECLARE_OBJECT(OpenTsdbWriter); DECLARE_OBJECT(OpenTsdbWriter);
DECLARE_OBJECTNAME(OpenTsdbWriter); DECLARE_OBJECTNAME(OpenTsdbWriter);
static void StatsFunc(const Dictionary::Ptr& status, const Array::Ptr& pe rfdata); static void StatsFunc(const Dictionary::Ptr& status, const Array::Ptr& pe rfdata);
void ValidateHostTemplate(const Lazy<Dictionary::Ptr>& lvalue, const Vali
dationUtils& utils) override;
void ValidateServiceTemplate(const Lazy<Dictionary::Ptr>& lvalue, const V
alidationUtils& utils) override;
protected: protected:
void OnConfigLoaded() override; void OnConfigLoaded() override;
void Resume() override; void Resume() override;
void Pause() override; void Pause() override;
private: private:
std::shared_ptr<AsioTcpStream> m_Stream; Shared<AsioTcpStream>::Ptr m_Stream;
Timer::Ptr m_ReconnectTimer; Timer::Ptr m_ReconnectTimer;
Dictionary::Ptr m_ServiceConfigTemplate;
Dictionary::Ptr m_HostConfigTemplate;
void CheckResultHandler(const Checkable::Ptr& checkable, const CheckResul t::Ptr& cr); void CheckResultHandler(const Checkable::Ptr& checkable, const CheckResul t::Ptr& cr);
void SendMetric(const Checkable::Ptr& checkable, const String& metric, void SendMetric(const Checkable::Ptr& checkable, const String& metric,
const std::map<String, String>& tags, double value, double ts); const std::map<String, String>& tags, double value, double ts);
void SendPerfdata(const Checkable::Ptr& checkable, const String& metric, void SendPerfdata(const Checkable::Ptr& checkable, const String& metric,
const std::map<String, String>& tags, const CheckResult::Ptr& cr, double ts); const std::map<String, String>& tags, const CheckResult::Ptr& cr, double ts);
static String EscapeTag(const String& str); static String EscapeTag(const String& str);
static String EscapeMetric(const String& str); static String EscapeMetric(const String& str);
void ReconnectTimerHandler(); void ReconnectTimerHandler();
void ReadConfigTemplate(const Dictionary::Ptr& stemplate,
const Dictionary::Ptr& htemplate);
}; };
} }
#endif /* OPENTSDBWRITER_H */ #endif /* OPENTSDBWRITER_H */
 End of changes. 4 change blocks. 
1 lines changed or deleted 12 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)