Private GIT

Skip to content
Snippets Groups Projects
Commit 8a3ee486 authored by loiclau's avatar loiclau Committed by Kev
Browse files

update doc fr

parent 14316ae5
No related branches found
No related tags found
No related merge requests found
...@@ -48,9 +48,9 @@ Show service real time downtime ...@@ -48,9 +48,9 @@ Show service real time downtime
In order to list available real time downtimes, use the **SHOW** action:: In order to list available real time downtimes, use the **SHOW** action::
You can use the value "SVC" to display all the downtimes:: 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" [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 host_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 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 : Columns are the following :
...@@ -79,16 +79,14 @@ Fixed Downtime starts and stops at the exact start a ...@@ -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:: 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 "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 "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;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;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"
The required parameters are the following : The required parameters are the following :
...@@ -107,11 +105,41 @@ Order Description ...@@ -107,11 +105,41 @@ Order Description
6 Duration of downtime for flexible mode (seconds) 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
========= ============================================ ========= ============================================
Add instance real time downtime Add instance real time downtime
...@@ -120,7 +148,7 @@ Add instance real time downtime ...@@ -120,7 +148,7 @@ Add instance real time downtime
In order to add a new real time downtime for a poller, use the **ADD** action:: 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:: 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
The required parameters are the following : The required parameters are the following :
...@@ -139,8 +167,6 @@ Order Description ...@@ -139,8 +167,6 @@ Order Description
6 Duration of downtime for flexible mode (seconds) 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
========= ============================================ ========= ============================================
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment