~ubuntu-branches/ubuntu/trusty/ceilometer/trusty-proposed

« back to all changes in this revision

Viewing changes to etc/ceilometer/ceilometer.conf.sample

  • Committer: Package Import Robot
  • Author(s): Chuck Short, James Page, Chuck Short
  • Date: 2014-01-23 15:08:11 UTC
  • mfrom: (1.1.11)
  • Revision ID: package-import@ubuntu.com-20140123150811-1zaismsuyh1hcl8y
Tags: 2014.1~b2-0ubuntu1
[ James Page ]
* d/control: Add python-jsonpath-rw to BD's.
* d/p/fix-setup-requirements.patch: Bump WebOb to support < 1.4.
 (LP: #1261101)

[ Chuck Short ]
* New upstream version.
* debian/control, debian/ceilometer-common.install: Split out
  ceilometer-alarm-evaluator and ceilometer-alarm-notifier into their
  own packages. (LP: #1250002)
* debian/ceilometer-agent-central.logrotate,
  debian/ceilometer-agent-compute.logrotate,
  debian/ceilometer-api.logrotate,
  debian/ceilometer-collector.logrotate: Add logrotate files, 
  thanks to Ahmed Rahal. (LP: #1224223)
* Fix typos in upstart files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
# Options defined in ceilometer.sample
24
24
#
25
25
 
26
 
# Source for samples emited on this instance (string value)
 
26
# Source for samples emitted on this instance (string value)
27
27
# Deprecated group/name - [DEFAULT]/counter_source
28
28
#sample_source=openstack
29
29
 
189
189
 
190
190
# format string to use for log messages with context (string
191
191
# value)
192
 
#logging_context_format_string=%(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user)s %(tenant)s] %(instance)s%(message)s
 
192
#logging_context_format_string=%(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user_identity)s] %(instance)s%(message)s
193
193
 
194
194
# format string to use for log messages without context
195
195
# (string value)
204
204
#logging_exception_prefix=%(asctime)s.%(msecs)03d %(process)d TRACE %(name)s %(instance)s
205
205
 
206
206
# list of logger=LEVEL pairs (list value)
207
 
#default_log_levels=amqp=WARN,amqplib=WARN,boto=WARN,keystone=INFO,qpid=WARN,sqlalchemy=WARN,suds=INFO,iso8601=WARN
 
207
#default_log_levels=amqp=WARN,amqplib=WARN,boto=WARN,qpid=WARN,sqlalchemy=WARN,suds=INFO,iso8601=WARN
208
208
 
209
209
# publish error events (boolean value)
210
210
#publish_errors=false
518
518
#cinder_control_exchange=cinder
519
519
 
520
520
 
521
 
[publisher_rpc]
522
 
 
523
 
#
524
 
# Options defined in ceilometer.publisher.rpc
525
 
#
526
 
 
527
 
# the topic ceilometer uses for metering messages (string
528
 
# value)
529
 
#metering_topic=metering
530
 
 
531
 
# Secret value for signing metering messages (string value)
532
 
#metering_secret=change this or be hacked
533
 
 
534
 
 
535
 
[ssl]
536
 
 
537
 
#
538
 
# Options defined in ceilometer.openstack.common.sslutils
539
 
#
540
 
 
541
 
# CA certificate file to use to verify connecting clients
542
 
# (string value)
543
 
#ca_file=<None>
544
 
 
545
 
# Certificate file to use when starting the server securely
546
 
# (string value)
547
 
#cert_file=<None>
548
 
 
549
 
# Private key file to use when starting the server securely
550
 
# (string value)
551
 
#key_file=<None>
 
521
[alarm]
 
522
 
 
523
#
 
524
# Options defined in ceilometer.alarm.notifier.rest
 
525
#
 
526
 
 
527
# SSL Client certificate for REST notifier (string value)
 
528
#rest_notifier_certificate_file=
 
529
 
 
530
# SSL Client private key for REST notifier (string value)
 
531
#rest_notifier_certificate_key=
 
532
 
 
533
# Verify the SSL Server certificate when
 
534
# calling alarm action (boolean value)
 
535
#rest_notifier_ssl_verify=true
 
536
 
 
537
 
 
538
#
 
539
# Options defined in ceilometer.alarm.rpc
 
540
#
 
541
 
 
542
# the topic ceilometer uses for alarm notifier messages
 
543
# (string value)
 
544
#notifier_rpc_topic=alarm_notifier
 
545
 
 
546
# the topic ceilometer uses for alarm partition coordination
 
547
# messages (string value)
 
548
#partition_rpc_topic=alarm_partition_coordination
 
549
 
 
550
 
 
551
#
 
552
# Options defined in ceilometer.alarm.service
 
553
#
 
554
 
 
555
# Period of evaluation cycle, should be >= than configured
 
556
# pipeline interval for collection of underlying metrics.
 
557
# (integer value)
 
558
# Deprecated group/name - [alarm]/threshold_evaluation_interval
 
559
#evaluation_interval=60
 
560
 
 
561
# Class to launch as alarm evaluation service (string value)
 
562
#evaluation_service=ceilometer.alarm.service.SingletonAlarmService
 
563
 
 
564
 
 
565
#
 
566
# Options defined in ceilometer.api.controllers.v2
 
567
#
 
568
 
 
569
# Record alarm change events (boolean value)
 
570
#record_history=true
 
571
 
 
572
 
 
573
[api]
 
574
 
 
575
#
 
576
# Options defined in ceilometer.api
 
577
#
 
578
 
 
579
# The port for the ceilometer API server (integer value)
 
580
# Deprecated group/name - [DEFAULT]/metering_api_port
 
581
#port=8777
 
582
 
 
583
# The listen IP for the ceilometer API server (string value)
 
584
#host=0.0.0.0
 
585
 
 
586
 
 
587
[collector]
 
588
 
 
589
#
 
590
# Options defined in ceilometer.collector
 
591
#
 
592
 
 
593
# address to bind the UDP socket todisabled if set to an empty
 
594
# string (string value)
 
595
#udp_address=0.0.0.0
 
596
 
 
597
# port to bind the UDP socket to (integer value)
 
598
#udp_port=4952
552
599
 
553
600
 
554
601
[database]
561
608
# Deprecated group/name - [DEFAULT]/db_backend
562
609
#backend=sqlalchemy
563
610
 
564
 
# Enable the experimental use of thread pooling for all DB API
565
 
# calls (boolean value)
566
 
# Deprecated group/name - [DEFAULT]/dbapi_use_tpool
567
 
#use_tpool=false
568
 
 
569
611
 
570
612
#
571
613
# Options defined in ceilometer.openstack.common.db.sqlalchemy.session
586
628
# value)
587
629
# Deprecated group/name - [DEFAULT]/sql_idle_timeout
588
630
# Deprecated group/name - [DATABASE]/sql_idle_timeout
 
631
# Deprecated group/name - [sql]/idle_timeout
589
632
#idle_timeout=3600
590
633
 
591
634
# Minimum number of SQL connections to keep open in a pool
643
686
#time_to_live=-1
644
687
 
645
688
 
 
689
[dispatcher_file]
 
690
 
 
691
#
 
692
# Options defined in ceilometer.dispatcher.file
 
693
#
 
694
 
 
695
# Name and the location of the file to record meters. (string
 
696
# value)
 
697
#file_path=<None>
 
698
 
 
699
# The max size of the file (integer value)
 
700
#max_bytes=0
 
701
 
 
702
# The max number of the files to keep (integer value)
 
703
#backup_count=0
 
704
 
 
705
 
 
706
[event]
 
707
 
 
708
#
 
709
# Options defined in ceilometer.event.converter
 
710
#
 
711
 
 
712
# Configuration file for event definitions (string value)
 
713
#definitions_cfg_file=event_definitions.yaml
 
714
 
 
715
# Drop notifications if no event definition matches.
 
716
# (Otherwise, we convert them with just the default traits)
 
717
# (boolean value)
 
718
#drop_unmatched_notifications=false
 
719
 
 
720
 
 
721
[keystone_authtoken]
 
722
 
 
723
#
 
724
# Options defined in keystoneclient.middleware.auth_token
 
725
#
 
726
 
 
727
# Prefix to prepend at the beginning of the path (string
 
728
# value)
 
729
#auth_admin_prefix=
 
730
 
 
731
# Host providing the admin Identity API endpoint (string
 
732
# value)
 
733
#auth_host=127.0.0.1
 
734
 
 
735
# Port of the admin Identity API endpoint (integer value)
 
736
#auth_port=35357
 
737
 
 
738
# Protocol of the admin Identity API endpoint(http or https)
 
739
# (string value)
 
740
#auth_protocol=https
 
741
 
 
742
# Complete public Identity API endpoint (string value)
 
743
#auth_uri=<None>
 
744
 
 
745
# API version of the admin Identity API endpoint (string
 
746
# value)
 
747
#auth_version=<None>
 
748
 
 
749
# Do not handle authorization requests within the middleware,
 
750
# but delegate the authorization decision to downstream WSGI
 
751
# components (boolean value)
 
752
#delay_auth_decision=false
 
753
 
 
754
# Request timeout value for communicating with Identity API
 
755
# server. (boolean value)
 
756
#http_connect_timeout=<None>
 
757
 
 
758
# How many times are we trying to reconnect when communicating
 
759
# with Identity API Server. (integer value)
 
760
#http_request_max_retries=3
 
761
 
 
762
# Allows to pass in the name of a fake http_handler callback
 
763
# function used instead of httplib.HTTPConnection or
 
764
# httplib.HTTPSConnection. Useful for unit testing where
 
765
# network is not available. (string value)
 
766
#http_handler=<None>
 
767
 
 
768
# Single shared secret with the Keystone configuration used
 
769
# for bootstrapping a Keystone installation, or otherwise
 
770
# bypassing the normal authentication process. (string value)
 
771
#admin_token=<None>
 
772
 
 
773
# Keystone account username (string value)
 
774
#admin_user=<None>
 
775
 
 
776
# Keystone account password (string value)
 
777
#admin_password=<None>
 
778
 
 
779
# Keystone service account tenant name to validate user tokens
 
780
# (string value)
 
781
#admin_tenant_name=admin
 
782
 
 
783
# Env key for the swift cache (string value)
 
784
#cache=<None>
 
785
 
 
786
# Required if Keystone server requires client certificate
 
787
# (string value)
 
788
#certfile=<None>
 
789
 
 
790
# Required if Keystone server requires client certificate
 
791
# (string value)
 
792
#keyfile=<None>
 
793
 
 
794
# A PEM encoded Certificate Authority to use when verifying
 
795
# HTTPs connections. Defaults to system CAs. (string value)
 
796
#cafile=<None>
 
797
 
 
798
# Verify HTTPS connections. (boolean value)
 
799
#insecure=false
 
800
 
 
801
# Directory used to cache files related to PKI tokens (string
 
802
# value)
 
803
#signing_dir=<None>
 
804
 
 
805
# If defined, the memcache server(s) to use for caching (list
 
806
# value)
 
807
# Deprecated group/name - [DEFAULT]/memcache_servers
 
808
#memcached_servers=<None>
 
809
 
 
810
# In order to prevent excessive requests and validations, the
 
811
# middleware uses an in-memory cache for the tokens the
 
812
# Keystone API returns. This is only valid if memcache_servers
 
813
# is defined. Set to -1 to disable caching completely.
 
814
# (integer value)
 
815
#token_cache_time=300
 
816
 
 
817
# Value only used for unit testing (integer value)
 
818
#revocation_cache_time=1
 
819
 
 
820
# (optional) if defined, indicate whether token data should be
 
821
# authenticated or authenticated and encrypted. Acceptable
 
822
# values are MAC or ENCRYPT.  If MAC, token data is
 
823
# authenticated (with HMAC) in the cache. If ENCRYPT, token
 
824
# data is encrypted and authenticated in the cache. If the
 
825
# value is not one of these options or empty, auth_token will
 
826
# raise an exception on initialization. (string value)
 
827
#memcache_security_strategy=<None>
 
828
 
 
829
# (optional, mandatory if memcache_security_strategy is
 
830
# defined) this string is used for key derivation. (string
 
831
# value)
 
832
#memcache_secret_key=<None>
 
833
 
 
834
# (optional) indicate whether to set the X-Service-Catalog
 
835
# header. If False, middleware will not ask for service
 
836
# catalog on token validation and will not set the X-Service-
 
837
# Catalog header. (boolean value)
 
838
#include_service_catalog=true
 
839
 
 
840
 
 
841
[matchmaker_redis]
 
842
 
 
843
#
 
844
# Options defined in ceilometer.openstack.common.rpc.matchmaker_redis
 
845
#
 
846
 
 
847
# Host to locate redis (string value)
 
848
#host=127.0.0.1
 
849
 
 
850
# Use this port to connect to redis host. (integer value)
 
851
#port=6379
 
852
 
 
853
# Password for Redis server. (optional) (string value)
 
854
#password=<None>
 
855
 
 
856
 
 
857
[matchmaker_ring]
 
858
 
 
859
#
 
860
# Options defined in ceilometer.openstack.common.rpc.matchmaker_ring
 
861
#
 
862
 
 
863
# Matchmaker ring file (JSON) (string value)
 
864
# Deprecated group/name - [DEFAULT]/matchmaker_ringfile
 
865
#ringfile=/etc/oslo/matchmaker_ring.json
 
866
 
 
867
 
646
868
[notification]
647
869
 
648
870
#
657
879
#store_events=false
658
880
 
659
881
 
660
 
[alarm]
661
 
 
662
 
#
663
 
# Options defined in ceilometer.alarm.notifier.rest
664
 
#
665
 
 
666
 
# SSL Client certificate for REST notifier (string value)
667
 
#rest_notifier_certificate_file=
668
 
 
669
 
# SSL Client private key for REST notifier (string value)
670
 
#rest_notifier_certificate_key=
671
 
 
672
 
# Verify the SSL Server certificate when
673
 
# calling alarm action (boolean value)
674
 
#rest_notifier_ssl_verify=true
675
 
 
676
 
 
677
 
#
678
 
# Options defined in ceilometer.alarm.rpc
679
 
#
680
 
 
681
 
# the topic ceilometer uses for alarm notifier messages
682
 
# (string value)
683
 
#notifier_rpc_topic=alarm_notifier
684
 
 
685
 
# the topic ceilometer uses for alarm partition coordination
686
 
# messages (string value)
687
 
#partition_rpc_topic=alarm_partition_coordination
688
 
 
689
 
 
690
 
#
691
 
# Options defined in ceilometer.alarm.service
692
 
#
693
 
 
694
 
# Period of evaluation cycle, should be >= than configured
695
 
# pipeline interval for collection of underlying metrics.
696
 
# (integer value)
697
 
# Deprecated group/name - [alarm]/threshold_evaluation_interval
698
 
#evaluation_interval=60
699
 
 
700
 
# Class to launch as alarm evaluation service (string value)
701
 
#evaluation_service=ceilometer.alarm.service.SingletonAlarmService
702
 
 
703
 
 
704
 
#
705
 
# Options defined in ceilometer.api.controllers.v2
706
 
#
707
 
 
708
 
# Record alarm change events (boolean value)
709
 
#record_history=true
 
882
[publisher]
 
883
 
 
884
#
 
885
# Options defined in ceilometer.publisher.utils
 
886
#
 
887
 
 
888
# Secret value for signing metering messages (string value)
 
889
# Deprecated group/name - [DEFAULT]/metering_secret
 
890
# Deprecated group/name - [publisher_rpc]/metering_secret
 
891
#metering_secret=change this or be hacked
 
892
 
 
893
 
 
894
[publisher_rpc]
 
895
 
 
896
#
 
897
# Options defined in ceilometer.publisher.rpc
 
898
#
 
899
 
 
900
# the topic ceilometer uses for metering messages (string
 
901
# value)
 
902
#metering_topic=metering
710
903
 
711
904
 
712
905
[rpc_notifier2]
719
912
#topics=notifications
720
913
 
721
914
 
722
 
[api]
723
 
 
724
 
#
725
 
# Options defined in ceilometer.api
726
 
#
727
 
 
728
 
# The port for the ceilometer API server (integer value)
729
 
# Deprecated group/name - [DEFAULT]/metering_api_port
730
 
#port=8777
731
 
 
732
 
# The listen IP for the ceilometer API server (string value)
733
 
#host=0.0.0.0
734
 
 
735
 
 
736
915
[service_credentials]
737
916
 
738
917
#
772
951
#insecure=false
773
952
 
774
953
 
775
 
[dispatcher_file]
776
 
 
777
 
#
778
 
# Options defined in ceilometer.dispatcher.file
779
 
#
780
 
 
781
 
# Name and the location of the file to record meters. (string
782
 
# value)
783
 
#file_path=<None>
784
 
 
785
 
# The max size of the file (integer value)
786
 
#max_bytes=0
787
 
 
788
 
# The max number of the files to keep (integer value)
789
 
#backup_count=0
790
 
 
791
 
 
792
 
[collector]
793
 
 
794
 
#
795
 
# Options defined in ceilometer.collector
796
 
#
797
 
 
798
 
# address to bind the UDP socket todisabled if set to an empty
799
 
# string (string value)
800
 
#udp_address=0.0.0.0
801
 
 
802
 
# port to bind the UDP socket to (integer value)
803
 
#udp_port=4952
804
 
 
805
 
 
806
 
[matchmaker_ring]
807
 
 
808
 
#
809
 
# Options defined in ceilometer.openstack.common.rpc.matchmaker_ring
810
 
#
811
 
 
812
 
# Matchmaker ring file (JSON) (string value)
813
 
# Deprecated group/name - [DEFAULT]/matchmaker_ringfile
814
 
#ringfile=/etc/oslo/matchmaker_ring.json
815
 
 
816
 
 
817
 
[matchmaker_redis]
818
 
 
819
 
#
820
 
# Options defined in ceilometer.openstack.common.rpc.matchmaker_redis
821
 
#
822
 
 
823
 
# Host to locate redis (string value)
824
 
#host=127.0.0.1
825
 
 
826
 
# Use this port to connect to redis host. (integer value)
827
 
#port=6379
828
 
 
829
 
# Password for Redis server. (optional) (string value)
830
 
#password=<None>
 
954
[ssl]
 
955
 
 
956
#
 
957
# Options defined in ceilometer.openstack.common.sslutils
 
958
#
 
959
 
 
960
# CA certificate file to use to verify connecting clients
 
961
# (string value)
 
962
#ca_file=<None>
 
963
 
 
964
# Certificate file to use when starting the server securely
 
965
# (string value)
 
966
#cert_file=<None>
 
967
 
 
968
# Private key file to use when starting the server securely
 
969
# (string value)
 
970
#key_file=<None>
831
971
 
832
972