The Statistics Monitor tool is an viewer for the statistics provided by OpenSIPS via the Statistics Inteface. The tool is able to display realtime statistic values, but also to sample and to draw charts for the certain statistics (value history).
The statistics monitor module has 3 tabs :
Displays each module that exports statistics . Clicking on the module will show its variables . The posibility to reset the variable exists. When the checkbox is enabled the variable will be drawed in the chart statistics .
Don't forget to set up the additional tables and the cron script which gathers data from the OpenSIPS servers and inserts them into the DB tables (see INSTALL file).
Database layer configuration file :
opensips-cp/config/tools/system/smonitor/db.inc.php
Attributes set in this file :
Local configuration file :
opensips-cp/config/tools/system/smonitor/local.inc.php
Attributes set in this file :
the database table names for storing the monitoring data
DEfault value for the sampling interval (in seconds)
The horizontal size of the charts (as number of samples/dots)
Amount of smaples (per statistics) to be kept before start deleting them