vmware-memoryused.sh

#!/bin/bash # Cor van Wandelen # percentage memory used on VMware host if [ $# -eq 0 ] || [ $# -eq 1 ] then echo “Syntax: ” exit -1 fi USED=`snmpwalk -v2c -c $2 $1 1.3.6.1.2.1.25.5.1.1.2 | cut -d ‘ ‘ -f4 | paste -sd+ | bc` TOTAL=`snmpwalk -v2c...

Memory monitor

This plugin uses free to fetch the memory and swap performance metrics from a linux server. To install it: Verify that your system has free installed: $ free -V Download the file “memory_plugin”. Copy it to your agent plugins directory. F.ex. on my system...

Used space on Solaris

The module returns the percentage of free physical memory. The module syntax will be the following: Module data module_begin  module_name Physical Free Memory  module_type generic_data  module_freepercentmemory  module_description Porcentaje Memoria física libre ...

Free swap on Linux

Returns in percentage the free space of swap memory. Module data module_begin  module_name Free swap  module_type generic_data  module_exec free ­m | grep Swap | awk '{print (($4 / $2)*100)}'  module_description Percentage Mem Swap Free ...