Example Config

# locations of various items on web pages
sirensong:	/sound/whoopwhoop.wav
bkgimage:	/img/argus.logo.gif
icon:		/img/smile.gif
icon_down:	/img/sadred.gif
nospkr_icon:	/img/nospkr.gif
style_sheet:	/argus.css
javascript:	/argus.js

# send messages to syslog
syslog:		daemon

# who should be notified when things break?
notify:		mail:support@example.com

# don't summarize notifications
nolotsmsgs:	yes

# enable built in tcp test port
test_port:	3074

# enable built in resolver
Resolv


Group "Example" {
    Group "Servers" {
        frequency: 60
        Host "eury" {
            hostname: eury.example.com
            Service TCP/HTTP
            Service UDP/DNS
            Service UDP/Domain/example.com
            Service UDP/NFS
            Service Ping
            Service TCP {
                # notify someone else when this breaks
                notify:    mail:loco-support@example.com
                label:     LoCo
                info:      in-house LoCo server
                port:      87
		readhow:   banner
                send:      HELO\n
                expect:    200 OK
            }
            Service TCP/URL {
                label:    SQL
                url:      http://www.example.com/cgi-bin/dbtest.pl
                expect:   DATABASE OK
            }
        }
        Host "pen" {
            hostname: pen.example.com
            Service TCP/SMTP
            Service UDP/DNS
            Service UDP/NFS
            Service Ping
        }
        Host "gw" {
            hostname: 192.168.200.1
            community: public
            Service Ping
            Service UDP/SNMP {
                label:    foo
                oid:      .1.3.6.1.2.1.2.2.1.7.2
                eqvalue:  1
            }
            Service UDP/SNMP/OperStatus.2 {
                eqvalue: 1
            }
        }
    }

    Alias "Bar" "Top:Foo:Colo"

    Group "World Reachability" {
        countstop:    yes
        frequency:    10mins
        sendnotify:   yes

        Group "Root Servers" {
            # do not send a notification if only some are down
            # only if they are all down
            gravity:        up

            Service Ping {
            	label:      A
            	hostname:   a.root-servers.net
            	sendnotify: no
            }
            Service Ping {
            	label:      B
            	hostname:   b.root-servers.net
            	sendnotify: no
            }
            Service Ping {
            	label:      C
            	hostname:   c.root-servers.net
            	sendnotify: no
            }
        }
    }
}