Enable SNMP on ESXi5

Looking to enable SNMP to do some external monitoring on my ESXi Boxen. I took a quick dive into the CLI and found a way to do this.

Using our friend putty, I connected to my ESXi host via SSH. I then changed directory to the /etc/vmware/ folder: ~ # cd /etc/vmware/

ESXi 5 doesn’t have nano (best CLI editor on earth) so I use the original best ‘vi’. Simply type vi snamp.xml ( /etc/vmware # vi snmp.xml ) you will see the following:


At this point things should be obvious. Press ‘i’ to insert data and change all that is false to ‘true‘ and add Public between the <communities></communities> ( end result <communities>Public</communities> ) and you just need to press Esc followed by :wq to save and quit.

Lastly you need to restart some management services. This is done by typing: /etc/vmware # services.sh restart now you should be able to monitor your ESXi 5 boxen.

Good Luck to you…

– Jermal

Raspbian Wheezy armhf Rasp~ Pi minimal image

Hi friends, Hi to myself in the future.

Here is a updated Raspberry Pi minimal image. This one is compiled with hard float support; hardware instead of software emulation.


A minimal Raspbian Wheezy installation (similar to a netinstall)
Hard Float binaries: floating point operations are done in hardware instead of
A disabled incremental updates, means apt-get update is much faster
Latest raspberry pi patches
Latest version of the firmware(s) | for usb video and usb wireless support
Lower GPU RAM usage (32MB) by default | I run headless
224MB of ram are available to the system
A very tiny image: even with a 2GB SD there is a lot of free space
SSH Installed and starts by default
The clock is automatically updated using ntp
Yes! IPv6 support

Link to download this custom updated image: raspbian_wheezy_armhf_jermsmit_20120815.7z

The root password is: jermsmit

–More Info–

I have 2 images in the 7zip archive; one containing the rootfs and the other containing the boot partition. I have it setup this way because I boot with the SD card 1GB (only need 16MB) and a USB Drive 2GB is all you need, but you can use larger

My Raspberry Pi needs a Swap

About Swap: Linux divides its physical RAM (random access memory) into chucks of memory called pages. Swapping is the process whereby a page of memory is copied to the preconfigured space on the hard disk, called swap space, to free up that page of memory. The combined sizes of the physical memory and the swap space is the amount of virtual memory available.

Swapping is necessary for two important reasons. First, when the system requires more memory than is physically available, the kernel swaps out less used pages and gives memory to the current application (process) that needs the memory immediately. Second, a significant number of the pages used by an application during its startup phase may only be used for initialization and then never used again. The system can swap out those pages and free the memory for other applications or even for the disk cache.

Adding Swap: File Method
I am using this method over a drive partition simply because i didn’t create a partition to use.

1 – Locate an area on disk to place the swap file. In my Raspberry Pi setup I am going to use /root
2 – Use the following dd command example creates a swap file with the name “swap” under /root directory: # dd if=/dev/zero of=/root/swap bs=1M count=512
3 – Change the permission of the swap file so that only root can access it: # chmod 600 /root/swap
4 – Make this file as a swap file using mkswap command: # mkswap /root/swap
5 – Enable the newly created swapfile: # swapon /root/swap

Your done. But wait! I don’t want to turn the swap on each time I reboot, that’s just silly.

To make this swap file available after the reboot, add the following line to the /etc/fstab file:
/root/swap               swap                    swap    defaults        0 0

Now hopefully my Raspberry Pi will be a little less prone to locking up due to being out of memory.

Task Manager Info

If you have taken a look at Windows Task Manager, and wondered what does all this mean. This brief guide should help you understand what these values represent.

The performance information is broken down into four categories:

CPU, Physical Memory, Kernel Memory, and System

CPU (Central Processing Unit) usage represents the percentage of CPU capacity currently being used by Windows and all running applications. This number should be low (< 5%) when you are not actively using your computer.

Physical Memory:
Physical memory is commonly referred to as RAM (random access memory)

Total—The total physical RAM in your system (in MB.) Divide this number by 1,024 to get the number in gigabytes
Cached—Physical RAM set aside by Windows for cached documents and programs. Cached memory is used to speed up Windows and is the first to be used when available memory hits 0MB
Available—Memory available for immediate use (standby and free memory)
Free—Unused memory available for immediate use

Kernel Memory:
Kernel memory is memory dedicated to the operating system (Windows) and not applications.

Paged—Kernel memory which is mapped to pages of virtual memory (stored on your hard disk drive)
Nonpaged—Kernel memory which resides in physical memory

Handles—A handle is a pointer to a system resource used by an application. If you want to find out what handles a process has open, you can either use Sysinternals Handle or Process Explorer

Threads—A thread is a processor task, executed by a process. Most processes use two or more threads to execute tasks
Processes—This is the total number of processes running, on your PC, by all users
Uptime—The number of days : hours : minutes : seconds you’ve been running your current session
Commit (GB)—The minimum and maximum size (in gigabytes) of your pagefile

How to find your IMEI Number – Galaxy S2 II

This is very simple to do. Go to dial pad and press the following as if you were placing a phone call:

  • Type the following:  *#06#
  • The phones IMEI number will show in a box on the screen.
  • You could also go into settings > about phone > status, then scroll down until you find it.

I hope you enjoyed this post
Please visit me on Facebookhttp://www.facebook.com/jermsmitcom & via twitter: #jermsmit

Secured By miniOrange