mirror of
https://github.com/Napsty/check_esxi_hardware.git
synced 2024-11-22 02:13:46 +01:00
Fixed uninitialized variable isblade
This commit is contained in:
parent
6abc24f522
commit
d67db0b2ff
@ -207,7 +207,7 @@
|
||||
#@ Author : Claudio Kuenzler (www.claudiokuenzler.com)
|
||||
#@ Reason : Another two workarounds for Dell systems (VGA Cable Pres 0, Add-in Card 4 PEM Presence 0)
|
||||
#@---------------------------------------------------
|
||||
#@ Date : 20140909
|
||||
#@ Date : 20140916
|
||||
#@ Author : Claudio Kuenzler (www.claudiokuenzler.com)
|
||||
#@ Reason : Output serial number of chassis if a blade server is checked
|
||||
#@---------------------------------------------------
|
||||
@ -219,7 +219,7 @@ import re
|
||||
import string
|
||||
from optparse import OptionParser,OptionGroup
|
||||
|
||||
version = '20140319'
|
||||
version = '20140916'
|
||||
|
||||
NS = 'root/cimv2'
|
||||
|
||||
@ -319,6 +319,9 @@ ExitWarning = 1
|
||||
ExitCritical = 2
|
||||
ExitUnknown = 3
|
||||
|
||||
# Special handling for blade servers
|
||||
isblade = "no"
|
||||
|
||||
def dell_country(country):
|
||||
if country == 'at': # Austria
|
||||
return 'at/de/'
|
||||
|
Loading…
Reference in New Issue
Block a user