Jan 2, 2020 | SNMP category, Virtualization
#!/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...Dec 18, 2017 | Linux category
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...Dec 15, 2017 | Operating Systems, Windows category
Returns fre physical memory on a Windows server using WMI Module data SELECT FreePhysicalMemory FROM Win32_OperatingSystem Field 0Dec 15, 2017 | Operating Systems, Solaris category
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 ...Dec 14, 2017 | Linux category, Operating Systems
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 ...