pacemaker  2.1.8-3980678f03
Scalable High-Availability cluster resource manager
Macros | Functions
services_nagios.c File Reference
#include <crm_internal.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include <errno.h>
#include <unistd.h>
#include <dirent.h>
#include <grp.h>
#include <string.h>
#include <sys/time.h>
#include <sys/resource.h>
#include "crm/crm.h"
#include <crm/common/xml.h>
#include "crm/common/mainloop.h"
#include "crm/services.h"
#include "services_private.h"
#include "services_nagios.h"
Include dependency graph for services_nagios.c:

Go to the source code of this file.

Macros

#define _GNU_SOURCE
 

Functions

int services__nagios_prepare (svc_action_t *op)
 
enum ocf_exitcode services__nagios2ocf (int exit_status)
 
GList * services__list_nagios_agents (void)
 
gboolean services__nagios_agent_exists (const char *name)
 
int services__get_nagios_metadata (const char *type, char **output)
 

Macro Definition Documentation

◆ _GNU_SOURCE

#define _GNU_SOURCE

Definition at line 13 of file services_nagios.c.

Function Documentation

◆ services__get_nagios_metadata()

int services__get_nagios_metadata ( const char *  type,
char **  output 
)

Definition at line 175 of file services_nagios.c.

◆ services__list_nagios_agents()

GList* services__list_nagios_agents ( void  )

Definition at line 132 of file services_nagios.c.

◆ services__nagios2ocf()

enum ocf_exitcode services__nagios2ocf ( int  exit_status)

Definition at line 106 of file services_nagios.c.

◆ services__nagios_agent_exists()

gboolean services__nagios_agent_exists ( const char *  name)

Definition at line 155 of file services_nagios.c.

◆ services__nagios_prepare()

int services__nagios_prepare ( svc_action_t op)

Definition at line 44 of file services_nagios.c.