Answer the question
In order to leave comments, you need to log in
What are the ways to monitor a linux webserver in real time via webmuzzle?
There is a simple clean php-fpm + nginx virtual web server, full root access without admin panel installed. I got the idea to write my own admin panel, with the necessary functionality.
The panel opens as a simple website via htpps.
Question: what are the ways to monitor a web server with real-time statistics output through a web interface?
By statistics I mean: At least CPU, Memory. Also relevant is the output of running processes, the quota.
Interested in the process of obtaining data. The only thing that I have on the Internet is the php ssh2 module that allows you to execute commands through php, well, it seems to me that this is not the best solution.
In which direction to dig, I will be glad to any material and ideas.
Answer the question
In order to leave comments, you need to log in
Webmin already exists.
Your question is incomprehensible - what does it mean, what are the ways to monitor a web server with output through a web interface?
Maybe monitoring the server itself?
Well, there are only three options:
Execute console commands, parse the response
See system files in /proc, /dev
use standard php tools, such as php.net/manual/en/function.sys-getloadavg.php
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question