I have many server running on live. Each server has many application. Each application has directory like /etc/somedir1
, /etc/somedir2
where in each of that directory has many .html
files. The application live level is showed as how many .html
files available. The more the better. The .html
files will be deleted from time to time. 144 or less .html
files considered as critical, and I will manually add more .html
files.
The server number is growing, it will be difficult in the future.
I want all that servers monitored by one server (like M/Monit), based on how many .html
files left in the specific directories.
M/Monit looks great but AFAIK, it only monitor server live and its related services.
One thing that I can think is ls | wc -l
and then scp
to the monitor server. But I dont know how to make it displayed in the monitor server just like in other server monitoring tools.
Any ideas are welcome