pacemaker  2.1.3-ea053b43a
Scalable High-Availability cluster resource manager
Functions
lrmd_alerts.c File Reference
#include <crm_internal.h>
#include <glib.h>
#include <unistd.h>
#include <crm/crm.h>
#include <crm/msg_xml.h>
#include <crm/services.h>
#include <crm/common/mainloop.h>
#include <crm/common/alerts_internal.h>
#include <crm/lrmd_internal.h>
#include <crm/pengine/status.h>
#include <crm/cib.h>
#include <crm/lrmd.h>
Include dependency graph for lrmd_alerts.c:

Go to the source code of this file.

Functions

int lrmd_send_attribute_alert (lrmd_t *lrmd, GList *alert_list, const char *node, uint32_t nodeid, const char *attr_name, const char *attr_value)
 
int lrmd_send_node_alert (lrmd_t *lrmd, GList *alert_list, const char *node, uint32_t nodeid, const char *state)
 
int lrmd_send_fencing_alert (lrmd_t *lrmd, GList *alert_list, const char *target, const char *task, const char *desc, int op_rc)
 
int lrmd_send_resource_alert (lrmd_t *lrmd, GList *alert_list, const char *node, lrmd_event_data_t *op)
 

Function Documentation

◆ lrmd_send_attribute_alert()

int lrmd_send_attribute_alert ( lrmd_t lrmd,
GList *  alert_list,
const char *  node,
uint32_t  nodeid,
const char *  attr_name,
const char *  attr_value 
)

Definition at line 237 of file lrmd_alerts.c.

◆ lrmd_send_fencing_alert()

int lrmd_send_fencing_alert ( lrmd_t lrmd,
GList *  alert_list,
const char *  target,
const char *  task,
const char *  desc,
int  op_rc 
)

Definition at line 310 of file lrmd_alerts.c.

◆ lrmd_send_node_alert()

int lrmd_send_node_alert ( lrmd_t lrmd,
GList *  alert_list,
const char *  node,
uint32_t  nodeid,
const char *  state 
)

Definition at line 275 of file lrmd_alerts.c.

◆ lrmd_send_resource_alert()

int lrmd_send_resource_alert ( lrmd_t lrmd,
GList *  alert_list,
const char *  node,
lrmd_event_data_t op 
)

Definition at line 345 of file lrmd_alerts.c.