#include <config.h>
#include <unistd.h>
#include <statgrab.h>
#include <corosync/corotypes.h>
#include <corosync/corodefs.h>
#include <corosync/coroapi.h>
#include <qb/qblist.h>
#include <corosync/logsys.h>
#include <corosync/icmap.h>
#include "fsm.h"
#include "service.h"
Go to the source code of this file.
◆ MON_DEFAULT_PERIOD
#define MON_DEFAULT_PERIOD 3000 |
Definition at line 58 of file mon.c.
◆ MON_MAX_PERIOD
Definition at line 60 of file mon.c.
◆ MON_MIN_PERIOD
#define MON_MIN_PERIOD 500 |
Definition at line 59 of file mon.c.
◆ mon_resource_event
Enumerator |
---|
MON_E_CONFIG_CHANGED | |
MON_E_FAILURE | |
Definition at line 135 of file mon.c.
◆ mon_resource_state
Enumerator |
---|
MON_S_STOPPED | |
MON_S_RUNNING | |
MON_S_FAILED | |
Definition at line 130 of file mon.c.
◆ LOGSYS_DECLARE_SUBSYS()
LOGSYS_DECLARE_SUBSYS |
( |
"MON" |
| ) |
|
◆ mon_get_service_engine_ver0()
◆ mon_config_changed_str
const char* mon_config_changed_str = "config_changed" |
◆ mon_failed_str
const char* mon_failed_str = "failed" |
◆ mon_failure_str
const char* mon_failure_str = "failure" |
◆ mon_fsm_table
Initial value:
Definition at line 140 of file mon.c.
◆ mon_running_str
const char* mon_running_str = "running" |
◆ mon_service_engine
Initial value:= {
.name = "corosync resource monitoring service",
.priority = 1,
.private_data_size = 0,
.lib_init_fn = NULL,
.lib_exit_fn = NULL,
.lib_engine = NULL,
.lib_engine_count = 0,
.exec_engine = NULL,
.exec_engine_count = 0,
.confchg_fn = NULL,
.exec_init_fn = mon_exec_init_fn,
.exec_dump_fn = NULL
}
@ CS_LIB_FLOW_CONTROL_NOT_REQUIRED
Definition at line 62 of file mon.c.
Referenced by mon_get_service_engine_ver0().
◆ mon_stopped_str
const char* mon_stopped_str = "stopped" |