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
833458db
Commit
833458db
authored
Oct 17, 2017
by
loiclau
Committed by
Kev
Nov 2, 2017
Browse files
Options
Downloads
Patches
Plain Diff
update doc en
parent
10ca77c7
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/en/api/clapi/objects/realtime_downtimes.rst
+43
-14
43 additions, 14 deletions
doc/en/api/clapi/objects/realtime_downtimes.rst
with
43 additions
and
14 deletions
doc/en/api/clapi/objects/realtime_downtimes.rst
+
43
−
14
View file @
833458db
...
...
@@ -48,9 +48,9 @@ Show service real time downtime
In order to list available real time downtimes, use the **SHOW** action::
You can use the value "SVC" to display all the downtimes::
[root@centreon ~]# ./centreon -u admin -p centreon -o RTDOWNTIME -a show -v "SVC;generic-host
|
generic-service"
host_name;service_name;
service_name;
author;start_time;end_time;comment_data;duration;fixed
generic-host;generic-serviceadmin;2017/09/28 14:21;N/A;2017/09/26 17:00;2017/09/30 19:00;'generic-comment';3600;1
[root@centreon ~]# ./centreon -u admin -p centreon -o RTDOWNTIME -a show -v "SVC;generic-host
,
generic-service"
host_name;service_name;author;start_time;end_time;comment_data;duration;fixed
generic-host;generic-service
;
admin;2017/09/28 14:21;N/A;2017/09/26 17:00;2017/09/30 19:00;'generic-comment';3600;1
Columns are the following :
...
...
@@ -79,16 +79,14 @@ Fixed Downtime starts and stops at the exact start a
================================= ===========================================================================
Real time Downtime for : Addhost, addhostgroup
, addservice, addservicegroup
Real time Downtime for : Addhost, addhostgroup
-----------------------------------------------------------
If you want to associate a host, host
group, service or service
group to a real time downtime, use the **ADD** action::
If you want to associate a host, host group to a real time downtime, use the **ADD** action::
To set the value of the start/end, use following format : YYYY/MM/DD HH:mm::
[root@centreon ~]# ./centreon -u admin -p centreon -o RTDOWNTIME -a add -v "HOST;central;2017/09/24 10:00;2017/09/24 12:00;1;3600;1;my comments"
[root@centreon ~]# ./centreon -u admin -p centreon -o RTDOWNTIME -a add -v "SVC;central|ping;2017/09/24 10:00;2017/09/24 12:00;1;3600;1;my comments"
[root@centreon ~]# ./centreon -u admin -p centreon -o RTDOWNTIME -a add -v "HG;linux-servers;2017/09/24 10:00;2017/09/24 12:00;1;3600;1;my comments"
[root@centreon ~]# ./centreon -u admin -p centreon -o RTDOWNTIME -a add -v "SG;servicegroup1;2017/09/24 10:00;2017/09/24 12:00;1;3600;1;my comments"
[root@centreon ~]# ./centreon -u admin -p centreon -o RTDOWNTIME -a add -v "HOST;central;2017/09/24 10:00;2017/09/24 12:00;1;3600;my comments;1"
[root@centreon ~]# ./centreon -u admin -p centreon -o RTDOWNTIME -a add -v "HG;linux-servers;2017/09/24 10:00;2017/09/24 12:00;1;3600;my comments;1"
The required parameters are the following :
...
...
@@ -107,9 +105,40 @@ Order Description
6 Duration of downtime for flexible mode (seconds)
7
Apply downtime on linked services (0/1)
7
Short description of the real time downtime
8 Short description of the real time downtime
8 Apply downtime on linked services (0/1)
========= ============================================
Real time Downtime for : addservice, addservicegroup
-----------------------------------------------------------
If you want to associate a service or service group to a real time downtime, use the **ADD** action::
To set the value of the start/end, use following format : YYYY/MM/DD HH:mm::
[root@centreon ~]# ./centreon -u admin -p centreon -o RTDOWNTIME -a add -v "SVC;central|ping;2017/09/24 10:00;2017/09/24 12:00;1;3600;my comments"
[root@centreon ~]# ./centreon -u admin -p centreon -o RTDOWNTIME -a add -v "SG;servicegroup1;2017/09/24 10:00;2017/09/24 12:00;1;3600;my comments"
The required parameters are the following :
========= ============================================
Order Description
========= ============================================
1 Value you want to associate
2 Name of the host (Name of the service)
3 Beginning of downtime
4 End of downtime
5 Type of downtime (1 = fixed, 0 = flexible)
6 Duration of downtime for flexible mode (seconds)
7 Short description of the real time downtime
========= ============================================
...
...
@@ -119,7 +148,7 @@ Add instance real time downtime
In order to add a new real time downtime for a poller, use the **ADD** action::
To set the value of the start/end, use following format : YYYY/MM/DD HH:mm::
[root@centreon ~]# ./centreon -u admin -p centreon -o RTDOWNTIME -a add -v "INSTANCE;Central;2017/09/24 10:00;2017/09/24 12:00;1;3600;
1;
my comments
[root@centreon ~]# ./centreon -u admin -p centreon -o RTDOWNTIME -a add -v "INSTANCE;Central;2017/09/24 10:00;2017/09/24 12:00;1;3600;my comments
;1
The required parameters are the following :
...
...
@@ -138,8 +167,8 @@ Order Description
6 Duration of downtime for flexible mode (seconds)
7
Apply downtime on linked services (0/1)
7
Short description of the real time downtime
8
Short description of the real time downtime
8
Apply downtime on linked services (0/1)
========= ============================================
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