[App_rpt-users] app_rpt statistics

Doug Crompton doug at crompton.com
Sun Jan 12 05:20:11 UTC 2014


Bob,

 Not exactly sure what your wanting but the following at the linux command prompt will save the stats to a file -

asterisk -rx "rpt stats 27225" > 27225stats

cat 27225stats

************************ NODE 27225 STATISTICS *************************

Selected system state............................: 0
Signal on input..................................: NO
System...........................................: ENABLED
Parrot Mode......................................: DISABLED
Scheduler........................................: ENABLED
Tail Time........................................: STANDARD
Time out timer...................................: ENABLED
Incoming connections.............................: ENABLED
Time out timer state.............................: RESET
Time outs since system initialization............: 0
Identifier state.................................: CLEAN
Kerchunks today..................................: 0
Kerchunks since system initialization............: 949
Keyups today.....................................: 4
Keyups since system initialization...............: 15773
DTMF commands today..............................: 0
DTMF commands since system initialization........: 89
Last DTMF command executed.......................: 329971
TX time today....................................: 00:01:53.172
TX time since system initialization..............: 70:17:18.962
Uptime...........................................: 456:34:43
Nodes currently connected to us..................: 28190, 29971, 28795
Autopatch........................................: ENABLED
Autopatch state..................................: DOWN
Autopatch called number..........................: N/A
Reverse patch/IAXRPT connected...................: DOWN
User linking commands............................: ENABLED
User functions...................................: ENABLED

You could make up a script to do this and then email the file somewhere. It could be done periodically by a cron job.

My lsnodes program also displays this status to a web page -

http://crompton.com/hamradio/allstar/lsnodes.html
73 Doug
WA3DSP
http://www.crompton.com/hamradio


From: kk6ecm at gmail.com
To: app_rpt-users at ohnosec.org
Date: Sat, 11 Jan 2014 20:46:26 -0800
Subject: [App_rpt-users] app_rpt statistics














I’m looking for a way to capture and
e-mail repeater useage statistics. In searching through app_rpt.c, I found the
following. 

 

>From app_rpt.c

            myrpt->dailytxtime
= 0;

            myrpt->totaltxtime
= 0;

            myrpt->dailykeyups
= 0;

            myrpt->totalkeyups
= 0;

            myrpt->dailykerchunks
= 0;

            myrpt->totalkerchunks
= 0;

            myrpt->dailyexecdcommands
= 0;

            myrpt->totalexecdcommands
= 0;

 

My next questions is what is the form of
an rpt.conf stanza that could utilize these variables, capturing these
statistics?

 

Is there a way of saving these statistics
to a log file, or perhaps a way to send by e-mail from the repeater to my
e-mail address? 

 

Thanks,

Bob

kk6ecm







_______________________________________________
App_rpt-users mailing list
App_rpt-users at ohnosec.org
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.keekles.org/pipermail/app_rpt-users/attachments/20140112/0c930dc4/attachment.html>


More information about the App_rpt-users mailing list