Fawkes API
Fawkes Development Version
|
23 #ifndef _PLUGINS_MONGORRD_MONGORRD_THREAD_H_
24 #define _PLUGINS_MONGORRD_MONGORRD_THREAD_H_
26 #include <aspect/clock.h>
27 #include <aspect/configurable.h>
28 #include <aspect/logging.h>
29 #include <config/change_handler.h>
30 #include <core/threading/thread.h>
31 #include <plugins/mongodb/aspect/mongodb.h>
32 #include <plugins/rrd/aspect/rrd.h>
63 void add_dbstats(
const char *path, std::string dbname);
64 void remove_dbstats(
const char *path);
66 virtual void config_tag_changed(
const char *new_tag);
69 virtual void config_value_erased(
const char *path);
88 std::string conf_path;
96 typedef std::map<std::string, DbStatsInfo> DbStatsMap;
Class representing a graph definition.
Thread aspect to access MongoDB.
Thread aspect create, update, and graph round-robin databases (RRD).
virtual ~MongoRRDThread()
Destructor.
Interface for configuration change handling.
virtual void run()
Stub to see name in backtrace for easier debugging.
Iterator interface to iterate over config values.
MongoRRDThread()
Constructor.
Fawkes library namespace.
Thread aspect to log output.
virtual void init()
Initialize the thread.
virtual void loop()
Code to execute in the thread.
Thread class encapsulation of pthreads.
Thread aspect to access configuration data.
Thread aspect that allows to obtain the current time from the clock.
virtual void finalize()
Finalize the thread.