Samples
PIKT is a cross-categorical, multi-purpose toolkit for Unix/Linux systems and network administration.
Although intended primarily for system monitoring, and secondarily for configuration management, PIKT's versatility and extensibility inspire many other interesting and wide-ranging uses.
Suggested uses include: system and network monitor, configuration manager, change auditor, log file analyzer, host-based intrusion detection system (HIDS), process scheduler, macro preprocessor, customizing file installer, document formatter, website content management system, software tester, command-line assistant, etc.
PIKT does none of these things right "out of the box." To get PIKT to do anything, you first have to configure it. PIKT has as many as eight standard config files, although you may deploy fewer than those eight if you wish.
Before starting your configuration (and after working through the PIKT Tutorial), be sure to read Where Do You Go from Here, also Script Development and Testing.
Following are some example configurations:
|
|
(A note about page layout: In the interest of readability, we have added artificial line wraps in many examples. Even though displayed here broken up across several screen lines, in general quoted strings, preprocessor directives, macro definitions, .log & .conf entries, and so on should all be unbroken on a single line.)
These samples do not constitute a complete, coherent PIKT configuration, nor are they necessarily current. Much has been left out. The provided examples are suggestive only. Use them as inspiration for designing and writing your own configuration.
It should be emphasized that the examples shown here are not an intrinsic part of PIKT. You may adopt the suggested formats, layouts, #include files, macros, timings, scripts, object sets, etc., or you may devise a completely different setup. You may use the Pikt script language, or employ the one you favor (such as Perl, Python, or whatever). You may utilize PIKT for every purpose, or just pick and choose among its many functionalities. Be as complicated as you like, or keep things simple. You have the utmost flexibility. The choices are entirely yours.
See also the Introduction and Developer's Notes pages for additional samples (with commentary).