[Ceilometer] neither gnocchi nor file publisher receive any data or metric

Mostafa Salari msgm68 at gmail.com
Mon Sep 18 12:27:16 UTC 2023


Hi. how can i find a simple, correct, ceilometer configuration for "yoga"
version of openstack?
1) I followed this instruction guide
<https://docs.openstack.org/ceilometer/latest/install/> step by step!
2) I installed devstack with enabled ceilometer (and gnocchi as backend)
but after both tries mentioned above, i did not see any metric.
I also changed the publisher from gnocchi:// into file:// but the result
did not change.

cat /etc/ceilometer/ceilometer.conf:
[DEFAULT]
transport_url = rabbit://stackrabbit:bsvbr5pzLpN0szN84v3m@127.0.0.1:5672/
use_syslog = True

[oslo_messaging_notifications]
topics = notifications
driver = messagingv2

[coordination]
backend_url = redis://localhost:6379

[notification]
workers = 4

[cache]
backend_argument = url:redis://localhost:6379
backend_argument = distributed_lock:True
backend_argument = db:0
backend_argument = redis_expiration_time:600
backend = dogpile.cache.redis
enabled = True

[service_credentials]
auth_url = http://127.0.0.1/identity
region_name = RegionOne
password = bsvbr5pzLpN0szN84v3m
username = ceilometer
project_name = service
project_domain_id = default
user_domain_id = default
auth_type = password

[keystone_authtoken]
memcached_servers = localhost:11211
cafile = /opt/stack/data/ca-bundle.pem
project_domain_name = Default
project_name = service
user_domain_name = Default
password = bsvbr5pzLpN0szN84v3m
username = ceilometer
auth_url = http://127.0.0.1/identity
interface = public
auth_type = password


_________________________________________
cat /etc/ceilometer/pipeline.yaml:
---
sources:
    - name: meter_source
      meters:
          - "*"
      sinks:
          - meter_sink
sinks:
    - name: meter_sink
      publishers:
          - file:///tmp/ceilofile?json
#          - gnocchi://?archive_policy=low&filter_project=service

____________________________
cat /etc/ceilometer/polling.yaml
---
sources:
    - name: all_pollsters
      interval: 300
      meters:
        - "*"

_____________________________
root at os-aio:/# cat /etc/gnocchi/gnocchi.conf

[DEFAULT]
debug = True
coordination_url = redis://localhost:6379

[indexer]
url = mysql+pymysql://
root:bsvbr5pzLpN0szN84v3m at 127.0.0.1/gnocchi?charset=utf8

[storage]
redis_url = redis://localhost:6379
driver = redis

[metricd]
metric_processing_delay = 5

[api]
auth_mode = keystone

[keystone_authtoken]
memcached_servers = localhost:11211
cafile = /opt/stack/data/ca-bundle.pem
project_domain_name = Default
project_name = service
user_domain_name = Default
password = bsvbr5pzLpN0szN84v3m
username = gnocchi
auth_url = http://127.0.0.1/identity
interface = public
auth_type = password
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.openstack.org/pipermail/openstack-discuss/attachments/20230918/48926e0e/attachment.htm>


More information about the openstack-discuss mailing list