Node Statistics: Difference between revisions

From AllStarLink Wiki
Jump to navigation Jump to search
imported>N8THN
created page
 
imported>N8THN
mNo 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>

Latest revision as of 01:38, 28 January 2019

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]

....

....

statpost_program=/usr/bin/wget,-q,--output-document=/dev/null

statpost_url=http://stats.allstarlink.org/uhandler.php ; Status updates

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]

....

....

statpost_program=/usr/bin/wget,-q,--output-document=/dev/null

statpost_url=http://stats.allstarlink.org/uhandler.php ; Status updates

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]

....

....

statpost_program=/bin/wget,-q,--output-document=/dev/null

statpost_url=http://stats.allstarlink.org/uhandler.php ; Status updates