Tuesday, January 29, 2013

Clear Memory in Linux

This is a script to clear the memory. This script is typically useful for servers that use squid. Squid as a proxy so greedy with memory. Create a file to put this script, for example file "clearmemory". And place it in the folder /etc/cron.daily/, in order to run automatically every day.
vim /etc/cron.daily/clearmemory.

Saturday, January 26, 2013

Review Hotspot YFI Beta-6-1.1

This is the appearance of yfi Beta-6, that Installed in my vmware.
1. Install vmware.
2. Find the file Hotspot YFI Beta-6-1.1  from here, http://sourceforge.net/projects/hotcakes/
and download.
3. You will get file Beta-6-1.1.tar. extract the file and you will find 2 files, Beta-6-1.1.ovf and Beta-6-1.1-disk1.vmdk. Then, just click beta-6-1.1.ovf, and waiting... and run from vmware.
4. Login with default username, and default password,

Friday, January 25, 2013

Monitoring Squid with Cacti (Template Cacti for Squid... Complete...!!!)

I assume that you have installed snmp, squid and cacti, before. I will not explain again about how to install squid, snmp, cacti, etc.. there's so many article to discuss about that’s.
Then, if all installation is complete, let's make graph template for squid.

1. cek your squid configuration,
# squid -v
Squid Cache: Version 3.1.22

Saturday, January 19, 2013

Install Snmp & Cacti on Ubuntu 12.10

What is Cacti ??

Cacti is an open-source, web-based network monitoring and graphing tool designed as a front-end application for the open-source, industry-standard data logging tool RRDtool. Cacti allows a user to poll services at predetermined intervals and graph the resulting data. It is generally used to graph time-series data of metrics such as CPU load and network bandwidth utilization. A common usage is to monitor network traffic by polling a network switch or router interface via simple network management protocol (SNMP). (wikipedia)
Cacti is a complete frontend to RRDTool, it stores all of the necessary information to create graphs and populate them with data in a MySQL database.