Private GIT

Skip to content
Snippets Groups Projects
Commit a0ab25e9 authored by Kev's avatar Kev Committed by GitHub
Browse files

Merge pull request #4916 from s-duret/patch-5

Bad object name
parents 446e334a 5822cac2
Branches
Tags
No related merge requests found
......@@ -12,7 +12,7 @@ Show
In order to list available time periods, use the **SHOW** action::
[root@centreon ~]# ./centreon -u admin -p centreon -o TIMEPERIOD -a show
[root@centreon ~]# ./centreon -u admin -p centreon -o TP -a show
id;name;alias;sunday;monday;tuesday;wednesday;thursday;friday,saturday
1;24x7;24_Hours_A_Day,_7_Days_A_Week;00:00-24:00;00:00-24:00;00:00-24:00;00:00-24:00;00:00-24:00;00:00-24:00;00:00-24:00
2;none;No Time Is A Good Time;;;;;;;
......@@ -25,7 +25,7 @@ Add
In order to add a Time Period, use the **ADD** action::
[root@centreon ~]# ./centreon -u admin -p centreon -o TIMEPERIOD -a add -v "Timeperiod_Test;Timeperiod_Test"
[root@centreon ~]# ./centreon -u admin -p centreon -o TP -a add -v "Timeperiod_Test;Timeperiod_Test"
Required fields are:
......@@ -43,7 +43,7 @@ Del
If you want to remove a Time Period, use the **DEL** action. The Name is used for identifying the Time Period to delete::
[root@centreon ~]# ./centreon -u admin -p centreon -o TIMEPERIOD -a del -v "Timeperiod_Test"
[root@centreon ~]# ./centreon -u admin -p centreon -o TP -a del -v "Timeperiod_Test"
Setparam
......@@ -51,7 +51,7 @@ Setparam
If you want to change a specific parameter of a time period, use the **SETPARAM** action. The Name is used for identifying the Time Period to update::
[root@centreon ~]# ./centreon -u admin -p centreon -o TIMEPERIOD -a setparam -v "Timeperiod_Test;monday;00:00-24:00"
[root@centreon ~]# ./centreon -u admin -p centreon -o TP -a setparam -v "Timeperiod_Test;monday;00:00-24:00"
Arguments are composed of the following columns:
......@@ -103,7 +103,7 @@ Getexception
In order to view the exception list of a time period, use the **GETEXCEPTION** action::
[root@centreon ~]# ./centreon -u admin -p centreon -o TIMEPERIOD -a getexception -v "mytimeperiod"
[root@centreon ~]# ./centreon -u admin -p centreon -o TP -a getexception -v "mytimeperiod"
days;timerange
january 1;00:00-00:00
december 25;00:00-00:00
......@@ -114,7 +114,7 @@ Setexception
In order to set an exception on a timeperiod, use the **SETEXCEPTION** action::
[root@centreon ~]# ./centreon -u admin -p centreon -o TIMEPERIOD -a setexception -v "mytimeperiod;january 1;00:00-24:00"
[root@centreon ~]# ./centreon -u admin -p centreon -o TP -a setexception -v "mytimeperiod;january 1;00:00-24:00"
.. note::
If exception does not exist, it will be created, otherwise it will be overwritten.
......@@ -125,7 +125,7 @@ Delexception
In order to delete an exception, use the **DELEXCEPTION** action::
[root@centreon ~]# ./centreon -u admin -p centreon -o TIMEPERIOD -a delexception -v "mytimeperiod;january 1"
[root@centreon ~]# ./centreon -u admin -p centreon -o TP -a delexception -v "mytimeperiod;january 1"
Arguments are composed of the following columns:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment