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

check_esx_cpu_snmp

Rating
0 votes
Favoured:
0
Current Version
1.0.beta
Last Release Date
2019-07-27
Compatible With
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
License
GPL
Hits
2459
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
This plugin will catch CPU Cores Load via SNMP the from an VMWare ESXi Server, tested with VMware ESXi, 6.7.0
Model: ProLiant DL360 Gen10 64 Cores
Current Version Supports unimited CPU Cores.

Cpu load value checked by the script is the average of individual CPU core Loads, defined as "one minute load average per processor in the range 0-100 where 100 is full utilization" at https://kb.vmware.com/s/article/1013445

SYNTAX: ./check_esx_cpu_snmp "
Version: 1.0

SYNTAX:

./check_esx_cpu_snmp "

EXAMPLE:

./check_esx_cpu_snmp myhost.mydomain public 60 80

DESCRIPTION:
This plugin will catch CPU Core Load via SNMP the from an VMWare ESX Server, tested with VMware ESXi, 6.7.0
Model: ProLiant DL360 Gen10 64 Cores
Current Version Supports unimited CPU 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.3.3.1.2

snmpwalk -m ALL -c public -v 2c myhost.mydomain .1.3.6.1.2.1.25.3.3.1.2.x


Cpu load value checked by the script is the average of individual CPU core Loads, defined as "one minute load average per processor in the range 0-100 where 100 is full utilization" at https://kb.vmware.com/s/article/1013445

REFERENCES:
CPU utilization https://kb.vmware.com/s/article/2145018

The agent reports a one minute load average per processor in the range 0-100 where 100 is full utilization.
In this example, you see two cpus in this virtual appliance using less than 15-20% of each CPU:

HOST-RESOURCES-MIB::hrProcessorLoad.1 = INTEGER: 15
HOST-RESOURCES-MIB::hrProcessorLoad.2 = INTEGER: 20

More details of the processors are available in hrDeviceTable:

HOST-RESOURCES-MIB::hrDeviceDescr.2 = STRING: CPU Pkg/ID/Node: 0/0/0 Intel(R) Xeon(R) CPU E5-2680 0 @ 2.70GHz
HOST-RESOURCES-MIB::hrDeviceDescr.2 = STRING: CPU Pkg/ID/Node: 0/1/0 Intel(R) Xeon(R) CPU E5-2680 0 @ 2.70GHz

MIB FILE:

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


Created: 2019-07-26 Author : Mattia Pezzetta

Changes: 2019-07-31 Version 1.0 Update: use snmpwalk instead of snmpget