For real-world examples, see the sample config files. PIKT is an embedded scripting language and accompanying script interpreter. PIKT is also a sophisticated script and system configuration file preprocessor for use with the Pikt scripting language or any other scripting language of your choice. PIKT's primary purpose is to monitor systems, report problems, and fix those problems whenever possible, but its flexibility lends itself to quite a few other uses as well. On the central control machine, there are eight controlling config files that define your entire setup.
Alerts run at specific intervals, e.g., hourly, once daily, once weekly, etc.
At the appropriate time, piktd summons the pikt interpreter to run the Pikt scripts for that alarm group. You can also run Pikt scripts manually at the command line, but usually they are invoked by piktd. Individual Pikt scripts usually monitor just one aspect of a system. Each Pikt alarm script gets its input from processes, files, or log files. For log files, only new log entries since the last alarm run are considered.