siremis:install40x:charts

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
siremis:install40x:charts [2013/05/08 22:00]
127.0.0.1 external edit
siremis:install40x:charts [2013/06/05 00:09]
admin [Kamailio Config]
Line 34: Line 34:
  
 modparam("​sqlops","​sqlcon",​ modparam("​sqlops","​sqlcon",​
-         "​ca=>​mysql://​openser:openserrw@localhost/openser")+         "​ca=>​mysql://​kamailio:kamailiorw@localhost/kamailio")
  
-modparam("​htable",​ "​htable",​ "a=>​size=6;"​)+modparam("​htable",​ "​htable",​ "stats=>​size=6;"​)
  
 ... ...
Line 65: Line 65:
  $var(2xx_trans_diff) = $stat(2xx_transactions);​  $var(2xx_trans_diff) = $stat(2xx_transactions);​
  } else {  } else {
- $var(rcv_req_diff) = $stat(rcv_requests) - $sht(a=>​last_rcv_req);​ + $var(rcv_req_diff) = $stat(rcv_requests) - $sht(stats=>​last_rcv_req);​ 
- $var(fwd_req_diff) = $stat(fwd_requests) - $sht(a=>​last_fwd_req);​+ $var(fwd_req_diff) = $stat(fwd_requests) - $sht(stats=>​last_fwd_req);​
  $var(2xx_trans_diff) = $stat(2xx_transactions) ​  $var(2xx_trans_diff) = $stat(2xx_transactions) ​
- - $sht(a=>​last_2xx_trans);​+ - $sht(stats=>​last_2xx_trans);​
  }  }
  # update the values for stats stored in cache (htable)  # update the values for stats stored in cache (htable)
- $sht(a=>​last_rcv_req) = $stat(rcv_requests);​ + $sht(stats=>​last_rcv_req) = $stat(rcv_requests);​ 
- $sht(a=>​last_fwd_req) = $stat(fwd_requests);​ + $sht(stats=>​last_fwd_req) = $stat(fwd_requests);​ 
- $sht(a=>​last_2xx_trans) = $stat(2xx_transactions);​+ $sht(stats=>​last_2xx_trans) = $stat(2xx_transactions);​
  
  # insert values for stats computed in config  # insert values for stats computed in config


Copyright 2010-2019 Asipto.com