Monitor vmwareesxi with nagios

Source: Internet
Author: User
Tags classe
I found a script for monitoring vmwareesxi on the Internet and configured it. It is very useful. Script: http: exchange. nagios. orgdirectoryPluginsOperating-Systems *-Virtual-EnvironmentsVMWareCheck-hardware-running-VMware-ESXidetails script, and then add the parameter to run it :#.

I found a script for monitoring vmware esxi on the Internet and configured it. It is very useful.

Script:

Bytes

 

After the script is executed, add the following parameters to run the script:

#./Check_esx_wbem.py https: // 192.168.1.10 rootPasswd
20110310 01:53:16 Connection to https: // 192.168.1.10
20110310 01:53:16 Check classe CIM_ComputerSystem
20110310 01:53:16 Element Name = System Board 7
20110310 01:53:16 Element Op Status = 0
20110310 01:53:16 Element Name =Dd-In Card 11: 2
20110310 01:53:16 Element Op Status = 0
20110310 01:53:16 Element Name = localhost. localdomain
20110310 01:53:16 Element Name = Hardware Management ConTrOller (Node 0)
20110310 01:53:16 Element Op Status = 0
20110310 01:53:16 Element Name = Controller 0 (PERC 6/I IntegratEd)
20110310 01:53:16 Element Op Status = 2
20110310 01:53:16 Check classe CIM_NumericSensor
20110310 01:53:17 Element Name = System Board 1 System Level
20110310 01:53:17 Element Op Status = 2
20110310 01:53:17 Element Name = Power Supply 1 Voltage 1
20110310 01:53:17 Element Op Status = 2
20110310 01:53:17 Element Name = Power Supply 1 Current 1
20110310 01:53:17 Element Op Status = 2
20110310 01:53:17 Element Name = System Board 1 FAN 5 RPM
20110310 01:53:17 Element Op Status = 2
20110310 01:53:17 Element Name = System Board 1 FAN 4 RPM
20110310 01:53:17 Element Op Status = 2
20110310 01:53:17 Element Name = System Board 1 FAN 3 RPM
20110310 01:53:17 Element Op Status = 2
20110310 01:53:17 Element Name = System Board 1 FAN 2 RPM
20110310 01:53:17 Element Op Status = 2
20110310 01:53:17 Element Name = System Board 1 FAN 1 RPM
20110310 01:53:17 Element Op Status = 2
20110310 01:53:17 Element Name = System Board 1 Ambient Temp
20110310 01:53:17 Element Op Status = 2
20110310 01:53:17 Check classe CIM_Memory
20110310 01:53:17 Element Name = CPU1 Level-1 Cache
20110310 01:53:17 Element Op Status = 0
20110310 01:53:17 Element Name = CPU1 Level-2 Cache
20110310 01:53:17 Element Op Status = 0
20110310 01:53:17 Element Name = CPU1 Level-3 Cache
20110310 01:53:17 Element Op Status = 0
20110310 01:53:17 Element Name = CPU2 Level-1 Cache
20110310 01:53:17 Element Op Status = 0
20110310 01:53:17 Element Name = CPU2 Level-2 Cache
20110310 01:53:17 Element Op Status = 0
20110310 01:53:17 Element Name = CPU2 Level-3 Cache
20110310 01:53:17 Element Op Status = 0
20110310 01:53:17 Element Name = Memory
20110310 01:53:17 Element Op Status = 2
20110310 01:53:17 Check classe CIM_Processor
20110310 01:53:17 Element Name = CPU1
20110310 01:53:17 Element Op Status = 2
20110310 01:53:17 Element Name = CPU2
20110310 01:53:17 Element Op Status = 15
20110310 01:53:17 Check classe CIM_RecordLog
20110310 01:53:18 Element Name = IPMI SEL
20110310 01:53:18 Element Op Status = 2
20110310 01:53:18 Check classe OMC_DiscreteSensor
20110310 01:53:19 Element Name = Add-in Card 2 SD vFLash Status 1
20110310 01:53:19 Element Name = Disk Drive Bay 3 ROMB Battery 0: Low
20110310 01:53:19 Element Op Status = 2
20110310 01:53:19 Element Name = Disk Drive Bay 3 ROMB Battery 0: Failed
20110310 01:53:19 Element Op Status = 2
20110310 01:53:19 Element Name = Disk Drive Bay 1 Cable sas B 0: Connected
20110310 01:53:19 Element Op Status = 2
20110310 01:53:19 Element Name = Disk Drive Bay 1 Cable sas B 0: Config Error
20110310 01:53:19 Element Op Status = 2
20110310 01:53:19 Element Name = Disk Drive Bay 1 Cable sas a 0: Connected
20110310 01:53:19 Element Op Status = 2
20110310 01:53:19 Element Name = Disk Drive Bay 1 Cable sas a 0: Config Error
20110310 01:53:19 Element Op Status = 2
20110310 01:53:19 Element Name = Disk Drive Bay 1 Drive 5: Drive Present
20110310 01:53:19 Element Name = Disk Drive Bay 1 Drive 5: Drive Fault
20110310 01:53:19 Element Op Status = 2
20110310 01:53:19 Element Name = Disk Drive Bay 1 Drive 5: Predictive Failure
20110310 01:53:19 Element Op Status = 2
20110310 01:53:19 Element Name = Disk Drive Bay 1 Drive 5: Hot Spare
20110310 01:53:19 Element Name = Disk Drive Bay 1 Drive 5: Parity Check In Progress
20110310 01:53:19 Element Op Status = 2
20110310 01:53:19 Element Name = Disk Drive Bay 1 Drive 5: In Critical Array
20110310 01:53:19 Element Op Status = 2
20110310 01:53:19 Element Name = Disk Drive Bay 1 Drive 5: In Failed Array
20110310 01:53:19 Element Op Status = 2
20110310 01:53:19 Element Name = Disk Drive Bay 1 Drive 5: Rebuild In Progress
20110310 01:53:19 Element Op Status = 2
20110310 01:53:19 Element Name = Disk Drive Bay 1 Drive 5: Rebuild Aborted
20110310 01:53:19 Element Op Status = 2
20110310 01:53:19 Element Name = Disk Drive Bay 1 Drive 4: Drive Present
20110310 01:53:19 Element Name = Disk Drive Bay 1 Drive 4: Drive Fault
20110310 01:53:19 Element Op Status = 2
20110310 01:53:19 Element Name = Disk Drive Bay 1 Drive 4: Predictive Failure
20110310 01:53:19 Element Op Status = 2
20110310 01:53:19 Element Name = Disk Drive Bay 1 Drive 4: Hot Spare
20110310 01:53:19 Element Name = Disk Drive Bay 1 Drive 4: Parity Check In Progress
20110310 01:53:19 Element Op Status = 2
20110310 01:53:19 Element Name = Disk Drive Bay 1 Drive 4: In Critical Array
20110310 01:53:19 Element Op Status = 2
20110310 01:53:19 Element Name = Disk Drive Bay 1 Drive 4: In Failed Array
20110310 01:53:19 Element Op Status = 2
20110310 01:53:19 Element Name = Disk Drive Bay 1 Drive 4: Rebuild In Progress
20110310 01:53:19 Element Op Status = 2
20110310 01:53:19 Element Name = Disk Drive Bay 1 Drive 4: Rebuild Aborted
20110310 01:53:19 Element Op Status = 2
20110310 01:53:19 Element Name = Disk Drive Bay 1 Drive 3: Drive Present
20110310 01:53:19 Element Name = Disk Drive Bay 1 Drive 3: Drive Fault
20110310 01:53:19 Element Op Status = 2
20110310 01:53:19 Element Name = Disk Drive Bay 1 Drive 3: Predictive Failure
20110310 01:53:19 Element Op Status = 2
20110310 01:53:19 Element Name = Disk Drive Bay 1 Drive 3: Hot Spare
20110310 01:53:19 Element Name = Disk Drive Bay 1 Drive 3: Parity Check In Progress

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.