Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_esx_mem_snmp

Rating
1 vote
Favoured:
1
Current Version
1.0
Last Release Date
2019-07-31
Compatible With
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
License
GPL
Hits
5513
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
This plugin will catch used and free RAM memory via SNMP the from an VMWare ESX Server, tested with VMware ESXi, 6.7.0
Model: ProLiant DL360 Gen10 64 Cores
Make sure that the script is fetiching the right DATA. You can test it with the following command:

snmpwalk -m ALL -c public -v 2c myhost.mydomain .1.3.6.1.2.1.25.2.3.1.5.15

snmpwalk -m ALL -c public -v 2c myhost.mydomain .1.3.6.1.2.1.25.2.3.1.6.15

HOST-RESOURCES-MIB::hrStorageDescr.15 .1.3.6.1.2.1.25.2.3.1.3.15 STRING: Real Memory
HOST-RESOURCES-MIB::hrStorageSize.15 .1.3.6.1.2.1.25.2.3.1.5.15
HOST-RESOURCES-MIB::hrStorageUsed.15 .1.3.6.1.2.1.25.2.3.1.6.15

MIB FILE

/usr/share/snmp/mibs

https://kb.vmware.com/s/article/1013445
SYNTAX: ./check_esx_mem_snmp "

EXAMPLE ./check_esx_mem_snmp myhost.mydomain public 90 95

Description:
This plugin will catch used and free RAM memory via SNMP the from an VMWare ESX Server, tested with VMware ESXi, 6.7.0
Model: ProLiant DL360 Gen10 64 Cores
Make sure that the script is fetiching the right DATA. You can test it with the following command:

snmpwalk -m ALL -c public -v 2c myhost.mydomain .1.3.6.1.2.1.25.2.3.1.5.15

snmpwalk -m ALL -c public -v 2c myhost.mydomain .1.3.6.1.2.1.25.2.3.1.6.15

HOST-RESOURCES-MIB::hrStorageDescr.15 .1.3.6.1.2.1.25.2.3.1.3.15 STRING: Real Memory
HOST-RESOURCES-MIB::hrStorageSize.15 .1.3.6.1.2.1.25.2.3.1.5.15
HOST-RESOURCES-MIB::hrStorageUsed.15 .1.3.6.1.2.1.25.2.3.1.6.15

MIB FILE

/usr/share/snmp/mibs

https://kb.vmware.com/s/article/1013445



SYNTAX: ./check_esx_mem_snmp "

EXAMPLE ./check_esx_mem_snmp myhost.mydomain public 90 95


Created: 2019-07-31 Author : Mattia Pezzetta
based on Thibaut Ploquin work "check_hpux_mem",
based on Alain van der Heiden & Remco Hage works "check_snmp_hpux_mem"

Changes: 2019-07-31 Udate description
Reviews (1)
byzezar, January 8, 2021
Congratulations mpezzetta! Great plugin. It worked perfectly with our VMware ESXi, 6.7.0 in ProLiant BL460c Gen8 32 cores servers.

Simple and effective, recommended to anyone that needs to monitor memory usage from ESXi.

We're also using check_esx_cpu_snmp from mpezzetta to monitor memory usage.

You can consider include it in github so the community can help to improve it.