Node Statistics

From AllStarLink Wiki
Jump to navigation Jump to search

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