Sysmon Configuration Documentation Page

# Configuration Examples/Guide Page

currently under development, ie: very raw docs

    ## You can set where sysmond logs outage messages
    ## to be any of the available syslog facilities
    config logging local6

    ##
    ## You can also configure it to write either a text or
    ## HTML status file
    ## (by default no file is written)

    config statusfile html /home/httpd/html/sysmon.stat.html

    # config statusfile [text|html] /path/to/file
    ##

    ## You can also include other configuration files
    ## such that you can seperate geographic regions, or
    ## specific machine groups into seperate files

    # config include /path/to/file

    ## You can tell sysmon to show hosts that are up
    ## also in it's output (ala whatsup view log, etc)
    ## (by default this option is off)

    # config showupalso

    ## You can configure sysmon to insert an Errors-to:
    ## headder in the e-mail message that it sends

    # config errorsto e-mail-add

    ## You can configure sysmon to repage you if an
    ## outage is still the case (time is in minutes)
    ## (default is no repage)

    config pageinterval 55

    ## You can configure the sensitivity of
    ## sysmon on a per-host basis.  Once you configure
    ## this, it follows all hosts down in the file,
    ## so just redeclare it with a different value
    ## (default is 4)

    config numfailures 3

    ## You can also build network dependencies based on
    ## other checks, allowing you to not get pages for
    ## each site that goes down
    nnn-2514-e1.nether.net ping nnn-2514-e1 {
     nnn-2524-e0.nether.net ping nnn-2524-e0 {

    ## Sysmon uses e-mail to deliver outage messages
    ## to you, you can use any number of e-mail to
    ## pager gateways, this means sysmon won't spend
    ## its time talking to pager software, allowing
    ## it to monitor the network instead.

    ## As of 0.80.2.2 (and newer), this is the example of
    ## how you can configure the various checks.
    ## Things in square brackets are optional

    ## Spawn *must* be in quotes, all others can be
    ## in quotes, either single or double ie: "" or ''

    ## /* ex: hostname tcp # desc ["spawn"] [email] [{]  */
    ## /* ex: hostname udp # desc ["spawn cmd"] [email] [{] */
    ## /* ex: hostname ping desc ["spawn cmd"] [email] [{] */
    ## /* ex: hostname nntp desc ["spawn cmd"] [email] [{] */
    ## /* ex: hostname smtp desc ["spawn cmd"] [email] [{] */
    ## /* ex: hostname sysmon desc ["spawn cmd"] [email] [{] */
    ## /* ex: hostname ssh desc ["spawn cmd"] [email] [{] */
    ## /* ex: hostname x500 desc ["spawn cmd"] [email] [{] */
    ## /* ex: hostname imap user pw desc ["spawn cmd"] [email] [{] */
    ## /* ex: hostname pop3 user pw desc ["spawn cmd"] [email] [{] */
    ## /* ex: hostname pop2 user pw desc ["spawn cmd"] [email] [{] */
    ## /* ex: hostname http /file text desc ["spawn cmd"] [email] [{] */

      nether.net ping nether.net your@pager.net {
       nether.net tcp 21 ftpd
       nether.net smtp smtp
       nether.net tcp 80 www
      }
     }
     nnn-2514-e0.nether.net ping nnn-2514-e0 {
      punk.nether.net ping punk.nether.net
     }
     rtr.nether.net ping rtr.nether.net {
      irc.nether.net ping irc.nether.net {
       irc.nether.net smtp smtp
      }
     }
    }

Back to the homepage
© 1996-1999 - Jared Mauch