Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
fix(doc) doc for host get param #5783
Browse files Browse the repository at this point in the history
  • Loading branch information
loiclau committed Nov 27, 2017
1 parent 2f0188f commit 95020ec
Show file tree
Hide file tree
Showing 2 changed files with 213 additions and 0 deletions.
106 changes: 106 additions & 0 deletions doc/en/api/clapi/objects/hosts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,112 @@ timezone Timezone
.. note::
You need to generate your configuration file and restart monitoring engine in order to apply changes.

Getparam
--------

In order to get specific parameters on a host configuration, use the **GETPARAM** action::

[root@centreon ~]# ./centreon -u admin -p centreon -o HOST -a getparam -v "test;alias"
test
[root@centreon ~]# ./centreon -u admin -p centreon -o HOST -a setparam -v "test;timezone"
Europe/Berlin

You may edit the following parameters:

==================================== =================================================================================
Parameter Description
==================================== =================================================================================
2d_coords 2D coordinates (used by statusmap)

3d_coords 3D coordinates (used by statusmap)

action_url Action URL

activate Whether or not host is enabled

active_checks_enabled Whether or not active checks are enabled

address Host IP Address

alias Alias

check_command Check command

check_command_arguments Check command arguments

check_interval Normal check interval

check_freshness Enables check freshness

check_period Check period

contact_additive_inheritance Enables contact additive inheritance

cg_additive_inheritance Enables contactgroup additive inheritance

event_handler Event handler command

event_handler_arguments Event handler command arguments

event_handler_enabled Whether or not event handler is enabled

first_notification_delay First notification delay (in seconds)

flap_detection_enabled Whether or not flap detection is enabled

flap_detection_options Flap detection options 'o' for Up, 'd' for Down, 'u' for Unreachable

host_high_flap_threshold High flap threshold

host_low_flap_threshold Low flap threshold

icon_image Icon image

icon_image_alt Icon image text

max_check_attempts Maximum number of attempt before a HARD state is declared

name Host name

notes Notes

notes_url Notes URL

notifications_enabled Whether or not notification is enabled

notification_interval Notification interval

notification_options Notification options

notification_period Notification period

recovery_notification_delay Recovery notification delay

obsess_over_host Whether or not obsess over host option is enabled

passive_checks_enabled Whether or not passive checks are enabled

process_perf_data Process performance data command

retain_nonstatus_information Whether or not there is non-status retention

retain_status_information Whether or not there is status retention

retry_check_interval Retry check interval

snmp_community Snmp Community

snmp_version Snmp version

stalking_options Comma separated options: 'o' for OK, 'd' for Down, 'u' for Unreachable

statusmap_image Status map image (used by statusmap

host_notification_options Notification options (d,u,r,f,s)

timezone Timezone
==================================== =================================================================================


Setinstance
-----------
Expand Down
107 changes: 107 additions & 0 deletions doc/fr/api/clapi/objects/hosts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,113 @@ timezone Timezone
==================================== =================================================================================


Getparam
--------

In order to get specific parameters on a host configuration, use the **GETPARAM** action::

[root@centreon ~]# ./centreon -u admin -p centreon -o HOST -a getparam -v "test;alias"
test
[root@centreon ~]# ./centreon -u admin -p centreon -o HOST -a setparam -v "test;timezone"
Europe/Berlin

You may edit the following parameters:

==================================== =================================================================================
Parameter Description
==================================== =================================================================================
2d_coords 2D coordinates (used by statusmap)

3d_coords 3D coordinates (used by statusmap)

action_url Action URL

activate Whether or not host is enabled

active_checks_enabled Whether or not active checks are enabled

address Host IP Address

alias Alias

check_command Check command

check_command_arguments Check command arguments

check_interval Normal check interval

check_freshness Enables check freshness

check_period Check period

contact_additive_inheritance Enables contact additive inheritance

cg_additive_inheritance Enables contactgroup additive inheritance

event_handler Event handler command

event_handler_arguments Event handler command arguments

event_handler_enabled Whether or not event handler is enabled

first_notification_delay First notification delay (in seconds)

flap_detection_enabled Whether or not flap detection is enabled

flap_detection_options Flap detection options 'o' for Up, 'd' for Down, 'u' for Unreachable

host_high_flap_threshold High flap threshold

host_low_flap_threshold Low flap threshold

icon_image Icon image

icon_image_alt Icon image text

max_check_attempts Maximum number of attempt before a HARD state is declared

name Host name

notes Notes

notes_url Notes URL

notifications_enabled Whether or not notification is enabled

notification_interval Notification interval

notification_options Notification options

notification_period Notification period

recovery_notification_delay Recovery notification delay

obsess_over_host Whether or not obsess over host option is enabled

passive_checks_enabled Whether or not passive checks are enabled

process_perf_data Process performance data command

retain_nonstatus_information Whether or not there is non-status retention

retain_status_information Whether or not there is status retention

retry_check_interval Retry check interval

snmp_community Snmp Community

snmp_version Snmp version

stalking_options Comma separated options: 'o' for OK, 'd' for Down, 'u' for Unreachable

statusmap_image Status map image (used by statusmap

host_notification_options Notification options (d,u,r,f,s)

timezone Timezone
==================================== =================================================================================


.. note::
You need to generate your configuration file and restart monitoring engine in order to apply changes.

Expand Down

0 comments on commit 95020ec

Please sign in to comment.