#
# file format
#
# lines that begin with ; or # are ignored
# 
# Line format:
#
# hostname type [port num] message [contact] [ { ]
#
# Portions of the line can be enclosed in single or double quotes.
# ex: hostname ping "hostname Serial3/0 ckdid: a.b.c.d" contact@pager.net {
#
#
# Or:
# config numfailures ###
# config include full-path-to-file
#
# where the # is the number of failures that must happen before
# the contact is contacted.
#
# You can only have sub services of a host if it is a pingable
# object in this hostfile -- such as the free-lan router
# is a pingable device, and the devices behind it are two unix boxes
#
# The admin gets paged if the machine goes unpingable, not if each
# individual service fails
#
# This is a sample configuration file:
# firewall router
#
# you can specify either html for a tabled html page or
# text for a flat text file with the information in it.
config statusfile html /home/httpd/htdocs/statfile.html
#
# re page every 55 minutes
config pageinterval 55

##
## Perform the tests on each host every 120 seconds
## instead of the default (60 seconds).
config queuetime 120
##


# no logging, you can also specify local0-6, and the other types of services,
# such as mail, etc..
config logging none

##
## You can add a user-defined header to appear in the message
##

config header X-Sysmon-Header  Value

## The system will automatically add the : in the message sent out
##
## To remove the header, use config header null null
## as the header will appear in all monitored devices listed further
## down in the configuration file from that point.
##

#
# log dns stats every 600 seconds
config dnslog 600
# expire old dns data after every 900 seconds
config dnsexpire 900

# 
# This is a cleartext password used to enable 
# restricted features in sysmon that are coming
# in future releases.
#
config authkey AuthKeyHere

#
#
# set this if you don't want heartbeat packets sent, only set this if you're
# paranoid.. I use this for statistical purposes, and won't give the data to
# anyone..
# config noheartbeat
#
router ping firewall networkgod@page.your.net {
# freenet router
 iti ping iti-eth2-0 admin@page.your.net {
  nether.net ping nether.net admin@page.your.net {
   nether.net tcp 21 ftpd admin@pager.your.net
   nether.net tcp 23 telnet

; set the tolerance higher for this service before someone gets
; paged
config numfailures 7

   nether.net smtp smtp

; reset number of failures to default
config numfailures 5

   nether.net udp 53 named
; Check /index.html for the text FooBarz! in the web page somewhere.
; It will send e-mail if the text becomes missing
   www.nether.net www /index.html FooBarz! WWW-server webadmin@webpager
  }
  puck.nether.net ping puck.nether.net admin@page.your.net {
   puck.nether.net smtp smtp
   puck.nether.net tcp 23 telnet
  }
 }
}
news.nether.net ping news.nether.net news@your.pager {
 news nntp news news@your.pager
}
# imap.server.name.net imap imap-username imap-pw [ admin@your.pager ]
nic.nether.net ping nic.nether.net my@pager.net {
 nic.nether.net imap jared xxxx imap-auth imapauth
 nic.nether.net imap jared xxxx imap-auth imapauth with-pager
 nic.nether.net pop3 username password pop3auth optional@contact.place
}
;
;
; example of umich x.500 monitoring
#x500.umich.edu umichx500 pager@your.pager


## Example of spawn use:

box.nether.net ping "box i286" "spawn /usr/bin/echo problem with %h" user@mail

## %h is interpreted as the rest of the %... replacements are in
## pmesg and such.  e-mail is sent to user@mail when it goes down,
## with the output of the command that was run.
##

####  From loadconfig.c:
####
#                /* Ex: hostname tcp # desc "spawn" email {  */
#                /* Ex: hostname udp # desc "spawn" email { */
#                /* Ex: hostname ping desc "spawn" email { */
#                /* Ex: hostname nntp desc "spawn" email { */
#                /* Ex: hostname smtp desc "spawn" email { */
#                /* Ex: hostname sysmon desc "spawn" email { */
########### Note -- SSH check not implemented
#                /* Ex: hostname ssh desc "spawn" email { */
########### end note ---
#                /* Ex: hostname umichx500 desc "spawn" email { */
#                /* Ex: hostname imap user pw desc "spawn" email { */
#                /* Ex: hostname pop3 user pw desc "spawn" email { */
#                /* Ex: hostname pop2 user pw desc "spawn" email { */
#                /* Ex: hostname http /file text desc "spawn" email { */
#		 /* Ex: hostname radius user@x password secret desc [spawn] [email] [{] */
#
