From b829eac9bc6c6dddcc0814d85ac560c6c48c36e1 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 12 Apr 2010 10:45:52 +0200 Subject: [statistics] Keep track of OML/RSL failures of the BTS. --- openbsc/src/vty_interface_cmds.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'openbsc/src/vty_interface_cmds.c') diff --git a/openbsc/src/vty_interface_cmds.c b/openbsc/src/vty_interface_cmds.c index 8ade51851..671351e1c 100644 --- a/openbsc/src/vty_interface_cmds.c +++ b/openbsc/src/vty_interface_cmds.c @@ -240,6 +240,9 @@ void openbsc_vty_print_statistics(struct vty *vty, struct gsm_network *net) counter_get(net->stats.paging.attempted), counter_get(net->stats.paging.completed), counter_get(net->stats.paging.expired), VTY_NEWLINE); + vty_out(vty, "BTS failures : %lu OML, %lu RSL%s", + counter_get(net->stats.bts.oml_fail), + counter_get(net->stats.bts.rsl_fail), VTY_NEWLINE); } void openbsc_vty_add_cmds() -- cgit v1.2.3