Re: [openstack-dev] Ceilometer event-list empty

2017-02-17 Thread Sam Huracan
Hi Gordon,

I've solved this issue.

I've checked event.sample queue and it has no information.
My publishers config of event_pipeline.yaml: - notifier://?topic=alarm.all,
therefore event information are poured only into alarm queue, instead of
event queue.

After I add - notifier:// and - notifier://?topic=event to config, all
things operate accurately as they must to do. :)

Thank you



2017-02-16 19:46 GMT+07:00 gordon chung :

>
>
> On 15/02/17 09:27 PM, Sam Huracan wrote:
> >
> > I check mongodb has event collection, but it is empty
> > http://prntscr.com/e9b96w
> >
> > I do not see any error in Ceilometer log.
> >
> > Could you check my
> > ceilometer.conf? http://paste.openstack.org/show/598925/
> > 
>
> you'll need to debug your system. you can probably start by checking if
> you have anything in your event.sample queue (try disabling your
> collector for a bit). if you get nothing there, it has something to do
> with notification agent not generating events or publishing events
> (check your event_pipeline.yaml)
>
> i should mention you don't need a collector in Ocata+
>
> cheers,
>
> --
> gord
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] Ceilometer event-list empty

2017-02-16 Thread gordon chung


On 15/02/17 09:27 PM, Sam Huracan wrote:
>
> I check mongodb has event collection, but it is empty
> http://prntscr.com/e9b96w
>
> I do not see any error in Ceilometer log.
>
> Could you check my
> ceilometer.conf? http://paste.openstack.org/show/598925/
> 

you'll need to debug your system. you can probably start by checking if 
you have anything in your event.sample queue (try disabling your 
collector for a bit). if you get nothing there, it has something to do 
with notification agent not generating events or publishing events 
(check your event_pipeline.yaml)

i should mention you don't need a collector in Ocata+

cheers,

-- 
gord

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] Ceilometer event-list empty

2017-02-15 Thread Sam Huracan
Hi Gordon,

I check mongodb has event collection, but it is empty
http://prntscr.com/e9b96w

I do not see any error in Ceilometer log.

Could you check my ceilometer.conf? http://paste.openstack.org/show/598925/




2017-02-16 2:09 GMT+07:00 gordon chung :

>
>
> On 15/02/17 12:06 AM, Sam Huracan wrote:
> > Hi,
> >
> > I'm unable to show event-list of ceilometer, meanwhile meter-list has
> > data. Ceilometer log does not any "ERROR".
> >
> > My ceilometer.conf: http://paste.openstack.org/show/598925/
> > My ceilometer version: http://prntscr.com/e8wob6
> >
> > I'm using OpenStack Mitaka.
> > But, with another system installing Gnocchi dispatcher, I can show
> > event-list.
>
> just to clarify, ceilometer event-list works if you have gnocchi enabled
> but doesn't work if you have everything pushing to mongodb?
>
> i would check mongodb and check your event collection to see if you have
> any data.
>
> if you don't, i would check to see if you have any errors in collector
> or notification agent
>
> if you do, it's probably something related to your policy. only events
> related to a user are returned or if the user is admin, it will return
> all events related to the project.
>
> --
> gord
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] Ceilometer event-list empty

2017-02-15 Thread gordon chung


On 15/02/17 12:06 AM, Sam Huracan wrote:
> Hi,
>
> I'm unable to show event-list of ceilometer, meanwhile meter-list has
> data. Ceilometer log does not any "ERROR".
>
> My ceilometer.conf: http://paste.openstack.org/show/598925/
> My ceilometer version: http://prntscr.com/e8wob6
>
> I'm using OpenStack Mitaka.
> But, with another system installing Gnocchi dispatcher, I can show
> event-list.

just to clarify, ceilometer event-list works if you have gnocchi enabled 
but doesn't work if you have everything pushing to mongodb?

i would check mongodb and check your event collection to see if you have 
any data.

if you don't, i would check to see if you have any errors in collector 
or notification agent

if you do, it's probably something related to your policy. only events 
related to a user are returned or if the user is admin, it will return 
all events related to the project.

-- 
gord

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev