Node Statistics

From "PTTLink Wiki"
Revision as of 16:10, 1 January 2021 by KM4NNO (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Publishing Node Statistics

PTTLink nodes can optionally publish some of their statistical information on stats.pttlink.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.pttlink.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.pttlink.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.pttlink.org/uhandler.php ; Status updates