
##################################################################
#### This file is only an example. It WILL NOT actually work.
#### You will need to use this as an example, and create your own.
##################################################################

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

# send messages to syslog
syslog:		daemon

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

Group "Foo" {
	Group "Colo" {
		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
				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
			}
		}

	}

	Group "Software" {
		# notify if there is a new version of the software available
		Service TCP/URL {
			url:		http://www.tcp4me.com/code/argus/download.html
			browser:	Argus Version Check - 3.2.0
			expect:		argus-3\.2\.0\.tgz
			label:		Argus Version
			messagedn:	New Version of Argus Available
			# if you use this example, the author appreciates you
			# leaving the frequency at once per day, so as not to
			# overburden his web server
			frequency:	86400
			retries:	5
			retrydelay:	600
		}
	}

	Alias "Bar" "Top:Foo:Colo"

        Group "World Reachability" {
                countstop:	yes
                frequency:      600
		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
			}
                }
        }
}

