Add items to collectd "hack"

This commit is contained in:
Monocots 2024-04-05 02:51:37 +00:00
parent 4ed953e246
commit 7a86692e89

View file

@ -91,14 +91,14 @@ once() {
done done
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-* rm -rf $item-*
for bts in "${!BTS[@]}" ; do for bts in "${!BTS[@]}" ; do
category_bts_g $item $bts category_bts_g $item $bts
done done
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 for bts in "${!BTS[@]}" ; do
@ -152,11 +152,12 @@ once() {
ln -s $f MS-`echo $f | awk -F'.' '{print $6"."$7}'`.rrd ln -s $f MS-`echo $f | awk -F'.' '{print $6"."$7}'`.rrd
done done
cd .. cd ..
done 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 chreq-total.rrd -type l -delete
find -name cm_serv_rej-rrd.rrd -type l -delete find -name cm_serv_rej-rrd.rrd -type l -delete
} }