I have began to write a server monitor script, keeping what I’m going to call it secret until its finished 🙂
I guess i will need to think of a code name like “Longhorn” (Vistas code name) for the moment I might go with SwinServe (I live in Swindon, and is a Server monitor script… ) works for me okay i have a code name.
Now i will explain what it will hopefully have.
The point of the script is obvious, it will monitor many aspects of your chosen server(s) and be able to display that information.
It will, collect and store information about the server, whats up whats down memory usage, CPU usage and hopefully also hdd usage.
This information can then be used to hopefully show and possibly even graph server status over a period of time through the Admin panel.
The script will obviously have a client page, like a List Broker has, which shows the status of all the servers you have added, and shows the current usage(s) etc enabling clients to view whats going on.
I want this script to be fully flexible, and intend to allow admins to add any port they wish to monitor, and more. meaning it can be used for any purpose and wont be restricted to http/ftp/cpanel/whm/mysql/smtp/pop etc which would also mean, it can monitor things like shoutcast etc.
It would just be a simple form in the admin where you enter things like:
Server name
Server IP
Server URL
cPanel username/password
and then probably a selection of tick boxes of all the ports to monitor, so if for instance it was just a MySQL server you would untick them all accept the MySQL one, so on the monitor page, it shows the rest as “unmonitored” and only the required ports are used.
Also for the same u could set custom ports for that server.
Why cPanel username and password?
Nothing is firm at the moment, but it will most likely be used to access information privileged to the cPanel area.
Plugins/Mods:
I am planning to develop modifications for WHMCS, my client panel of choice, which will… if I’m clever enough, sync server info so you don’t have to add them to both softwares.
I am also planning to develop a new tpl file for server status which will incorporate SwinServe into the styles etc and make it fit in perfectly. and should (hopefully) function like it was part of WHMCS.
Once the initial built is complete and Version 1 is finalised, and fully working with WHMCS and cPanel i would be interested in developing it to work well with other server panels and client panels, however i wont be able to afford them to do the testing so as a note i may be trying to scrounge access to your client area! just to make it work.
I am still undecided if i will make this open source/closed source of closed source and selling it.
I will be posting the developments as they come.