macros.cfg #include files

macros.cfg specifies a collection of macros, or preprocessor text substitutions. 

The top-level macros.cfg might reference #include files, for example:

  • files_pikt_macros.cfg (standard PIKT file paths)
    • files_pikt_bin_macros.cfg (standard PIKT binary paths)
    • and so on for other PIKT file types...
  • unixcmds_macros.cfg (Unix command file paths)
    • unixcmds_redhat_linux_macros.cfg (Red Hat Linux command file paths),
    • unixcmds_suse_linux_macros.cfg (SuSE Linux command file paths)
    • and so on for other operating systems...
  • pikt_mail_macros.cfg (PIKT alert mail routing)
  • script_abort_macros.cfg (script aborts)
  • exec_process_macros.cfg (process execution)
  • input_macros.cfg (script input)
  • output_macros.cfg (script output)
  • output_scheduling_macros.cfg (output scheduling)
  • data_input_macros.cfg (script data input)
  • date_time_macros.cfg (date & time shortcuts)
  • scheduling_macros.cfg (script scheduling)
  • text_macros.cfg (text shortcuts)
  • condition_macros.cfg (logical conditions)
  • process_macros.cfg (process shortcuts)
  • network_macros.cfg (network matters)
  • network_service_test_macros.cfg (network service tests)
  • file_disk_macros.cfg (file & disk management)
  • path_macros.cfg (directory & file paths)
  • pager_macros.cfg (paging & emergency messaging)
  • priority_macros.cfg (system & alert priorities)
  • alerts_scripts_macros.cfg (alerts/scripts lists)
  • logfile_macros.cfg (logfile output, dates & times)
  • logfile_regexp_macros.cfg (logfile regular expressions)
  • html_macros.cfg (headers, text appearance, font size, font color, anchor tags)
  • firewall_macros.cfg (iptables firewall configurations)
  • and so on for other macro #include files...
macros.cfg might also reference script macro #include files, for example:
  • systems_down_alarms_macros.cfg (system downages)
  • systems_up_alarms_macros.cfg (system revivals)
  • service_downage_alarms_macros.cfg (service downages)
  • runaway_process_alarms_macros.cfg (runaway processes)
  • dmesg_scan_alarms_macros.cfg (dmesg scans)
  • syslog_scan_alarms_macros.cfg (syslog scans)
  • log_scan_alarms_macros.cfg (generic log scans)
  • pikt_log_scan_alarms_macros.cfg (PIKT log scans)
  • fix_logfile_permissions_alarms_macros.cfg (fixing logfile permissions)
  • permissions_owners_changes_alarms_macros.cfg (permissions & owners changes)
  • disks_near_full_alarms_macros.cfg (nearly full disks)
  • disks_full_alarms_macros.cfg (full disks)
  • crontab_change_alarms_macros.cfg (crontab changes)
  • fresh_files_alarms_macros.cfg (changed files)
  • stale_files_alarms_macros.cfg (unchanged files)
  • script_change_alarms_macros.cfg (script changes)
  • httpd_alarms_macros.cfg (nonsearch links, search links, search terms)
  • and so on for other script macro #include files...

(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.)

See also the Introduction and Developer's Notes pages for additional samples (with commentary).

 
Home | FAQ | News | Intro | Samples | Tutorial | Reference | Software
Developer's Notes | Licensing | Authors | Pikt-Users | Pikt-Workers | Related Projects | Site Index | Privacy Policy | Contact Us
Page best viewed at 1024x768 or greater.   Page last updated 2019-01-12.   This site is PIKT® powered.
Copyright © 1998-2019 Robert Osterlund. All rights reserved.
Home FAQ News Intro Samples Tutorial Reference Software
PIKT Logo
PIKT Page Title
View sample
crontab change
script macro