Ofline
Hi
Here is a quick and dirty script I made to monitor OSCam, just for fun.
It permits to have some statistics over total ECM requests and statistics over the users.
The script uses the built-in API and shows the results by two graphs.
It requires a web server with php (with xml support) and a databse server.
Use it at your own risk.
Limited support provided if needed
Have fun
Regards,
Here is a quick and dirty script I made to monitor OSCam, just for fun.
It permits to have some statistics over total ECM requests and statistics over the users.
The script uses the built-in API and shows the results by two graphs.
It requires a web server with php (with xml support) and a databse server.
- Setup config.php with the parameters that match your config.
- Create the database and the tables.
You can use the content of oscam_users.sql to create the correct tables. - Run updatestats.php with a cron job. Let's say every 5 minutes.
- stats.php shows you the ECM stats for your server (total).
- userstats.php shows you the stats per user.
Use it at your own risk.
Limited support provided if needed
Have fun
Regards,