<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Configuration File</title><link>https://sourceforge.net/p/omnicheck/wiki/Configuration%2520File/</link><description>Recent changes to Configuration File</description><atom:link href="https://sourceforge.net/p/omnicheck/wiki/Configuration%20File/feed" rel="self"/><language>en</language><lastBuildDate>Wed, 17 Dec 2014 03:59:55 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/omnicheck/wiki/Configuration%20File/feed" rel="self" type="application/rss+xml"/><item><title>Configuration File modified by Les Peters</title><link>https://sourceforge.net/p/omnicheck/wiki/Configuration%2520File/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -14,7 +14,7 @@
 Mandatory: the directory OmniCheck expects to find the rulefiles.

 &lt;/pre&gt;&lt;pre&gt;home: /app
-home: /opt/omnicheck&lt;/pre&gt;
+home: /var/sfw/omnicheck
&lt;ul&gt;
&lt;li&gt;name&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;@@ -33,7 +33,7 @@&lt;/p&gt;
&lt;p&gt;&lt;pre&gt;file: /usr/adm/syslog/syslog.log&lt;br /&gt;
 file: #!/bin/df -k&lt;br /&gt;
-file: /oap/logs/&lt;em&gt;.err&lt;br /&gt;
+file: /app/logs/&lt;/em&gt;.err&lt;br /&gt;
 file: @/opt/omnicheck/file.list&lt;/pre&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;oldfile&lt;br /&gt;
@@ -66,8 +66,8 @@&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Optional: the name used when you want to monitor one file differently than another. The first block is always the "main" block, and the configuration file entries "process", "home", and "tmpdir" in the "main" block are copied into each subsequent block.&lt;/p&gt;
&lt;p&gt;-&lt;pre&gt;block: MAILDB_M01A_SYB&lt;br /&gt;
-block: dsl_reg_db&lt;/pre&gt;&lt;br /&gt;
+&lt;pre&gt;block: WebSrv_A&lt;br /&gt;
+block: Tomcat_B&lt;/pre&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;rules&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;@@ -158,14 +158,14 @@&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;maint&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;-Recommended: tells OmniCheck whether the monitored file(s) is under maintenance work or not. See 'production' above for true and false values. When the maint value is true, no notifications will be sent.&lt;br /&gt;
+Recommended: tells OmniCheck whether the monitored file(s) is under maintenance work or not. See 'production' above for true and false values. When the 'maint' value is true, no notifications will be sent.&lt;/p&gt;
&lt;p&gt;&lt;pre&gt;maint: no  # or 0 or off&lt;br /&gt;
 maint: yes # or 1 or on&lt;/pre&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;quiet&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;-Optional: tells OmniCheck when to be 'quiet', and not send any alerts. It follows the structure of crontab to provide values for the minute, hour, day, month, and day-of-week. Any trailing values not assigned are assumed to match all possible values (&lt;em&gt;).&lt;br /&gt;
+Optional: tells OmniCheck when to be 'quiet', and not send any alerts. It follows the structure of crontab(5) to provide values for the minute, hour, day, month, and day-of-week. Any trailing values not assigned are assumed to match all possible values (&lt;/em&gt;).&lt;/p&gt;
&lt;p&gt;&lt;pre&gt;quiet: * 15-19 * * *   # no alerts between 3:00pm and 7:59pm&lt;br /&gt;
 quiet: * 15-19         # same as above&lt;br /&gt;
@@ -194,7 +194,7 @@&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre&gt;admin: jblow&lt;br /&gt;
 admin: jblow@here.com&lt;br /&gt;
-admin: /oap/omnicheck_admin&lt;br /&gt;
+admin: /app/omnicheck_admin&lt;br /&gt;
 admin: #!/opt/omnicheck/get_admin.sh&lt;/pre&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;oncall&lt;br /&gt;
@@ -203,7 +203,7 @@&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;pre&gt;oncall: jblow&lt;br /&gt;
 oncall: jblow@here.com&lt;br /&gt;
-oncall: /oap/omnicheck_oncall&lt;br /&gt;
+oncall: /app/omnicheck_oncall&lt;br /&gt;
 oncall: #!/opt/omnicheck/get_oncall.sh&lt;/pre&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;organization&lt;br /&gt;
&lt;/li&gt;&lt;/ul&gt;&lt;/pre&gt;
&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Les Peters</dc:creator><pubDate>Wed, 17 Dec 2014 03:59:55 -0000</pubDate><guid>https://sourceforge.netf12950741f82a0b7fd9365cc135294caccad0f9f</guid></item><item><title>Configuration File modified by Les Peters</title><link>https://sourceforge.net/p/omnicheck/wiki/Configuration%2520File/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -1,6 +1,6 @@
 ## Configuration File Entries ##

-The configuration file contains all the necessary information to properly run an instance of OmniCheck. Below is a list of the available entries:
+The configuration file contains all the necessary information to properly run an instance of OmniCheck. Below is a list of the available entries, their use, and example values.

 + process

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Les Peters</dc:creator><pubDate>Sat, 13 Dec 2014 22:44:19 -0000</pubDate><guid>https://sourceforge.net6e7fd60c18685e74d421acdc338eb2694624033b</guid></item><item><title>Configuration File modified by Les Peters</title><link>https://sourceforge.net/p/omnicheck/wiki/Configuration%2520File/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -1,150 +1,221 @@
-Configuration
+## Configuration File Entries ##

 The configuration file contains all the necessary information to properly run an instance of OmniCheck. Below is a list of the available entries:
-process
+
++ process
+
 Mandatory: the unique name for this instance of OmniCheck. It is used as part of various filenames. Try to be descriptive of what is being monitored.
-process: syslog
-process: sapi-apps
-home
+
+&lt;/pre&gt;&lt;pre&gt;process: syslog
+process: web-apps&lt;/pre&gt;
+
++ home
+
 Mandatory: the directory OmniCheck expects to find the rulefiles.
-home: /oap
-home: /opt/omnicheck
-name
+
+&lt;pre&gt;home: /app
+home: /opt/omnicheck&lt;/pre&gt;
+
++ name
+
 Mandatory: the name used when OmniCheck sends mails and pages. The mnemonic NODE can be used to represent the nodename of the host.
-name: foobar
-name: NODE
-file
+
+&lt;pre&gt;name: foobar
+name: NODE&lt;/pre&gt;
+
++ file
+
 Mandatory: the file(s) that this instance/block of OmniCheck will monitor. This value can be any of the following:
 a single file
 a path to an executable program or script (prefaced with #!)
 a fileglob matching multiple files
 a filelist containing multiple files (prefaces with @)
-file: /usr/adm/syslog/syslog.log
+
+&lt;pre&gt;file: /usr/adm/syslog/syslog.log
 file: #!/bin/df -k
 file: /oap/logs/*.err
-file: @/opt/omnicheck/file.list
-oldfile
+file: @/opt/omnicheck/file.list&lt;/pre&gt;
+
++ oldfile
+
 Recommended: the filename of the previous rotation of a single file listed in the file configuration file entry. OmniCheck will parse and data that was written to this file after the last run, but before the file was rotated. This feature only works when a single file is being monitored in the block.
-oldfile: /usr/adm/oSYSLOG
-oldfile: /oap/logs/.old/process-a.err
-oldfile: #!/oap/calc_oldfile_name.sh
+
+&lt;pre&gt;oldfile: /usr/adm/oSYSLOG
+oldfile: /app/omnicheck/logs/.old/process-a.err
+oldfile: #!/app/omnicheck/bin/calc_oldfile_name.sh&lt;/pre&gt;
+
 See here for documentation on specifying oldfiles for files within a filelist.

-gzip
++ gzip
+
 Mandatory if using GNU ZIP to compress 'oldfiles': the full pathname of the binary for the GNU ZIP utility. This value will be used when 'oldfiles' compressed with gzip are used.
-gzip: /usr/bin/gzip
-tmpdir
+
+&lt;pre&gt;gzip: /usr/bin/gzip&lt;/pre&gt;
+
++ tmpdir
+
 Optional: the directory OmniCheck uses to store working files, such as the tellfile, spoolfile and lockfile. If "tmpdir" is not set in the configuration file, the most OS-appropriate directory will be used.
+
 NOTE: Do not set 'tmpdir' to /tmp on Solaris systems, as that filesystem is cleared on reboot, erasing your tellfiles.

-tmpdir: /usr/tmp
-tmpdir: /oap
-block
+&lt;pre&gt;tmpdir: /usr/tmp
+tmpdir: /var/tmp
+tmpdir: /app/omnicheck/tmp&lt;/pre&gt;
+
++ block
+
 Optional: the name used when you want to monitor one file differently than another. The first block is always the "main" block, and the configuration file entries "process", "home", and "tmpdir" in the "main" block are copied into each subsequent block.
-block: MAILDB_M01A_SYB
-block: dsl_reg_db
-rules
+
+&lt;pre&gt;block: MAILDB_M01A_SYB
+block: dsl_reg_db&lt;/pre&gt;
+
++ rules
+
 Mandatory: the filename for the patterns and associated actions (rules). There can be one or more rulefiles listed on the 'rules' entry, or each rulefile can be listed on their own line: regardless, the files are read in the order they are listed in the configuration file, and the rules therein are processed in the same order. The rulefiles can either be references relative to the home directory or via an absolute path:
-# relative to the 'home' directory
-
-rules: rules.local rules.group rules.global
-rules: rules.process_1 rules.process_group rules.all_processes
-
-# absolute
-
-rules: /opt/omnicheck/special/rules.special
-logs
+
+Relative to the 'home' directory
+
+&lt;pre&gt;rules: rules.local rules.group rules.global
+rules: rules.process_1 rules.process_group rules.all_processes&lt;/pre&gt;
+
+Absolute path
+
+&lt;pre&gt;rules: /opt/omnicheck/special/rules.special&lt;/pre&gt;
+
++ logs
+
 Optional: the directory to which OmniCheck will write its omnicheck.err and omnicheck.out log files. If not defined, the home directory will be used.
-logs: /oap/logs
-logs: /usr/local/omnicheck/logs
-out
+
+&lt;pre&gt;logs: /oap/logs
+logs: /usr/local/omnicheck/logs&lt;/pre&gt;
+
++ out
+
 Optional: the filename to use for STDOUT of OmniCheck. Unix date(1)-style mnemonics can be added to provide an auto-rotation feature. The default value is omnicheck.out
-out: omnicheck_%Y%m%d.out
-out: omnicheck_%H:%M:%S.out
-err
+
+&lt;pre&gt;out: omnicheck_%Y%m%d.out
+out: omnicheck_%H:%M:%S.out&lt;/pre&gt;
+
++ err
+
 Optional: the filename to use for STDERR of OmniCheck. Unix date(1)-style mnemonics can be added to provide an auto-rotation feature. The default value is omnicheck.err
-err: omnicheck_%Y-%m-%d.err
-err: omnicheck_%H:%M:%S.err
-debug
-Optional: the level of messages to generate in the omnicheck.err file. Messages at lower levels will be written, i.e., 'crit' includes 'alert' and 'emer', et cetera
-# highest level = most log entries
-
-debug: debug 
+
+&lt;pre&gt;err: omnicheck_%Y-%m-%d.err
+err: omnicheck_%H:%M:%S.err&lt;/pre&gt;
+
++ debug
+
+Optional: the level of messages to generate in the omnicheck.err file. Messages at lower levels will be written, i.e., 'crit' includes 'alert' and 'emer', et cetera.  The higher the level, the more log entries generated.
+
+&lt;pre&gt;debug: debug 
 debug: info
-
-# notice is default production level
-
-debug: notice 
+debug: notice # default level 
 debug: warn
 debug: err 
 debug: crit
 debug: alert
-debug: emer
-interval
+debug: emer&lt;/pre&gt;
+
++ interval
+
 Mandatory for running in persistent (daemon) mode: provides OmniCheck the minimum length of time (in seconds) to spend in each iteration of its event loop. If an event loop takes longer than interval seconds, the next event loop will start immediately after the last.
-interval: 300
-IRS
+
+&lt;pre&gt;interval: 300&lt;/pre&gt;
+
++ IRS
+
 Optional: defines an input record separator (IRS) for logs that consist of multiple lines. When this configuration entry is used, it should contain a regex matching the beginning of a new multiple-line log entry. OmniCheck will match each line of the new content for this pattern, and if found, will begin a new record with this line. Note: the multiple-line records will contain newlines.
-IRS: ^\d\d\d\d-\d\d-\d\d-\d\d\.\d\d\.\d\d\.\d+
-IRS: ^[A-Z] [A-Z][a-z][a-z] [ \d]\d \d\d:\d\d:\d\d \d\d\d\d 
+
+&lt;pre&gt;IRS: ^\d\d\d\d-\d\d-\d\d-\d\d\.\d\d\.\d\d\.\d+
+IRS: ^[A-Z] [A-Z][a-z][a-z] [ \d]\d \d\d:\d\d:\d\d \d\d\d\d &lt;/pre&gt;
+
 There is an optional :trim tag you can associate with the IRS entry to match a set of lines, trim off the matching part, like a date/time stamp, then concatenate the remainders into one line.

-IRS: ^\d\d\d\d-\d\d-\d\d-\d\d\.\d\d\.\d\d\.\d+ :trim
-IRS: ^[A-Z] [A-Z][a-z][a-z] [ \d]\d \d\d:\d\d:\d\d \d\d\d\d :trim
+&lt;pre&gt;IRS: ^\d\d\d\d-\d\d-\d\d-\d\d\.\d\d\.\d\d\.\d+ :trim
+IRS: ^[A-Z] [A-Z][a-z][a-z] [ \d]\d \d\d:\d\d:\d\d \d\d\d\d :trim&lt;/pre&gt;
+
 NOTE: may not be used in persistent mode.

-Flags to control OmniCheck's function:
-
-production
-Recommended: tells OmniCheck whether the monitored file(s) is 'in production' or not. A true value would be 'on', 'yes', or '1', whereas a false value would be 'off', 'no', or '0' (zero). When the production value is false, pages are downgraded to mails, and actions that would contact the oncall now contact the admin.
-production: no  # or 0 or off
-production: yes # or 1 or on
-farm
+### Flags to control OmniCheck's function ###
+
++ production
+
+Recommended: tells OmniCheck whether the monitored file(s) is 'in production' or not. A true 
+value would be 'on', 'yes', or '1', whereas a false value would be 'off', 'no', or '0' (zero). When the production value is false, pages are downgraded to mails, and actions that would contact the oncall now contact the admin.
+
+&lt;pre&gt;production: no  # or 0 or off
+production: yes # or 1 or on&lt;/pre&gt;
+
++ farm
+
 Recommended: tells OmniCheck whether the monitored file(s) is part of a redundant set of objects or not.
 The theory goes that a single component of a farm can endure an failure without causing adverse impact to the farm as a whole.

 See 'production' above for true and false values. When the farm value is true, the effect is the same as if the production value is false.

-farm: no  # or 0 or off
-farm: yes # or 1 or on
-maint
+&lt;pre&gt;farm: no  # or 0 or off
+farm: yes # or 1 or on&lt;/pre&gt;
+
++ maint
+
 Recommended: tells OmniCheck whether the monitored file(s) is under maintenance work or not. See 'production' above for true and false values. When the maint value is true, no notifications will be sent.
-maint: no  # or 0 or off
-maint: yes # or 1 or on
-
-quiet
+
+&lt;pre&gt;maint: no  # or 0 or off
+maint: yes # or 1 or on&lt;/pre&gt;
+
++ quiet
+
 Optional: tells OmniCheck when to be 'quiet', and not send any alerts. It follows the structure of crontab to provide values for the minute, hour, day, month, and day-of-week. Any trailing values not assigned are assumed to match all possible values (*).
-quiet: * 15-19 * * *   # no alerts between 3:00pm and 7:59pm
+
+&lt;pre&gt;quiet: * 15-19 * * *   # no alerts between 3:00pm and 7:59pm
 quiet: * 15-19         # same as above
-quiet: * * * * 0,6     # no alerts on Saturday or Sunday
-Required Entries for sending mail or pages
-
-smtphost
+quiet: * * * * 0,6     # no alerts on Saturday or Sunday&lt;/pre&gt;
+
+### Required Entries for sending mail or pages ###
+
++ smtphost
+
 the name of the host handling SMTP traffic for your site, or the path to a SMTP-capable binary on your system. Any necessary options for the binary must be provided.
-smtphost: localhost
+
+&lt;pre&gt;smtphost: localhost
 smtphost: relay.mail.here.com
-smtphost: /usr/lib/sendmail -t
-pagerhost
-the name of the host that will translate an email into a pager message.
-pagerhost: pager.foo.com
-pagerhost: page.mail.here.com
-admin
+smtphost: /usr/lib/sendmail -t&lt;/pre&gt;
+
++ pagerhost
+
+The name of the host that will translate an email into a pager message.
+
+&lt;pre&gt;pagerhost: pager.foo.com
+pagerhost: page.mail.here.com&lt;/pre&gt;
+
++ admin
+
 the name of the administrator for the file/system being monitored. Valid values are bare Unix username, a fully-formed email address, a simple file containing either a username or email address, or an executable script/program whose output is either a username or email address. The value of this entry replaces action references to 'admin'.
-admin: jblow
+
+&lt;pre&gt;admin: jblow
 admin: jblow@here.com
 admin: /oap/omnicheck_admin
-admin: #!/opt/omnicheck/get_admin.sh
-oncall
+admin: #!/opt/omnicheck/get_admin.sh&lt;/pre&gt;
+
++ oncall
+
 the name of the oncall personnel for the file/system being monitored. Valid values are bare Unix username, a fully-formed email address, a simple file containing either a username or email address, or an executable script/program whose output is either a username or email address. The value of this entry replaces action references to 'oncall'.
-oncall: jblow
+
+&lt;pre&gt;oncall: jblow
 oncall: jblow@here.com
 oncall: /oap/omnicheck_oncall
-oncall: #!/opt/omnicheck/get_oncall.sh
-organization
+oncall: #!/opt/omnicheck/get_oncall.sh&lt;/pre&gt;
+
++ organization
+
 Optional: This field can be used to identify to which group that an instance of OmniCheck belongs, as well as invoke different actions within a single rule: see here for more information.
-organization: QA_Team
+
+&lt;pre&gt;organization: QA_Team
 organization: NorthAm.Prod
-organization: Foobar
-fqdn
+organization: Foobar&lt;/pre&gt;
+
++ fqdn
+
 May be mandatory: Certain Unix-based architectures do not provide proper hostname identification (you know who you are). For those systems, you can provide a name to use for mail and page events.
-fqdn: foobar.db.foo.com
+
+&lt;pre&gt;fqdn: foobar.db.foo.com&lt;/pre&gt;

&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Les Peters</dc:creator><pubDate>Sat, 13 Dec 2014 22:40:46 -0000</pubDate><guid>https://sourceforge.net3b691ae29fa6fea09c28a45f332294c2a5a6b94e</guid></item><item><title>Configuration File modified by Les Peters</title><link>https://sourceforge.net/p/omnicheck/wiki/Configuration%2520File/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Configuration&lt;/p&gt;
&lt;p&gt;The configuration file contains all the necessary information to properly run an instance of OmniCheck. Below is a list of the available entries:&lt;br /&gt;
process&lt;br /&gt;
Mandatory: the unique name for this instance of OmniCheck. It is used as part of various filenames. Try to be descriptive of what is being monitored.&lt;br /&gt;
process: syslog&lt;br /&gt;
process: sapi-apps&lt;br /&gt;
home&lt;br /&gt;
Mandatory: the directory OmniCheck expects to find the rulefiles.&lt;br /&gt;
home: /oap&lt;br /&gt;
home: /opt/omnicheck&lt;br /&gt;
name&lt;br /&gt;
Mandatory: the name used when OmniCheck sends mails and pages. The mnemonic NODE can be used to represent the nodename of the host.&lt;br /&gt;
name: foobar&lt;br /&gt;
name: NODE&lt;br /&gt;
file&lt;br /&gt;
Mandatory: the file(s) that this instance/block of OmniCheck will monitor. This value can be any of the following:&lt;br /&gt;
a single file&lt;br /&gt;
a path to an executable program or script (prefaced with #!)&lt;br /&gt;
a fileglob matching multiple files&lt;br /&gt;
a filelist containing multiple files (prefaces with @)&lt;br /&gt;
file: /usr/adm/syslog/syslog.log&lt;br /&gt;
file: #!/bin/df -k&lt;br /&gt;
file: /oap/logs/*.err&lt;br /&gt;
file: @/opt/omnicheck/file.list&lt;br /&gt;
oldfile&lt;br /&gt;
Recommended: the filename of the previous rotation of a single file listed in the file configuration file entry. OmniCheck will parse and data that was written to this file after the last run, but before the file was rotated. This feature only works when a single file is being monitored in the block.&lt;br /&gt;
oldfile: /usr/adm/oSYSLOG&lt;br /&gt;
oldfile: /oap/logs/.old/process-a.err&lt;br /&gt;
oldfile: #!/oap/calc_oldfile_name.sh&lt;br /&gt;
See here for documentation on specifying oldfiles for files within a filelist.&lt;/p&gt;
&lt;p&gt;gzip&lt;br /&gt;
Mandatory if using GNU ZIP to compress 'oldfiles': the full pathname of the binary for the GNU ZIP utility. This value will be used when 'oldfiles' compressed with gzip are used.&lt;br /&gt;
gzip: /usr/bin/gzip&lt;br /&gt;
tmpdir&lt;br /&gt;
Optional: the directory OmniCheck uses to store working files, such as the tellfile, spoolfile and lockfile. If "tmpdir" is not set in the configuration file, the most OS-appropriate directory will be used.&lt;br /&gt;
NOTE: Do not set 'tmpdir' to /tmp on Solaris systems, as that filesystem is cleared on reboot, erasing your tellfiles.&lt;/p&gt;
&lt;p&gt;tmpdir: /usr/tmp&lt;br /&gt;
tmpdir: /oap&lt;br /&gt;
block&lt;br /&gt;
Optional: the name used when you want to monitor one file differently than another. The first block is always the "main" block, and the configuration file entries "process", "home", and "tmpdir" in the "main" block are copied into each subsequent block.&lt;br /&gt;
block: MAILDB_M01A_SYB&lt;br /&gt;
block: dsl_reg_db&lt;br /&gt;
rules&lt;br /&gt;
Mandatory: the filename for the patterns and associated actions (rules). There can be one or more rulefiles listed on the 'rules' entry, or each rulefile can be listed on their own line: regardless, the files are read in the order they are listed in the configuration file, and the rules therein are processed in the same order. The rulefiles can either be references relative to the home directory or via an absolute path:&lt;/p&gt;
&lt;h1 id="relative-to-the-home-directory"&gt;relative to the 'home' directory&lt;/h1&gt;
&lt;p&gt;rules: rules.local rules.group rules.global&lt;br /&gt;
rules: rules.process_1 rules.process_group rules.all_processes&lt;/p&gt;
&lt;h1 id="absolute"&gt;absolute&lt;/h1&gt;
&lt;p&gt;rules: /opt/omnicheck/special/rules.special&lt;br /&gt;
logs&lt;br /&gt;
Optional: the directory to which OmniCheck will write its omnicheck.err and omnicheck.out log files. If not defined, the home directory will be used.&lt;br /&gt;
logs: /oap/logs&lt;br /&gt;
logs: /usr/local/omnicheck/logs&lt;br /&gt;
out&lt;br /&gt;
Optional: the filename to use for STDOUT of OmniCheck. Unix date(1)-style mnemonics can be added to provide an auto-rotation feature. The default value is omnicheck.out&lt;br /&gt;
out: omnicheck_%Y%m%d.out&lt;br /&gt;
out: omnicheck_%H:%M:%S.out&lt;br /&gt;
err&lt;br /&gt;
Optional: the filename to use for STDERR of OmniCheck. Unix date(1)-style mnemonics can be added to provide an auto-rotation feature. The default value is omnicheck.err&lt;br /&gt;
err: omnicheck_%Y-%m-%d.err&lt;br /&gt;
err: omnicheck_%H:%M:%S.err&lt;br /&gt;
debug&lt;br /&gt;
Optional: the level of messages to generate in the omnicheck.err file. Messages at lower levels will be written, i.e., 'crit' includes 'alert' and 'emer', et cetera&lt;/p&gt;
&lt;h1 id="highest-level-most-log-entries"&gt;highest level = most log entries&lt;/h1&gt;
&lt;p&gt;debug: debug &lt;br /&gt;
debug: info&lt;/p&gt;
&lt;h1 id="notice-is-default-production-level"&gt;notice is default production level&lt;/h1&gt;
&lt;p&gt;debug: notice &lt;br /&gt;
debug: warn&lt;br /&gt;
debug: err &lt;br /&gt;
debug: crit&lt;br /&gt;
debug: alert&lt;br /&gt;
debug: emer&lt;br /&gt;
interval&lt;br /&gt;
Mandatory for running in persistent (daemon) mode: provides OmniCheck the minimum length of time (in seconds) to spend in each iteration of its event loop. If an event loop takes longer than interval seconds, the next event loop will start immediately after the last.&lt;br /&gt;
interval: 300&lt;br /&gt;
IRS&lt;br /&gt;
Optional: defines an input record separator (IRS) for logs that consist of multiple lines. When this configuration entry is used, it should contain a regex matching the beginning of a new multiple-line log entry. OmniCheck will match each line of the new content for this pattern, and if found, will begin a new record with this line. Note: the multiple-line records will contain newlines.&lt;br /&gt;
IRS: ^\d\d\d\d-\d\d-\d\d-\d\d.\d\d.\d\d.\d+&lt;br /&gt;
IRS: ^&lt;span&gt;[A-Z]&lt;/span&gt; &lt;span&gt;[A-Z]&lt;/span&gt;&lt;span&gt;[a-z]&lt;/span&gt;&lt;span&gt;[a-z]&lt;/span&gt; &lt;span&gt;[ \d]&lt;/span&gt;\d \d\d:\d\d:\d\d \d\d\d\d &lt;br /&gt;
There is an optional :trim tag you can associate with the IRS entry to match a set of lines, trim off the matching part, like a date/time stamp, then concatenate the remainders into one line.&lt;/p&gt;
&lt;p&gt;IRS: ^\d\d\d\d-\d\d-\d\d-\d\d.\d\d.\d\d.\d+ :trim&lt;br /&gt;
IRS: ^&lt;span&gt;[A-Z]&lt;/span&gt; &lt;span&gt;[A-Z]&lt;/span&gt;&lt;span&gt;[a-z]&lt;/span&gt;&lt;span&gt;[a-z]&lt;/span&gt; &lt;span&gt;[ \d]&lt;/span&gt;\d \d\d:\d\d:\d\d \d\d\d\d :trim&lt;br /&gt;
NOTE: may not be used in persistent mode.&lt;/p&gt;
&lt;p&gt;Flags to control OmniCheck's function:&lt;/p&gt;
&lt;p&gt;production&lt;br /&gt;
Recommended: tells OmniCheck whether the monitored file(s) is 'in production' or not. A true value would be 'on', 'yes', or '1', whereas a false value would be 'off', 'no', or '0' (zero). When the production value is false, pages are downgraded to mails, and actions that would contact the oncall now contact the admin.&lt;br /&gt;
production: no  # or 0 or off&lt;br /&gt;
production: yes # or 1 or on&lt;br /&gt;
farm&lt;br /&gt;
Recommended: tells OmniCheck whether the monitored file(s) is part of a redundant set of objects or not.&lt;br /&gt;
The theory goes that a single component of a farm can endure an failure without causing adverse impact to the farm as a whole.&lt;/p&gt;
&lt;p&gt;See 'production' above for true and false values. When the farm value is true, the effect is the same as if the production value is false.&lt;/p&gt;
&lt;p&gt;farm: no  # or 0 or off&lt;br /&gt;
farm: yes # or 1 or on&lt;br /&gt;
maint&lt;br /&gt;
Recommended: tells OmniCheck whether the monitored file(s) is under maintenance work or not. See 'production' above for true and false values. When the maint value is true, no notifications will be sent.&lt;br /&gt;
maint: no  # or 0 or off&lt;br /&gt;
maint: yes # or 1 or on&lt;/p&gt;
&lt;p&gt;quiet&lt;br /&gt;
Optional: tells OmniCheck when to be 'quiet', and not send any alerts. It follows the structure of crontab to provide values for the minute, hour, day, month, and day-of-week. Any trailing values not assigned are assumed to match all possible values (&lt;em&gt;).&lt;br /&gt;
quiet: * 15-19 * &lt;/em&gt; *   # no alerts between 3:00pm and 7:59pm&lt;br /&gt;
quiet: * 15-19         # same as above&lt;br /&gt;
quiet: * &lt;em&gt; * &lt;/em&gt; 0,6     # no alerts on Saturday or Sunday&lt;br /&gt;
Required Entries for sending mail or pages&lt;/p&gt;
&lt;p&gt;smtphost&lt;br /&gt;
the name of the host handling SMTP traffic for your site, or the path to a SMTP-capable binary on your system. Any necessary options for the binary must be provided.&lt;br /&gt;
smtphost: localhost&lt;br /&gt;
smtphost: relay.mail.here.com&lt;br /&gt;
smtphost: /usr/lib/sendmail -t&lt;br /&gt;
pagerhost&lt;br /&gt;
the name of the host that will translate an email into a pager message.&lt;br /&gt;
pagerhost: pager.foo.com&lt;br /&gt;
pagerhost: page.mail.here.com&lt;br /&gt;
admin&lt;br /&gt;
the name of the administrator for the file/system being monitored. Valid values are bare Unix username, a fully-formed email address, a simple file containing either a username or email address, or an executable script/program whose output is either a username or email address. The value of this entry replaces action references to 'admin'.&lt;br /&gt;
admin: jblow&lt;br /&gt;
admin: jblow@here.com&lt;br /&gt;
admin: /oap/omnicheck_admin&lt;br /&gt;
admin: #!/opt/omnicheck/get_admin.sh&lt;br /&gt;
oncall&lt;br /&gt;
the name of the oncall personnel for the file/system being monitored. Valid values are bare Unix username, a fully-formed email address, a simple file containing either a username or email address, or an executable script/program whose output is either a username or email address. The value of this entry replaces action references to 'oncall'.&lt;br /&gt;
oncall: jblow&lt;br /&gt;
oncall: jblow@here.com&lt;br /&gt;
oncall: /oap/omnicheck_oncall&lt;br /&gt;
oncall: #!/opt/omnicheck/get_oncall.sh&lt;br /&gt;
organization&lt;br /&gt;
Optional: This field can be used to identify to which group that an instance of OmniCheck belongs, as well as invoke different actions within a single rule: see here for more information.&lt;br /&gt;
organization: QA_Team&lt;br /&gt;
organization: NorthAm.Prod&lt;br /&gt;
organization: Foobar&lt;br /&gt;
fqdn&lt;br /&gt;
May be mandatory: Certain Unix-based architectures do not provide proper hostname identification (you know who you are). For those systems, you can provide a name to use for mail and page events.&lt;br /&gt;
fqdn: foobar.db.foo.com&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Les Peters</dc:creator><pubDate>Sat, 13 Dec 2014 21:38:19 -0000</pubDate><guid>https://sourceforge.netbc7dfd9284f698122b3a30d9cba96d785482d679</guid></item></channel></rss>