Also try selecting for CPU<95% and apply no load; this will tell you 
whether the problem is about getting any data/evaluations/notifications at 
all or something else.

Regards,
Mike



From:   Bill Arnold/Watson/IBM@IBMUS
To:     <openstack@lists.openstack.org>, 
Date:   03/18/2014 12:17 PM
Subject:        Re: [Openstack] Ceilometer:  alarm not generating



Do you mean to use the cpu meter not cpu_util? 
Also, there is no filtering so the statistics query done by the alarm 
evaluator would return information for all vms.
Try (roughly)
ceilometer statistics -m cpu --period 60

-Bill Arnold
---03/18/2014 03:24:34 AM---Hello All, I have configured Havana set up on 
Ubuntu 12.04 with Ceilometer.

From: <m.channappa.nega...@accenture.com>
To: <openstack@lists.openstack.org>, 
Date: 03/18/2014 03:24 AM
Subject: [Openstack] Ceilometer:  alarm not generating



Hello All, 
I have configured Havana set up on Ubuntu 12.04 with Ceilometer.
 
Ceilometer is not producing any alarm even though condition is met , Below 
is the detail
 
root@controller:/var/log/ceilometer# ceilometer alarm-threshold-create 
--name cpuutlization --project-id 536518d5b38d4f3e9dcab26403d4d6e8 
--user-id admin --description Threshholdvalue --state alarm --enabled True 
--alarm-action 'log://' --meter-name cpu --period 60 --evaluation-periods 
1  --statistic avg --comparison-operator 'gt' --threshold 30 
--repeat-actions True
+---------------------------+------------------------------------------------------------------+
| Property                  | Value                     |
+---------------------------+------------------------------------------------------------------+
| alarm_actions             | [u'log://']                     |
| user_id                   | admin                     |
| name                      | cpuutlization                     |
| enabled                   | True                     |
| rule                      | {u'meter_name': u'cpu', 
u'evaluation_periods': 1, u'period': 60, |
|                           | u'statistic': u'avg', u'threshold': 30.0, 
u'query': [],          |
|                           | u'comparison_operator': u'gt'}        |
| alarm_id                  | eb56440e-2510-4be3-80b6-dfbd7262cfb2    |
| state                     | alarm                     |
| insufficient_data_actions | []                     |
| repeat_actions            | True                     |
| ok_actions                | []                     |
| project_id                | 536518d5b38d4f3e9dcab26403d4d6e8          |
| type                      | threshold                     |
| description               | Threshholdvalue                     |
+---------------------------+------------------------------------------------------------------+
 
I launched my stack and using stress command I increased cpu load , 
according to above condition once my condition met there should be some 
logs in my  ceilometer-alarm-evaluator.log ceilometer-alarm-notifier.log 
…but nothing is there in my log ..
 
Is there any addition configurations need to be done ..?
 
Regards,
Malleshi C N 


This message is for the designated recipient only and may contain 
privileged, proprietary, or otherwise confidential information. If you 
have received it in error, please notify the sender immediately and delete 
the original. Any other use of the e-mail by you is prohibited. Where 
allowed by local law, electronic communications with Accenture and its 
affiliates, including e-mail and instant messaging (including content), 
may be scanned by our systems for the purposes of information security and 
assessment of internal compliance with Accenture policy. 
______________________________________________________________________________________

www.accenture.com_______________________________________________
Mailing list: 
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : 
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
_______________________________________________
Mailing list: 
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : 
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


<<image/gif>>

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to