<font size=2 face="sans-serif">HI ALL,</font>
<br><font size=2 face="sans-serif">   I setup a openstack env
by devstack and create a alarm by aodh</font>
<br><font size=2 face="sans-serif">   and give a URL to the alarm's
<alarm_action>. but when the alarm</font>
<br><font size=2 face="sans-serif">   is evaluated and its state
is transited from "insufficient data"</font>
<br><font size=2 face="sans-serif">   to "alarm". I
can not receive any message for the notification. </font>
<br>
<br><font size=2 face="sans-serif">stack@zte:~$ aodh alarm update --alarm-action</font>
<br><font size=2 face="sans-serif"> </font><a href=http://192.168.122.165:8080/alarm/image><font size=2 face="sans-serif">http://192.168.122.165:8080/alarm/image</font></a><font size=2 face="sans-serif">
bd9e6d09-d13f-4d0f-a55e-a8602267cb01</font>
<br><font size=2 face="sans-serif">+---------------------------+------------------------------------------------------+</font>
<br><font size=2 face="sans-serif">| Field        
            | Value      
                     
                   |</font>
<br><font size=2 face="sans-serif">+---------------------------+------------------------------------------------------+</font>
<br><font size=2 face="sans-serif">| alarm_actions      
      | [u'http://192.168.122.165:8080/alarm/image']  
      |</font>
<br><font size=2 face="sans-serif">| alarm_id        
         | bd9e6d09-d13f-4d0f-a55e-a8602267cb01
                |</font>
<br><font size=2 face="sans-serif">| comparison_operator    
  | ge                  
                     
          |</font>
<br><font size=2 face="sans-serif">| description        
      | Alarm when image.size is eq a avg of 60.0 over 60
   |</font>
<br><font size=2 face="sans-serif">|          
                | seconds  
                     
                     |</font>
<br><font size=2 face="sans-serif">| enabled        
          | True          
                     
                |</font>
<br><font size=2 face="sans-serif">| evaluation_periods      
 | 1                  
                     
           |</font>
<br><font size=2 face="sans-serif">| exclude_outliers      
   | False                
                     
         |</font>
<br><font size=2 face="sans-serif">| insufficient_data_actions | []  
      |</font>
<br><font size=2 face="sans-serif">| meter_name        
       | image.size          
                     
          |</font>
<br><font size=2 face="sans-serif">| name          
           | thres-001      
                     
               |</font>
<br><font size=2 face="sans-serif">| ok_actions        
       | [u'log:///opt/stack/logs/aodh-notifier.log']
        |</font>
<br><font size=2 face="sans-serif">| period        
           | 30        
                     
                    |</font>
<br><font size=2 face="sans-serif">| project_id        
       | 52ec6af5bd0a47ba9fa675c88967758a    
                |</font>
<br><font size=2 face="sans-serif">| query        
            | []        
                     
                    |</font>
<br><font size=2 face="sans-serif">| repeat_actions      
     | False              
                     
           |</font>
<br><font size=2 face="sans-serif">| severity        
         | low          
                     
                 |</font>
<br><font size=2 face="sans-serif">| state        
            | insufficient data    
                     
         |</font>
<br><font size=2 face="sans-serif">| state_timestamp      
    | 2016-05-29T06:50:25.232939        
                  |</font>
<br><font size=2 face="sans-serif">| statistic        
        | max            
                     
               |</font>
<br><font size=2 face="sans-serif">| threshold        
        | 5000000.0          
                     
           |</font>
<br><font size=2 face="sans-serif">| time_constraints      
   | []                
                     
            |</font>
<br><font size=2 face="sans-serif">| timestamp        
        | 2016-05-31T07:15:26.962639    
                     
|</font>
<br><font size=2 face="sans-serif">| type          
           | threshold      
                     
               |</font>
<br><font size=2 face="sans-serif">| user_id        
          | b7bfac62328445979e435e9d9946722b  
                  |</font>
<br><font size=2 face="sans-serif">+---------------------------+------------------------------------------------------+</font>
<br>
<br>
<br><font size=2 face="sans-serif">a sippet in aodh-evaluator.log:</font>
<br><font size=2 face="sans-serif">-------------------------------------------------------------------------------------------</font>
<br><font size=2 face="sans-serif">2016-05-31 03:24:25.545 7887 DEBUG aodh.evaluator
[-] evaluating alarm bd9e6d09-d13f-4d0f-a55e-a8602267cb01 _evaluate_alarm
/opt/stack/aodh/aodh/evaluator/__init__.py:220</font>
<br><font size=2 face="sans-serif">2016-05-31 03:24:25.546 7887 DEBUG aodh.evaluator.threshold
[-] query stats from 2016-05-31 07:23:25.546035 to 2016-05-31 07:24:25.546035
_bound_duration /opt/stack/aodh/aodh/evaluator/threshold.py:79</font>
<br><font size=2 face="sans-serif">2016-05-31 03:24:25.546 7887 DEBUG aodh.evaluator.threshold
[-] stats query [{'field': 'timestamp', 'value': '2016-05-31T07:24:25.546035',
'op': 'le'}, {'field': 'timestamp', 'value': '2016-05-31T07:23:25.546035',
'op': 'ge'}] _statistics /opt/stack/aodh/aodh/evaluator/threshold.py:114</font>
<br><font size=2 face="sans-serif">2016-05-31 03:24:25.896 7887 DEBUG aodh.evaluator.threshold
[-] sanitize stats [<Statistics {u'count': 3, u'duration_start': u'2016-05-31T07:23:30.862221',
u'min': 3740163.0, u'max': 25165824.0, u'duration_end': u'2016-05-31T07:23:30.865100',
u'period': 30, u'groupby': None, u'period_end': u'2016-05-31T07:23:55.546035',
u'duration': 0.002879, u'period_start': u'2016-05-31T07:23:25.546035',
u'avg': 11295206.333333334, u'sum': 33885619.0, u'unit': u'B'}>] _sanitize
/opt/stack/aodh/aodh/evaluator/threshold.py:85</font>
<br><font size=2 face="sans-serif">2016-05-31 03:24:25.897 7887 DEBUG aodh.evaluator.threshold
[-] pruned statistics to 1 _sanitize /opt/stack/aodh/aodh/evaluator/threshold.py:105</font>
<br><font size=2 face="sans-serif">2016-05-31 03:24:25.898 7887 DEBUG aodh.evaluator.threshold
[-] comparing value 25165824.0 against threshold 5000000.0 _compare /opt/stack/aodh/aodh/evaluator/threshold.py:165</font>
<br><font size=2 face="sans-serif">---------------------------------------------------------------------------------------------------</font>
<br>
<br>
<br>
<br><font size=2 face="sans-serif">stack@zte:~$ aodh alarm show bd9e6d09-d13f-4d0f-a55e-a8602267cb01</font>
<br><font size=2 face="sans-serif">+---------------------------+------------------------------------------------------+</font>
<br><font size=2 face="sans-serif">| Field        
            | Value      
                     
                   |</font>
<br><font size=2 face="sans-serif">+---------------------------+------------------------------------------------------+</font>
<br><font size=2 face="sans-serif">| alarm_actions      
      | [u'http://192.168.122.165:8080/alarm/image']  
      |</font>
<br><font size=2 face="sans-serif">| alarm_id        
         | bd9e6d09-d13f-4d0f-a55e-a8602267cb01
                |</font>
<br><font size=2 face="sans-serif">| comparison_operator    
  | ge                  
                     
          |</font>
<br><font size=2 face="sans-serif">| description        
      | Alarm when image.size is eq a avg of 60.0 over 60
   |</font>
<br><font size=2 face="sans-serif">|          
                | seconds  
                     
                     |</font>
<br><font size=2 face="sans-serif">| enabled        
          | True          
                     
                |</font>
<br><font size=2 face="sans-serif">| evaluation_periods      
 | 1                  
                     
           |</font>
<br><font size=2 face="sans-serif">| exclude_outliers      
   | False                
                     
         |</font>
<br><font size=2 face="sans-serif">| insufficient_data_actions | []  
      |</font>
<br><font size=2 face="sans-serif">| meter_name        
       | image.size          
                     
          |</font>
<br><font size=2 face="sans-serif">| name          
           | thres-001      
                     
               |</font>
<br><font size=2 face="sans-serif">| ok_actions        
       | [u'log:///opt/stack/logs/aodh-notifier.log']
        |</font>
<br><font size=2 face="sans-serif">| period        
           | 30        
                     
                    |</font>
<br><font size=2 face="sans-serif">| project_id        
       | 52ec6af5bd0a47ba9fa675c88967758a    
                |</font>
<br><font size=2 face="sans-serif">| query        
            | []        
                     
                    |</font>
<br><font size=2 face="sans-serif">| repeat_actions      
     | False              
                     
           |</font>
<br><font size=2 face="sans-serif">| severity        
         | low          
                     
                 |</font>
<br><font size=2 face="sans-serif">| state        
            | <b>alarm</b>    
                     
         |</font>
<br><font size=2 face="sans-serif">| state_timestamp      
    | 2016-05-29T06:50:25.232939        
                  |</font>
<br><font size=2 face="sans-serif">| statistic        
        | max            
                     
               |</font>
<br><font size=2 face="sans-serif">| threshold        
        | 5000000.0          
                     
           |</font>
<br><font size=2 face="sans-serif">| time_constraints      
   | []                
                     
            |</font>
<br><font size=2 face="sans-serif">| timestamp        
        | 2016-05-31T07:15:26.962639    
                     
|</font>
<br><font size=2 face="sans-serif">| type          
           | threshold      
                     
               |</font>
<br><font size=2 face="sans-serif">| user_id        
          | b7bfac62328445979e435e9d9946722b  
                  |</font>
<br><font size=2 face="sans-serif">+---------------------------+------------------------------------------------------+</font>
<br>
<br><font size=2 face="sans-serif">192.168.122.165 is my server host ip.</font>
<br>
<br><font size=2 face="sans-serif">In the URL: </font><a href=http://192.168.122.165:8080/alarm/image><font size=2 face="sans-serif">http://192.168.122.165:8080/alarm/image</font></a><font size=2 face="sans-serif">,
I receive no info.</font>
<br><font size=2 face="sans-serif">Does something wrong with the URL? Or,
need I add some other config in the</font>
<br><font size=2 face="sans-serif">config file?</font>
<br>
<br><font size=2 face="sans-serif">Rajen</font>
<br>

<br><pre><font color="blue">
--------------------------------------------------------
ZTE Information Security Notice: The information contained in this mail (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s).  If you are not an intended recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained is strictly prohibited.  If you have received this mail in error, please delete it and notify us immediately.

</font></pre><br>