Time periods: import .ics: recurrence

Using Checkmk Raw Edition 2.1.0p5 trying to import a ‘simple’ .ics file to get recurring days as time period for check period for certain hosts.

Made .ics file with Outlook 16, this produced a lot of extra code in file defining timezone, daylight saving period, huge amount of Word HTML definitions. This made import giving errors unable to parse lots of lines.

Docs on time periods suggests that it doesn’t trip on ics files downloaded from Kalenderdaten als ICS Datei Download - Ferienwiki, so downloaded one, looked at what the basics are, cleaned code of my ics file.

Cleaned ics for recurring mo, tu, we, th starting this week:

BEGIN:VCALENDAR
PRODID:-//Microsoft Corporation//Outlook 16.0 MIMEDIR//EN
VERSION:2.0
METHOD:PUBLISH
BEGIN:VEVENT
DESCRIPTION:ics_1
DTSTAMP:20221013T075452Z
DTSTART;VALUE=DATE:20221010
DTEND;VALUE=DATE:20221013
RRULE:FREQ=WEEKLY;BYDAY=MO,TU,WE,TH
SEQUENCE:0
SUMMARY:ics_1
UID:1
END:VEVENT
END:VCALENDAR

I had specific times in ics as well, but Checkmk didn’t like that either, so to keep it simple now used the times option during import. Would be nice if it does support that too.

image

Import results in:

What puzzles me, today, thursday 2022-10-13 is missing. Why?

Oh, and while typing I notice they are made as exceptions. Import ics apparently is only for exceptions. (Maybe import needs a feature telling ics is active time range or exceptions.) Currently, I should have made the inverse ics when hosts are not up. But this can be perhaps resolved to use this time period as an exception for another time period.

Also no recurrence, just this weeks dates.
So assuming RRULE:FREQ=WEEKLY;BYDAY=MO,TU,WE,TH isn’t supported. If it is supported, can someone share a working ics example code?

Is there documentation what is, or isn’t, supported with importing ics files?

Maybe it’s a raw issue, but only found that recurrence in scheduled downtimes is an enterprise feature.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.