1 Title: Automatic service adding: Fixed exception when using time range to skip automatic configuration
10 This fixes the exception:
12 Traceback (most recent call last):
13 File "/omd/sites/stable/share/check_mk/modules/check_mk.py", line 5065, in <module>
14 discover_marked_hosts()
15 File "/omd/sites/stable/share/check_mk/modules/discovery.py", line 441, in discover_marked_hosts
16 why_not = may_rediscover(params)
17 File "/omd/sites/stable/share/check_mk/modules/discovery.py", line 389, in may_rediscover
18 now = datetime.datetime.utcfromtimestamp(now_ts)
19 NameError: global name 'datetime' is not defined