Merge "Add Cinder audit setup to send Ceilo notifications"
This commit is contained in:
commit
9e4639cd23
|
@ -722,6 +722,24 @@ sinks:
|
|||
</section>
|
||||
</section>
|
||||
</section>
|
||||
<section xml:id="section_telemetry-cinder-audit-script">
|
||||
<title>Block Storage audit script setup to get notifications</title>
|
||||
<para>If you want to collect OpenStack Block Storage notification on demand,
|
||||
you can use <command>cinder-volume-usage-audit</command> from OpenStack Block Storage.
|
||||
This script becomes available when you install OpenStack Block Storage, so you can use
|
||||
it without any specific settings and you don't need to authenticate to
|
||||
access the data. To use it, you must run this command in the following format:</para>
|
||||
<screen><prompt>$</prompt> <userinput>cinder-volume-usage-audit \
|
||||
--start_time='YYYY-MM-DD HH:MM:SS' --end_time='YYYY-MM-DD HH:MM:SS' --send_actions</userinput></screen>
|
||||
<para>This script outputs what volumes or snapshots were
|
||||
created or deleted or existed in a given period of time and some
|
||||
information about these volumes or snapshots. Information about the
|
||||
existence and size of volumes and snapshots is store in the Telemetry
|
||||
module.</para>
|
||||
<para>Using this script via cron you can get notifications periodically,
|
||||
for example, every 5 minutes.</para>
|
||||
<programlisting>*/5 * * * * /path/to/cinder-volume-usage-audit --send_actions</programlisting>
|
||||
</section>
|
||||
<section xml:id="section_telemetry-storing-data">
|
||||
<title>Storing samples</title>
|
||||
<para>The Telemetry module has a separate service that is responsible for persisting the data
|
||||
|
|
|
@ -28,5 +28,11 @@ notification_driver = cinder.openstack.common.notifier.rpc_notifier</programlist
|
|||
<screen os="rhel;fedora;centos;sles;opensuse"><prompt>#</prompt> <userinput>service openstack-cinder-volume restart</userinput></screen>
|
||||
<screen os="ubuntu;debian"><prompt>#</prompt> <userinput>service cinder-volume restart</userinput></screen>
|
||||
</step>
|
||||
<step>
|
||||
<para>If you want to collect OpenStack Block Storage notification on demand,
|
||||
you can use <command>cinder-volume-usage-audit</command> from OpenStack Block Storage.
|
||||
For more information, <link xlink:href="http://docs.openstack.org/admin-guide-cloud/content/section_telemetry-cinder-audit-script.html"
|
||||
><citetitle>Block Storage audit script setup to get notifications</citetitle></link>.</para>
|
||||
</step>
|
||||
</procedure>
|
||||
</section>
|
||||
|
|
Loading…
Reference in New Issue