diff --git a/modules/rhizo_base/files/collectd-hack b/modules/rhizo_base/files/collectd-hack index e318947..0cac96e 100644 --- a/modules/rhizo_base/files/collectd-hack +++ b/modules/rhizo_base/files/collectd-hack @@ -91,14 +91,14 @@ once() { done done - for item in oml_connected chanloadavg chan_ccch_sdcch4 chan_sdcch8 chan_tch_h chan_osmo_dyn lchan_borken; do + for item in oml_connected chanloadavg chan_ccch_sdcch4 chan_sdcch8 chan_tch_h chan_tch_f chan_osmo_dyn lchan_borken; do rm -rf $item-* for bts in "${!BTS[@]}" ; do category_bts_g $item $bts done done - rm -rf BTS_uptime-* EGPRS_* BYTES-* PCU_RACH-* PDCH-* MS_PRESENT-* + rm -rf BTS_uptime-* EGPRS_* BYTES-* PCU_RACH-* PDCH-* MS_PRESENT-* SUBS-VLR for bts in "${!BTS[@]}" ; do @@ -152,11 +152,12 @@ once() { ln -s $f MS-`echo $f | awk -F'.' '{print $6"."$7}'`.rrd done cd .. - - - done + mkdir SUBS-VLR || exit + cd SUBS-VLR + ln -s ../statsd/gauge-vlr.0.subscribers.rrd Connected-Count.rrd + find -name chreq-total.rrd -type l -delete find -name cm_serv_rej-rrd.rrd -type l -delete }