Werk #3227: Automatic service adding: Fixed exception when using time range to skip automatic configuration

Komponente Checks & agents
Titel Automatic service adding: Fixed exception when using time range to skip automatic configuration
Datum 22.02.2016
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 1.2.8b3 1.4.0i1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

This fixes the exception:

Traceback (most recent call last):
  File "/omd/sites/stable/share/check_mk/modules/check_mk.py", line 5065, in <module>
    discover_marked_hosts()
  File "/omd/sites/stable/share/check_mk/modules/discovery.py", line 441, in discover_marked_hosts
    why_not = may_rediscover(params)
  File "/omd/sites/stable/share/check_mk/modules/discovery.py", line 389, in may_rediscover
    now = datetime.datetime.utcfromtimestamp(now_ts)
NameError: global name 'datetime' is not defined

Zur Liste aller Werks