Private GIT
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
centreon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vlbox
centreon
Commits
a579e6d5
Commit
a579e6d5
authored
Nov 30, 2017
by
loiclau
Committed by
Guillaume28
Nov 30, 2017
Browse files
Options
Downloads
Patches
Plain Diff
fix(doc) doc for host get param #5783 (#5924)
parent
4f06af7d
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/en/api/clapi/objects/hosts.rst
+106
-0
106 additions, 0 deletions
doc/en/api/clapi/objects/hosts.rst
doc/fr/api/clapi/objects/hosts.rst
+107
-0
107 additions, 0 deletions
doc/fr/api/clapi/objects/hosts.rst
with
213 additions
and
0 deletions
doc/en/api/clapi/objects/hosts.rst
+
106
−
0
View file @
a579e6d5
...
...
@@ -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
-----------
...
...
This diff is collapsed.
Click to expand it.
doc/fr/api/clapi/objects/hosts.rst
+
107
−
0
View file @
a579e6d5
...
...
@@ -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.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment