pacemaker  2.1.4-dc6eb4362
Scalable High-Availability cluster resource manager
services_nagios.h
Go to the documentation of this file.
1 /*
2  * Copyright 2010-2021 the Pacemaker project contributors
3  *
4  * The version control history for this file may have further details.
5  *
6  * This source code is licensed under the GNU Lesser General Public License
7  * version 2.1 or later (LGPLv2.1+) WITHOUT ANY WARRANTY.
8  */
9 
10 #ifndef SERVICES_NAGIOS__H
11 # define SERVICES_NAGIOS__H
12 
13 G_GNUC_INTERNAL
15 
16 G_GNUC_INTERNAL
17 enum ocf_exitcode services__nagios2ocf(int exit_status);
18 
19 G_GNUC_INTERNAL
20 GList *services__list_nagios_agents(void);
21 
22 G_GNUC_INTERNAL
23 gboolean services__nagios_agent_exists(const char *agent);
24 
25 G_GNUC_INTERNAL
26 int services__get_nagios_metadata(const char *type, char **output);
27 
28 #endif
ocf_exitcode
Exit status codes for resource agents.
Definition: results.h:161
enum crm_ais_msg_types type
Definition: cpg.c:48
G_GNUC_INTERNAL gboolean services__nagios_agent_exists(const char *agent)
G_GNUC_INTERNAL int services__nagios_prepare(svc_action_t *op)
G_GNUC_INTERNAL enum ocf_exitcode services__nagios2ocf(int exit_status)
Object for executing external actions.
Definition: services.h:121
G_GNUC_INTERNAL GList * services__list_nagios_agents(void)
G_GNUC_INTERNAL int services__get_nagios_metadata(const char *type, char **output)