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

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
loiclau committed Feb 15, 2019
1 parent e5236e4 commit 907aa07
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 32 deletions.
30 changes: 15 additions & 15 deletions doc/en/api/clapi/objects/realtime_acknowledgement.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,24 @@ You can use the value "HOST" to display all the acknowledgement::

[root@centreon ~]# ./centreon -u admin -p centreon -o RTACKNOWLEDGEMENT -a show -v "HOST;generic-host"
id;host_name;entry_time;author;comment_data;sticky;notify_contacts;persistent_comment
6;generic-host;2017/09/28 14:21;admin;'generic-comment';1;0;1
6;generic-host;2017/09/28 14:21;admin;'generic-comment';2;0;1

Columns are the following :

================================= ==================================================================================
Column Description
================================= ==================================================================================
Id Id of the acknowledgement
Id Id of the acknowledgement

Host_name Name of the host
Host_name Name of the host

Entry_time Beginning of acknowledgement

Author Name of the author
Author Name of the author

Comment_data Short description of the acknowledgement

Sticky Acknowledgement will be maintained in case of a change of Not-OK status (0/1)
Sticky Acknowledgement will be maintained in case of a change of Not-OK status (0/2)

Notify_contacts Notification send to the contacts linked to the object (0/1)

Expand All @@ -48,26 +48,26 @@ You can use the value "SVC" to display all the acknowledgement::

[root@centreon ~]# ./centreon -u admin -p centreon -o RTACKNOWLEDGEMENT -a show -v "SVC;generic-host,generic-service"
id;host_name;service_name;entry_time;author;comment_data;sticky;notify_contacts;persistent_comment
42;generic-host;generic-service;2017/09/28 14:21;admin;'generic-comment';1;0;1
42;generic-host;generic-service;2017/09/28 14:21;admin;'generic-comment';2;0;1

Columns are the following :

================================= ===========================================================================
Column Description
================================= ===========================================================================
Id Id of the acknowledgement
Id Id of the acknowledgement

Host_name Name of the host
Host_name Name of the host

Service_name Name of the service
Service_name Name of the service

Entry_time Beginning of acknowledgement

Author Name of the author
Author Name of the author

Comment_data Short description of the acknowledgement

Sticky Acknowledgement will be maintained in case of a change of Not-OK status (0/1)
Sticky Acknowledgement will be maintained in case of a change of Not-OK status (0/2)

Notify_contacts Notification send to the contacts linked to the object (0/1)

Expand All @@ -80,7 +80,7 @@ Real time Acknowledgement for : Addhost

If you want to associate a host to a real time acknowledgement, use the **ADD** action::

[root@centreon ~]# ./centreon -u admin -p centreon -o RTACKNOWLEDGEMENT -a add -v "HOST;central;my comments;1;0;1"
[root@centreon ~]# ./centreon -u admin -p centreon -o RTACKNOWLEDGEMENT -a add -v "HOST;central;my comments;2;0;1"

The required parameters are the following :

Expand All @@ -93,7 +93,7 @@ Order Description

3 Short description of the real time acknowledgement

4 Acknowledgement maintained in case of a change of status (Sticky use 0 or 1)
4 Acknowledgement maintained in case of a change of status (Sticky use 0 or 2)

5 Notification send to the contacts linked to the object (Notify use 0 or 1)

Expand All @@ -107,7 +107,7 @@ Real time Acknowledgement for : addservice

If you want to associate a service or service group to a real time acknowledgement, use the **ADD** action::

[root@centreon ~]# ./centreon -u admin -p centreon -o RTACKNOWLEDGEMENT -a add -v "SVC;central,ping|central,memory;my comments;1;0;1"
[root@centreon ~]# ./centreon -u admin -p centreon -o RTACKNOWLEDGEMENT -a add -v "SVC;central,ping|central,memory;my comments;2;0;1"

The required parameters are the following :

Expand All @@ -120,7 +120,7 @@ Order Description

3 Short description of the real time acknowledgement

4 Acknowledgement maintained in case of a change of status (Sticky use 0 or 1)
4 Acknowledgement maintained in case of a change of status (Sticky use 0 or 2)

5 Notification send to the contacts linked to the object (Notify use 0 or 1)

Expand Down
30 changes: 15 additions & 15 deletions doc/fr/api/clapi/objects/realtime_acknowledgement.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,24 @@ You can use the value "HOST" to display all the acknowledgement::

[root@centreon ~]# ./centreon -u admin -p centreon -o RTACKNOWLEDGEMENT -a show -v "HOST;generic-host"
id;host_name;entry_time;author;comment_data;sticky;notify_contacts;persistent_comment
6;generic-host;2017/09/28 14:21;admin;'generic-comment';1;0;1
6;generic-host;2017/09/28 14:21;admin;'generic-comment';2;0;1

Columns are the following :

================================= ==================================================================================
Column Description
================================= ==================================================================================
Id Id of the acknowledgement
Id Id of the acknowledgement

Host_name Name of the host
Host_name Name of the host

Entry_time Beginning of acknowledgement

Author Name of the author
Author Name of the author

Comment_data Short description of the acknowledgement

Sticky Acknowledgement will be maintained in case of a change of Not-OK status (0/1)
Sticky Acknowledgement will be maintained in case of a change of Not-OK status (0/2)

Notify_contacts Notification send to the contacts linked to the object (0/1)

Expand All @@ -48,26 +48,26 @@ You can use the value "SVC" to display all the acknowledgement::

[root@centreon ~]# ./centreon -u admin -p centreon -o RTACKNOWLEDGEMENT -a show -v "SVC;generic-host,generic-service"
id;host_name;service_name;entry_time;author;comment_data;sticky;notify_contacts;persistent_comment
42;generic-host;generic-service;2017/09/28 14:21;admin;'generic-comment';1;0;1
42;generic-host;generic-service;2017/09/28 14:21;admin;'generic-comment';2;0;1

Columns are the following :

================================= ===========================================================================
Column Description
================================= ===========================================================================
Id Id of the acknowledgement
Id Id of the acknowledgement

Host_name Name of the host
Host_name Name of the host

Service_name Name of the service
Service_name Name of the service

Entry_time Beginning of acknowledgement

Author Name of the author
Author Name of the author

Comment_data Short description of the acknowledgement

Sticky Acknowledgement will be maintained in case of a change of Not-OK status (0/1)
Sticky Acknowledgement will be maintained in case of a change of Not-OK status (0/2)

Notify_contacts Notification send to the contacts linked to the object (0/1)

Expand All @@ -80,7 +80,7 @@ Real time Acknowledgement for : Addhost

If you want to associate a host to a real time acknowledgement, use the **ADD** action::

[root@centreon ~]# ./centreon -u admin -p centreon -o RTACKNOWLEDGEMENT -a add -v "HOST;central;my comments;1;0;1"
[root@centreon ~]# ./centreon -u admin -p centreon -o RTACKNOWLEDGEMENT -a add -v "HOST;central;my comments;2;0;1"

The required parameters are the following :

Expand All @@ -93,7 +93,7 @@ Order Description

3 Short description of the real time acknowledgement

4 Acknowledgement maintained in case of a change of status (Sticky use 0 or 1)
4 Acknowledgement maintained in case of a change of status (Sticky use 0 or 2)

5 Notification send to the contacts linked to the object (Notify use 0 or 1)

Expand All @@ -107,7 +107,7 @@ Real time Acknowledgement for : addservice

If you want to associate a service or service group to a real time acknowledgement, use the **ADD** action::

[root@centreon ~]# ./centreon -u admin -p centreon -o RTACKNOWLEDGEMENT -a add -v "SVC;central,ping|central,memory;my comments;1;0;1"
[root@centreon ~]# ./centreon -u admin -p centreon -o RTACKNOWLEDGEMENT -a add -v "SVC;central,ping|central,memory;my comments;2;0;1"

The required parameters are the following :

Expand All @@ -120,7 +120,7 @@ Order Description

3 Short description of the real time acknowledgement

4 Acknowledgement maintained in case of a change of status (Sticky use 0 or 1)
4 Acknowledgement maintained in case of a change of status (Sticky use 0 or 2)

5 Notification send to the contacts linked to the object (Notify use 0 or 1)

Expand Down
4 changes: 2 additions & 2 deletions lib/Centreon/Object/Acknowledgement/RtAcknowledgement.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/*
* Copyright 2005-2017 CENTREON
* Centreon is developped by : Julien Mathis and Romain Le Merlus under
* Copyright 2005-2019 CENTREON
* Centreon is developed by : Julien Mathis and Romain Le Merlus under
* GPL Licence 2.0.
*
* This program is free software; you can redistribute it and/or modify it under
Expand Down

0 comments on commit 907aa07

Please sign in to comment.