I am looking for a Shell programmer to write a clean and commented script (entirely in Shell using only tools that are available by default on a CentOS 5/6 server). The script should collect the following statistics and POST the data to a given URL in JSON format:
1. The system's used memory in MB
2. The system's cached memory in MB
3. The system's free memory in MB
4. The server's load over the last 5 minutes
5. For each mounted disk on the system:
5. i. The kbytes written since the last run
5. ii. The kbytes read since the last run
5. iii. The total inodes
5. iv. The free inodes
5. v. The total capacity in GB
5. vi. The free capacity in GB
You should also produce a second file that will download and install in on the system (i.e. create a cron job to run it every 5 minutes). Both scripts should be compatible with CentOS 5 and 6, and ideally Debian and Ubuntu as well.
I am an experienced Linux administrator. I could create those scripts for you. Actually I'm not sure why you would like to have second script? For downloading first? You still need to get one of them to get another. Pretty useless feature but whatever you wish.
cheers
I'm handling production support in one of the top ten e-commerce company in India. Currently supporting total of 27 centos & ubuntu servers in live environment. I've 5 years of experience in architecture of distributed systems, performance tuning and linux based server setup for large applications.
In my current job for performance tuning I'm measuring almost all of the fields you wanted. For most of the checks I've shell command ready for it. Also I've set many cron jobs for alert notifications & reporting purpose.
I just need the URL where I need to push the data in JSON format. Open to start work on it asap. Thanks.