I have a few servers and few more websites located on the servers. Some servers have more than 1 website.
I want to create my own monitoring system which count online users on the server, but not on the sites. Is there any way to do this in linux level or i should edit the php code on every website to send information to the api?