Monitoring the server by a webinterface

I want to keep my fingers on the operations on my servers. But I don’t have all the time the access to a SSH-client. So I wrote a tiny PHP-script which creates a summary of the server using the next tools:

  • smbstatus, for monitoring SMB-connections
  • w, active logged in users
  • ps, to fetch active IMAP-connections
  • df, to monitor the free-space on the harddrive.

This all resultated in the next screen (click for a bigger one):


The webpage is only for people with a valid webinterface-account and it uses SSLv3 to keep the information confidential.