Source
13
13
** GNU General Public License for more details.
14
14
**
15
15
** You should have received a copy of the GNU General Public License
16
16
** along with this program; if not, write to the Free Software
17
17
** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18
18
**/
19
19
20
20
#ifndef ZABBIX_ZBXIPMI_H
21
21
#define ZABBIX_ZBXIPMI_H
22
22
23
+
#ifdef HAVE_OPENIPMI
24
+
23
25
#include "zbxcacheconfig.h"
24
26
25
27
typedef struct
26
28
{
27
29
int config_timeout;
28
30
int config_unavailable_delay;
29
31
int config_unreachable_period;
30
32
int config_unreachable_delay;
31
33
}
32
34
zbx_thread_ipmi_manager_args;
33
35
34
36
ZBX_THREAD_ENTRY(zbx_ipmi_manager_thread, args);
35
37
ZBX_THREAD_ENTRY(zbx_ipmi_poller_thread, args);
36
38
37
39
int zbx_ipmi_test_item(const zbx_dc_item_t *item, char **info);
38
40
39
41
int zbx_ipmi_execute_command(const zbx_dc_host_t *host, const char *command, char *error, size_t max_error_len);
40
42
43
+
#endif /* HAVE_OPENIPMI */
44
+
41
45
#endif