Thread: Monitoring server usage on VPS
09-26-2013, 11:16 PM #1Aspiring Evangelist
- Join Date
- Jul 2002
Monitoring server usage on VPS
We have a CentOS VPS with a provider where we have WHM and CPanel access. I want to set up a script so that the server will email me on a daily basis every hour the server's memory and diskspace usage. This way I can get a better idea if we have too little or too much memory or disk space on hand as we are paying per GB.
Does anyone know of any such script that is already out there for this sort of thing? I am more familiar with the Windows systems not Linux. I understand it would just be shell scripts, cron jobs and email but I'm not sure which commands are best for this information.
09-27-2013, 12:23 AM #2Newbie
- Join Date
- Aug 2011
Here's a very simple script which should work on your CentOS VPS.
# Example script to check memory and disk utilization.
# 26Sep2013, Created by microsight.
echo " "
/bin/df -h -l
09-27-2013, 12:09 PM #3▄▀▄ Brian Harrison, Lead Engineer - Reprise Hosting (AS62838)
▄▀▄ Deals on cheap dedicated server hosting. IPMI included! Unmetered bandwidth.
▄▀▄ Website migration, 24/7/365 support, basic server setup, 15 day money back.
▄▀▄ Looking for DEALS on self-managed cheap VPS hosting? Visit VPSHostingDEAL.com
09-27-2013, 04:01 PM #4Junior Guru
- Join Date
- Sep 2010
There's a tool called cacti that can monitor your server and produce graphs of that kind of data. You'd need to host it somewhere, but for long term use it's quite a good solution. If you can spare $5/month you could get a server from Digital Ocean that would more than meet the needs to run it.WonderProxy can help your team do localization testing from around the globe. With more than 200 locations there's no excuse for not testing your website.
The Where's It Up? API can help multiply your monitoring infrastructure. You can request pings, traceroutes, DNS checks, and HTTP checks from all across the WonderProxy network.
By mrzippy in forum Hosting Security and TechnologyReplies: 8Last Post: 02-09-2010, 06:51 PM
By jdk in forum Running a Web Hosting BusinessReplies: 5Last Post: 12-12-2009, 09:04 AM
By jmurtari in forum Hosting Security and TechnologyReplies: 9Last Post: 10-21-2008, 07:25 PM
By akbsol in forum VPS HostingReplies: 3Last Post: 07-15-2005, 10:21 AM
By Photon Buddy in forum Hosting Software and Control PanelsReplies: 0Last Post: 04-10-2005, 06:45 AM