You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.5 KiB

/*
** Zabbix
** Copyright (C) 2001-2023 Zabbix SIA
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation; either version 2 of the License, or
** (at your option) any later version.
**
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
** GNU General Public License for more details.
**
** You should have received a copy of the GNU General Public License
** along with this program; if not, write to the Free Software
** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
**/
#ifndef ZABBIX_ZBX_HOST_CONSTANTS_H
#define ZABBIX_ZBX_HOST_CONSTANTS_H
/* host statuses */
#define HOST_STATUS_MONITORED 0
#define HOST_STATUS_NOT_MONITORED 1
/*#define HOST_STATUS_UNREACHABLE 2*/
#define HOST_STATUS_TEMPLATE 3
/*#define HOST_STATUS_DELETED 4*/
/* host group types */
#define HOSTGROUP_TYPE_HOST 0
#define HOSTGROUP_TYPE_TEMPLATE 1
/* host maintenance status */
#define HOST_MAINTENANCE_STATUS_OFF 0
#define HOST_MAINTENANCE_STATUS_ON 1
/* host inventory mode */
#define HOST_INVENTORY_DISABLED -1 /* the host has no record in host_inventory */
/* only in server code, never in DB */
#define HOST_INVENTORY_MANUAL 0
#define HOST_INVENTORY_AUTOMATIC 1
#define HOST_INVENTORY_COUNT 2
#define HOST_INVENTORY_FIELD_COUNT 70
#endif /*ZABBIX_ZBX_HOST_CONSTANTS_H*/