mirror of
https://github.com/Napsty/check_esxi_hardware.git
synced 2024-11-22 10:23:49 +01:00
Yet another element to ignore on Dell servers
This commit is contained in:
parent
f8a333fc1f
commit
560dc69385
@ -24,7 +24,7 @@
|
|||||||
# Copyright (c) 2008 David Ligeret
|
# Copyright (c) 2008 David Ligeret
|
||||||
# Copyright (c) 2009 Joshua Daniel Franklin
|
# Copyright (c) 2009 Joshua Daniel Franklin
|
||||||
# Copyright (c) 2010 Branden Schneider
|
# Copyright (c) 2010 Branden Schneider
|
||||||
# Copyright (c) 2010-2013 Claudio Kuenzler
|
# Copyright (c) 2010-2014 Claudio Kuenzler
|
||||||
# Copyright (c) 2010 Samir Ibradzic
|
# Copyright (c) 2010 Samir Ibradzic
|
||||||
# Copyright (c) 2010 Aaron Rogers
|
# Copyright (c) 2010 Aaron Rogers
|
||||||
# Copyright (c) 2011 Ludovic Hutin
|
# Copyright (c) 2011 Ludovic Hutin
|
||||||
@ -203,6 +203,10 @@
|
|||||||
#@ Author : Phil Randal (phil.randal@gmail.com)
|
#@ Author : Phil Randal (phil.randal@gmail.com)
|
||||||
#@ Reason : Fix lookup of warranty info for Dell
|
#@ Reason : Fix lookup of warranty info for Dell
|
||||||
#@---------------------------------------------------
|
#@---------------------------------------------------
|
||||||
|
#@ Date : 20140319
|
||||||
|
#@ Author : Claudio Kuenzler (www.claudiokuenzler.com)
|
||||||
|
#@ Reason : Another workaround for Dell systems "System Board 1 VGA Cable Pres 0: Connected"
|
||||||
|
#@---------------------------------------------------
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import time
|
import time
|
||||||
@ -757,6 +761,7 @@ for classe in ClassesToCheck :
|
|||||||
# Added 20121027 As long as Dell doesnt correct these CIM elements return code we have to ignore it
|
# Added 20121027 As long as Dell doesnt correct these CIM elements return code we have to ignore it
|
||||||
ignore_list.append("System Board 1 Riser Config Err 0: Connected")
|
ignore_list.append("System Board 1 Riser Config Err 0: Connected")
|
||||||
ignore_list.append("System Board 1 LCD Cable Pres 0: Connected")
|
ignore_list.append("System Board 1 LCD Cable Pres 0: Connected")
|
||||||
|
ignore_list.append("System Board 1 VGA Cable Pres 0: Connected")
|
||||||
if instance['OperationalStatus'] is not None :
|
if instance['OperationalStatus'] is not None :
|
||||||
elementStatus = instance['OperationalStatus'][0]
|
elementStatus = instance['OperationalStatus'][0]
|
||||||
verboseoutput(" Element Op Status = %d" % elementStatus)
|
verboseoutput(" Element Op Status = %d" % elementStatus)
|
||||||
|
Loading…
Reference in New Issue
Block a user