47 const char *instr_name,
const char *os_name,
48 const char *description,
sv_bool *sysvar_running,
Definition: health_monitor_collector.h:41
The Periodic_Reporter has a framework for printing reports to some destination.
Definition: health_monitor_periodic_reporter.h:44
static const uint DEPRECATION_REPORT_SAMPLE_INTERVAL
Definition: health_monitor_periodic_reporter.h:71
Periodic_Reporter(Periodic_Reporter &&)=delete
~Periodic_Reporter() override=default
void process() override
Run report only if more than half of the level 3 limit is available.
Definition: health_monitor_periodic_reporter.cc:131
static const char * default_periodic_report
Definition: health_monitor_periodic_reporter.h:68
int deprecation_msg_next
Definition: health_monitor_periodic_reporter.h:72
Periodic_Reporter & operator=(const Periodic_Reporter &)=delete
int report_deprecated_usage()
Periodically report usage of the deprecated features.
Definition: health_monitor_periodic_reporter.cc:164
Periodic_Reporter(const char *reporter_name, const char *status_name, const char *instr_name, const char *os_name, const char *description, sv_bool *sysvar_running, sv_char *sysvar_def)
Definition: health_monitor_periodic_reporter.cc:106
sv_char * m_sysvar_def
Definition: health_monitor_periodic_reporter.h:78
void pre_process() override
Set the timer to 10 sec before starting to process.
Definition: health_monitor_periodic_reporter.cc:123
void set_params() override
Set report parameters from the system variables.
Definition: health_monitor_periodic_reporter.cc:263
bool running() const override
Return health_monitor reporting variable.
Definition: health_monitor_periodic_reporter.cc:271
bool settings_changed() override
Indicate if the Memory Periodic_Reporter settings have changed.
Definition: health_monitor_periodic_reporter.cc:254
sv_bool * m_sysvar_running
Definition: health_monitor_periodic_reporter.h:77
Periodic_Reporter(const Periodic_Reporter &)=delete
Periodic_Reporter & operator=(Periodic_Reporter &&)=delete
Report_Definition_Manager m_rep_mgr
Definition: health_monitor_periodic_reporter.h:76
bool m_settings_changed
Definition: health_monitor_periodic_reporter.h:75
virtual void issue_report()
Process all periodic report definitions, issue those that are due.
Definition: health_monitor_periodic_reporter.cc:208
std::string format_settings() override
Periodic_Reporter settings formatted string.
Definition: health_monitor_periodic_reporter.cc:244
void log_resource_status() override
Periodic Reporter status.
Definition: health_monitor_periodic_reporter.cc:239
The Report_Definition_Manager keeps track of all the report definitions for a reporter.
Definition: health_monitor_report_manager.h:57
Definition: component_command.h:29