1
0
mirror of https://github.com/Napsty/check_esxi_hardware.git synced 2024-11-25 03:43:49 +01:00
Commit Graph

55 Commits

Author SHA1 Message Date
Napsty
e63f9fee6a Remove python2 and pywbem 0.7.0 compatibility 2024-10-25 14:42:19 +02:00
Claudio Kuenzler
7aaaae4337
Fix bug when missing serial number from CIM elements (#69) 2022-12-30 08:57:39 +01:00
Claudio Kuenzler
141fdfb500
Bump version 2022-07-08 06:49:52 +02:00
Marco Markgraf
a548d358e0
added json-output (#65)
added json-output
2022-07-08 06:44:09 +02:00
Claudio Kuenzler
e4f406a309
Fix TLSv1 usage (#57)
* Fixing TLSv1 protocol version

* Update changelog and version
2021-08-09 14:23:32 +02:00
Claudio Kuenzler
d8f9fa1c82
Fix reported issues #47 and #48 (#49) 2020-07-10 07:30:43 +02:00
Claudio Kuenzler
274dceee74
Allow to overwrite system defaults for SSL protocol (#46)
* Add parameter (-S) for custom SSL/TLS protocol version

* Add parameter (-S) for custom SSL/TLS protocol version

* Add parameter (-S) for custom SSL/TLS protocol version
2020-06-05 16:12:13 +02:00
lberra
bf4ec05979
Add option to ignore chassis intrusion (Supermicro) (#42) 2020-06-05 10:18:51 +02:00
Phil Randal
ff3228b804 Fix dell support links (#38) 2019-07-01 10:39:59 +02:00
Claudio Kuenzler
08cf10de24
Regex (#36)
* Allow regular expressions from ignore list (-r)

* Allow regular expressions from ignore list (-r)
2019-05-10 10:00:50 +02:00
Claudio Kuenzler
6aebd1a4bb Added future statement for print function 2018-10-01 12:39:10 +02:00
Claudio Kuenzler
96aced6377 Python3 compatibility 2018-10-01 11:15:59 +02:00
Claudio Kuenzler
9f8b22a393
version bump 2018-04-11 07:35:09 +02:00
Peter Newman
21e0c2b3ed
Fix a whitespace issue 2018-04-10 14:37:18 +01:00
Peter Newman
b758ee20df
Merge pull request #1 from Napsty/master
Resync with master
2018-04-10 14:36:13 +01:00
Claudio Kuenzler
bd61850aa5 Try to use internal pywbem function to determine version 2018-03-29 09:15:07 +02:00
Claudio Kuenzler
575c4b47a7 Ready for new version 2017-09-05 21:06:53 +02:00
Claudio Kuenzler
0e62849ffb Define lcd ignore list before checking classes 2017-09-02 11:24:37 +02:00
Claudio Kuenzler
9ea8ba5967 Corected lcd condition 2017-09-02 11:21:31 +02:00
Claudio Kuenzler
7d4a85d0f3 Update check_esxi_hardware.py 2017-09-01 16:49:19 +02:00
Claudio Kuenzler
ff33e0a7b8 Debugging --no-lcd 2017-09-01 07:05:54 +02:00
Claudio Kuenzler
cec24c19bd Added --no-lcd option 2017-08-31 21:19:34 +02:00
Peter Newman
db0ffb7a05 Throw another unknown if we can't fetch the data elsewhere for some reason 2017-01-25 10:48:19 +00:00
Peter Newman
3566f03ecb SPaG 2017-01-24 18:06:35 +00:00
Peter Newman
ecf93a695e Throw an unknown if we can't fetch the data for some reason 2017-01-24 17:57:28 +00:00
Claudio Kuenzler
89f9e505c3 Added support for pywbem 0.9.x (and upcoming releases) 2016-10-13 15:59:19 +02:00
Claudio Kuenzler
82a4156e34 Bump version, edit changelog 2016-05-31 07:28:55 +02:00
Claudio Kuenzler
ced39ad416 Add CIM port option, adapt help 2016-04-14 21:41:31 +02:00
Claudio Kuenzler
496ae6cf31 Distinguish between pywbem 0.7 and 0.8 2016-04-11 15:19:37 +02:00
Stefan Roos
156016869a Update check_esxi_hardware.py
Removed some modifications.
2016-04-07 10:11:40 +03:00
stefaro
03f8ca8335 Minor changes and cleanup
Removed unused sensor_value variable and string import.
Removed no SSL tryout on pywbem v 0.0.7 (default version doesn't have no_verification).
Added global hosturl variable declaration after imports.
Added "Front Panel Board 1 FP LCD Cable 0: Connected" to ignore list (LENOVO System x3550 M5).
2015-11-11 09:57:05 +02:00
Claudio Kuenzler
3727e67609 Exit Unknown instead of Critical for non-essential errors 2015-07-10 09:56:25 +02:00
Claudio Kuenzler
8c147a204e Merge pull request #12 from giner/patch-1
check_esxi_hardware.py: unknown instead of crit
2015-07-10 09:45:02 +02:00
Napsty
0036c441de Change version number for public release 2015-06-26 14:50:10 +02:00
Napsty
c806fb4d90 Change version number for public release 2015-06-26 14:30:42 +02:00
Napsty
6c8a4bfd63 Extended pywbem version compatibility 2015-06-10 12:47:12 +02:00
Stanislav German-Evtushenko
fb038edcda check_esxi_hardware.py: revert last change
1. This change was wrong and inappropriate.
2. The issue I tried to fix was caused by the bug in python library pywbem: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=780264
2015-06-01 19:52:59 +03:00
Napsty
3f97ca6485 Added support for patched pywbem 0.7.0 and new version 0.8.0, handle SSL error exception 2015-05-12 08:45:32 +02:00
Stanislav German-Evtushenko
b3c0ca4cdd check_esxi_hardware.py: force exit on timeout
Replace sys.exit by os._exit to be sure that the script stops on timeout immediately and does not produce false-positive results (usually it comes to WARNING).
2015-04-07 15:56:00 +03:00
Stanislav German-Evtushenko
e3a43a5dd0 check_esxi_hardware.py: unknown instead of crit
Set status to unknown instead of critical for timeouts, authentication errors and such things as those issues are critical for the check itself but not for the service.
2015-03-16 15:16:47 +03:00
Napsty
8aecf4e7d1 Change version number for public release 2015-01-19 16:48:38 +01:00
Claudio Kuenzler
60b03332f9 Fix NoneType element bug
Andreas Gottwald sent a patch which fixes an issue, when the CIM element was a "NoneType" element but the plugin wanted to read a string from it. 

    Traceback (most recent call last):
     File "./check_esxi_hardware.py", line 629, in <module>
    verboseoutput("  Element Name = "+elementName)
    TypeError: cannot concatenate 'str' and 'NoneType' objects
2015-01-15 15:13:47 +01:00
Claudio Kuenzler
16b07977ae Adapt date
The change for the chassis serial number was already prepared a few months ago but I only found time today to do the merge and the release. Therefore adapting the date in history and version variable to today (20150109)
2015-01-09 11:56:17 +01:00
Napsty
d67db0b2ff Fixed uninitialized variable isblade 2014-09-16 13:27:48 +02:00
Napsty
6abc24f522 Removed autoindent, added spaced instead 2014-09-09 17:30:55 +02:00
Napsty
629911c8de Output serial number of chassis if a blade server is checked 2014-09-09 17:28:53 +02:00
Napsty
f256cb08aa Add Add-in Card 4 PEM Presence 0: Connected to ignore list 2014-03-19 10:14:08 +01:00
Napsty
33cf2a9e7c Forgot to increase version number 2014-03-19 10:04:53 +01:00
Napsty
560dc69385 Yet another element to ignore on Dell servers 2014-03-19 09:49:37 +01:00
Phil Randal
04c6b7bcdb fix model name detection 2013-07-25 14:27:46 +01:00