Changes

Jump to navigation Jump to search
m
no edit summary
Line 1: Line 1:  
[[Category:How to]]
 
[[Category:How to]]
 
'''Publishing Node Statistics'''
 
'''Publishing Node Statistics'''
 +
 +
Allstar Link nodes can optionally publish some of their statistical information on stats.allstarlink.org. By default, status reporting is not enabled. To enable status reporting, the config file /etc/asterisk/rpt.conf needs to be modified.
 +
 +
=== Making the changes in DEBIAN ===
 +
Using a text editor such as vi or nano, edit the file /etc/asterisk/rpt.conf. Uncomment or Insert the following two lines in the node stanza for a node you wish to publish the statistics for:
 +
 +
[1999]
 +
 +
....
 +
 +
....
 +
 +
<code>statpost_program=/usr/bin/wget,-q,--output-document=/dev/null</code>
 +
 +
<code>statpost_url=<nowiki>http://stats.allstarlink.org/uhandler.php</nowiki> ; Status updates</code>
 +
 +
=== Making the changes in ACID ===
 +
Using a text editor such as vi or nano, edit the file /etc/asterisk/rpt.conf. Insert the following two lines in the node stanza for a node you wish to publish the statistics for:
 +
 +
[1999]
 +
 +
....
 +
 +
....
 +
 +
<code>statpost_program=/usr/bin/wget,-q,--output-document=/dev/null</code>
 +
 +
<code>statpost_url=<nowiki>http://stats.allstarlink.org/uhandler.php</nowiki> ; Status updates</code>
 +
 +
=== Making the changes in Limey Linux ===
 +
Using the vi or emacs text editor, edit the file /etc/asterisk/rpt.conf. Insert the following two lines in the node stanza for a node you wish to publish the statistics for:
 +
 +
[1999]
 +
 +
....
 +
 +
....
 +
 +
<code>statpost_program=/bin/wget,-q,--output-document=/dev/null</code>
 +
 +
<code>statpost_url=<nowiki>http://stats.allstarlink.org/uhandler.php</nowiki> ; Status updates</code>

Navigation menu