CMK version:
2.3.0p23
OS version:
Ubuntu 24.04.1 LTS
Error message:
OverflowError (timestamp out of range for platform time_t)
Output of “cmk --debug -vvn hostname”: (If it is a problem with checks or plugins)
I changed a duration for a service I did not want to ever flag but still wanted on the gui(its a laptop and the port shuts off and shows down on snmp whenever they go home with their laptop) to the following:
{‘end_time’: 8.640000000173869e+19,
‘id_’: ‘_downrange__86399999999999913600’,
‘self’: <cmk.gui.views.command.commands.CommandScheduleDowntimes object at 0x7adc3f5381a0>,
‘start_time’: 1738765276.8647473,
‘time_range_end’: 86399999999999913600}
I just put in a huge number because I never wanted to see this value. Well, it seems that EVERY single service depends on this duration(I think it was for putting in a maintenance window) and I can’t find where to change this value from CLI. All I get going to any device is a crash report and I can’t find where in the gui i could change the value being accessed.
This is the file for the traceback:
File “/omd/sites/monitoring/lib/python3/cmk/gui/views/command/commands.py”, line 1731, in _get_onclick
f’cmk.utils.update_time(“date__down_to_date”,“{time.strftime(”%Y-%m-%d",time.localtime(end_time))}");’