> Host object

The following objects are directly related to the host API.

Host

The host object has the following properties.

PropertyTypeDescription
hostidstringID of the host.

Property behavior:
- read-only
- required for update operations
hoststringTechnical name of the host.

Property behavior:
- required for create operations
descriptiontextDescription of the host.
flagsintegerOrigin of the host.

Possible values:
0 - a plain host;
4 - a discovered host.

Property behavior:
- read-only
inventory_modeintegerHost inventory population mode.

Possible values:
-1 - (default) disabled;
0 - manual;
1 - automatic.
ipmi_authtypeintegerIPMI authentication algorithm.

Possible values:
-1 - (default) default;
0 - none;
1 - MD2;
2 - MD5
4 - straight;
5 - OEM;
6 - RMCP+.
ipmi_passwordstringIPMI password.
ipmi_privilegeintegerIPMI privilege level.

Possible values:
1 - callback;
2 - (default) user;
3 - operator;
4 - admin;
5 - OEM.
ipmi_usernamestringIPMI username.
maintenance_fromtimestampStarting time of the effective maintenance.

Property behavior:
- read-only
maintenance_statusintegerEffective maintenance status.

Possible values:
0 - (default) no maintenance;
1 - maintenance in effect.

Property behavior:
- read-only
maintenance_typeintegerEffective maintenance type.

Possible values:
0 - (default) maintenance with data collection;
1 - maintenance without data collection.

Property behavior:
- read-only
maintenanceidstringID of the maintenance that is currently in effect on the host.

Property behavior:
- read-only
namestringVisible name of the host.

Default: host property value.
proxy_hostidstringID of the proxy that is used to monitor the host.
statusintegerStatus and function of the host.

Possible values:
0 - (default) monitored host;
1 - unmonitored host.
tls_connectintegerConnections to host.

Possible values:
1 - (default) No encryption;
2 - PSK;
4 - certificate.
tls_acceptintegerConnections from host.
This is a bitmask field, any combination of possible bitmap values is acceptable.

Possible bitmap values:
1 - (default) No encryption;
2 - PSK;
4 - certificate.
tls_issuerstringCertificate issuer.
tls_subjectstringCertificate subject.
tls_psk_identitystringPSK identity.
Do not put sensitive information in the PSK identity, it is transmitted unencrypted over the network to inform a receiver which PSK to use.

Property behavior:
- write-only
- required if tls_connect is set to “PSK”, or tls_accept contains the “PSK” bit
tls_pskstringThe preshared key, at least 32 hex digits.

Property behavior:
- write-only
- required if tls_connect is set to “PSK”, or tls_accept contains the “PSK” bit
active_availableintegerHost active interface availability status.

Possible values:
0 - interface status is unknown;
1 - interface is available;
2 - interface is not available.

Property behavior:
- read-only

Host inventory

The host inventory object has the following properties.

Each property has it’s own unique ID number, which is used to associate host inventory fields with items.

IDPropertyTypeDescriptionMaximum length
4aliasstringAlias.128 characters
11asset_tagstringAsset tag.64 characters
28chassisstringChassis.64 characters
23contactstringContact person.Depends on the database used:
- 65535 characters for SQL databases
- 2048 characters for Oracle databases
32contract_numberstringContract number.64 characters
47date_hw_decommstringHW decommissioning date.64 characters
46date_hw_expirystringHW maintenance expiry date.64 characters
45date_hw_installstringHW installation date.64 characters
44date_hw_purchasestringHW purchase date.64 characters
34deployment_statusstringDeployment status.64 characters
14hardwarestringHardware.255 characters
15hardware_fullstringDetailed hardware.Depends on the database used:
- 65535 characters for SQL databases
- 2048 characters for Oracle databases
39host_netmaskstringHost subnet mask.39 characters
38host_networksstringHost networks.Depends on the database used:
- 65535 characters for SQL databases
- 2048 characters for Oracle databases
40host_routerstringHost router.39 characters
30hw_archstringHW architecture.32 characters
33installer_namestringInstaller name.64 characters
24locationstringLocation.Depends on the database used:
- 65535 characters for SQL databases
- 2048 characters for Oracle databases
25location_latstringLocation latitude.16 characters
26location_lonstringLocation longitude.16 characters
12macaddress_astringMAC address A.64 characters
13macaddress_bstringMAC address B.64 characters
29modelstringModel.64 characters
3namestringName.128 characters
27notesstringNotes.Depends on the database used:
- 65535 characters for SQL databases
- 2048 characters for Oracle databases
41oob_ipstringOOB IP address.39 characters
42oob_netmaskstringOOB host subnet mask.39 characters
43oob_routerstringOOB router.39 characters
5osstringOS name.128 characters
6os_fullstringDetailed OS name.255 characters
7os_shortstringShort OS name.128 characters
61poc_1_cellstringPrimary POC mobile number.64 characters
58poc_1_emailstringPrimary email.128 characters
57poc_1_namestringPrimary POC name.128 characters
63poc_1_notesstringPrimary POC notes.Depends on the database used:
- 65535 characters for SQL databases
- 2048 characters for Oracle databases
59poc_1_phone_astringPrimary POC phone A.64 characters
60poc_1_phone_bstringPrimary POC phone B.64 characters
62poc_1_screenstringPrimary POC screen name.64 characters
68poc_2_cellstringSecondary POC mobile number.64 characters
65poc_2_emailstringSecondary POC email.128 characters
64poc_2_namestringSecondary POC name.128 characters
70poc_2_notesstringSecondary POC notes.Depends on the database used:
- 65535 characters for SQL databases
- 2048 characters for Oracle databases
66poc_2_phone_astringSecondary POC phone A.64 characters
67poc_2_phone_bstringSecondary POC phone B.64 characters
69poc_2_screenstringSecondary POC screen name.64 characters
8serialno_astringSerial number A.64 characters
9serialno_bstringSerial number B.64 characters
48site_address_astringSite address A.128 characters
49site_address_bstringSite address B.128 characters
50site_address_cstringSite address C.128 characters
51site_citystringSite city.128 characters
53site_countrystringSite country.64 characters
56site_notesstringSite notes.Depends on the database used:
- 65535 characters for SQL databases
- 2048 characters for Oracle databases
55site_rackstringSite rack location.128 characters
52site_statestringSite state.64 characters
54site_zipstringSite ZIP/postal code.64 characters
16softwarestringSoftware.255 characters
18software_app_astringSoftware application A.64 characters
19software_app_bstringSoftware application B.64 characters
20software_app_cstringSoftware application C.64 characters
21software_app_dstringSoftware application D.64 characters
22software_app_estringSoftware application E.64 characters
17software_fullstringSoftware details.Depends on the database used:
- 65535 characters for SQL databases
- 2048 characters for Oracle databases
10tagstringTag.64 characters
1typestringType.64 characters
2type_fullstringType details.64 characters
35url_astringURL A.255 characters
36url_bstringURL B.255 characters
37url_cstringURL C.255 characters
31vendorstringVendor.64 characters

Host tag

The host tag object has the following properties.

PropertyTypeDescription
tagstringHost tag name.

Property behavior:
- required
valuestringHost tag value.
automaticintegerType of host tag.

Possible values:
0 - (default) manual (tag created by user);
1 - automatic (tag created by low-level discovery)